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
When this is done, we can move GFp_BN_rand_range_ex to the crypto/test/ source file with the same license as crypto/bn/random.c and then make GFp_rand_mod be #[cfg(test)]. I think we can also delete crypto/rsa/internal.h when this is done.
The C code contains an optimization documented as:
/* |GFp_BN_from_mont| + |GFp_BN_mod_inverse_blinded| is equivalent to, * but more efficient than, |GFp_BN_mod_inverse_blinded| + |GFp_BN_to_mont|. */
I suggest ignoring that optimization. It would hardly matter and it's likely that we'll implement a different, faster optimization later anyway, once I've done some math.
Activity
briansmith commentedon Dec 12, 2016
#372.
briansmith commentedon Jan 2, 2017
#372 landed.