IronCoreLabs / recrypt-rs

A set of cryptographic primitives for building a multi-hop Proxy Re-encryption scheme, known as Transform Encryption.
https://crates.io/crates/recrypt
GNU Affero General Public License v3.0
144 stars 23 forks source link

Add constant time EQ for structs #101

Closed BobWall23 closed 4 years ago

BobWall23 commented 4 years ago

For data types that contain private info (PrivateKey, Plaintext, DerivedSymmetricKey, and SigningKeypair), implement a constant time PartialEq, and remove the Revealed wrapper we were using around these types when comparison was needed.