Skip to content

Releases: orion-rs/orion

0.5.0

13 Aug 18:28
6692dd5
Compare
Choose a tag to compare

Changelog:

  • Support for SHA256, SHA384, SHA512/256 and cSHAKE128 dropped.
  • Support for #![no_std] added.
  • HMAC streaming API.
  • HMAC now uses SHA512.
  • Switched out clear_on_drop with seckey.
  • Switched out constant_time_eq with subtle.
  • cSHAKE streaming API.
  • default::pbkdf2 no longer appends salt to password before hashing due to some problems integrating this using #![no_std]. This might be re-introduced later on.
  • orion::core renamed to orion::utilities.
  • cSHAKE verification function removed from hazardous.

Performance improvements compared to v0.4.3:

  • HMAC: ~10% performance improvement
  • HKDF: ~5% performance improvement
  • PBKDF2: ~15% performance improvement
  • cSHAKE: ~11% performance improvement

This was benchmarked on a MacBook Air 1,6 GHz Intel Core i5, 4GB.

0.4.3

08 Aug 21:19
b642875
Compare
Choose a tag to compare

Changelog:

  • Updated dependency
  • Adopted faster HMAC key padding steps from rigel crate, avoiding allocation as before but without the Cow borrow
  • Memory and performance improvement to the PBKDF2 implementation by avoiding many useless allocations