Skip to content

v0.7.1

Latest
Compare
Choose a tag to compare
@jellevos jellevos released this 14 Sep 13:57
· 5 commits to master since this release
be18761
  • Fixes bug in docs of scicrypt-bigint that caused it to crash on docs.rs
  • Equality checking is now done in constant-time and is correct regardless if the number of limbs differs between the operands
  • Comparisons are now correct but run in variable-time. A convenient way of comparing a and b is a.leak() < b.leak(). In other words, leaky overloaded operators are supported after calling leak() on an UnsignedInteger. Otherwise, all overloaded operators run in constant-time.
  • Implemented Hash for UnsignedIntegers
  • Implemented div_rem (constant-time) for UnsignedIntegers. The div operation simply calls this function and 'forgets' the remainder.
  • Implemented reduce_leaky, which cuts away all leading zero-limbs from an UnsignedInteger. This fixes a bug when exporting to rug's integers.
  • Implemented Send for UnsignedInteger