You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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.