boringssl/crypto/rsa_extra
David Benjamin 8d9ee7d1fe Replace rsa_greater_than_pow2 with BN_cmp.
It costs us a malloc, but it's one less function to test and implement
in constant time, now that BN_cmp and BIGNUM are okay.

Median of 29 RSA keygens: 0m0.207s -> 0m0.210s
(Accuracy beyond 0.1s is questionable.)

Bug: 238
Change-Id: Ic56f92f0dcf04da1f542290a7e8cdab8036699ed
Reviewed-on: https://boringssl-review.googlesource.com/26367
Reviewed-by: Adam Langley <alangley@gmail.com>
2018-03-30 19:53:18 +00:00
..
CMakeLists.txt
rsa_asn1.c Remove the buggy RSA parser. 2017-10-24 17:39:46 +00:00
rsa_test.cc Replace rsa_greater_than_pow2 with BN_cmp. 2018-03-30 19:53:18 +00:00