hyperledger-archives / ursa

Hyperledger Ursa (a shared cryptographic library) has moved to end-of-life status, with the components of Ursa still in use moved to their relevant Hyperledger projects (AnonCreds, Indy, Aries and Iroha).
https://wiki.hyperledger.org/display/ursa
Apache License 2.0
321 stars 142 forks source link

Upgrade aes/aes-gcm/block-modes/chacha20poly1305 crates #162

Closed tarcieri closed 3 years ago

tarcieri commented 3 years ago

Updates the following crates:

Signed-off-by: Tony Arcieri bascule@gmail.com

tarcieri commented 3 years ago

Note: the hkdf, hmac, sha2, and sha3 crate dependencies are all out-of-date as well, however you'll be unable to update those until the libsecp256k1 crate releases a new version.

You might consider the k256 crate as an alternative pure Rust implementation of secp256k1. It uses more modern (projective) formulas and provides better performance: https://crates.io/crates/k256

mikelodder7 commented 3 years ago

Thanks so much, @tarcieri. I'll make the change to k256 since it closely matches p256 and would allow ECDSA with either curve.

dcmiddle commented 3 years ago

Note: the hkdf, hmac, sha2, and sha3 crate dependencies are all out-of-date as well, however you'll be unable to update those until the libsecp256k1 crate releases a new version.

You might consider the k256 crate as an alternative pure Rust implementation of secp256k1. It uses more modern (projective) formulas and provides better performance: https://crates.io/crates/k256

Cool. I created #163 to discuss.