625475f3e3
rsa_default_encrypt allowed an RSA modulus 8 times larger than the intended maximum size due to bits vs. bytes confusion. Further, as |rsa_default_encrypt| got this wrong while |rsa_default_verify_raw| got it right, factor out the duplicated logic so that such inconsistencies are less likely to occur. BUG=576856 Change-Id: Ic842fadcbb3b140d2ba4295793457af2b62d9444 Reviewed-on: https://boringssl-review.googlesource.com/6900 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
blinding.c | ||
CMakeLists.txt | ||
internal.h | ||
padding.c | ||
rsa_asn1.c | ||
rsa_impl.c | ||
rsa_test.cc | ||
rsa.c |