d24cb22c55
This is a bit easier to read than BN_less_than_consttime when we must do >= or <=, about as much work to compute, and lots of code calls BN_cmp on secret data. This also, by extension, makes BN_cmp_word constant-time. BN_equal_consttime is probably a little more efficient and is perfectly readable, so leave that one around. Change-Id: Id2e07fe312f01cb6fd10a1306dcbf6397990cf13 Reviewed-on: https://boringssl-review.googlesource.com/25444 Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
blinding.c | ||
internal.h | ||
padding.c | ||
rsa_impl.c | ||
rsa.c |