boringssl/crypto/rsa
David Benjamin b0acb7743f Export pkcs1_prefixed_msg as RSA_add_pkcs1_prefix.
Platform crypto APIs for PKCS#1 RSA signatures vary between expecting the
caller to prepend the DigestInfo prefix (RSA_sign_raw) and prepending it
internally (RSA_sign). Currently, Chromium implements sign or sign_raw as
appropriate. To avoid needing both variants, the new asynchronous methods will
only expose the higher-level one, sign.

To satisfy ports which previously implemented sign_raw, expose the DigestInfo
prefix as a utility function.

BUG=347404

Change-Id: I04c397b5e9502b2942f6698ecf81662a3c9282e6
Reviewed-on: https://boringssl-review.googlesource.com/4940
Reviewed-by: Adam Langley <agl@google.com>
2015-06-16 19:09:45 +00:00
..
blinding.c Remove unnecessary NULL checks, part 4. 2015-05-04 23:13:12 +00:00
CMakeLists.txt Convert rsa_test to C++. 2015-06-08 22:11:20 +00:00
internal.h Multi-prime RSA support. 2015-06-05 18:39:44 +00:00
padding.c Remove unnecessary NULL checks, part 4. 2015-05-04 23:13:12 +00:00
rsa_asn1.c Multi-prime RSA support. 2015-06-05 18:39:44 +00:00
rsa_impl.c Check for BN_copy failures. 2015-06-15 17:52:40 +00:00
rsa_test.cc Convert rsa_test to C++. 2015-06-08 22:11:20 +00:00
rsa.c Export pkcs1_prefixed_msg as RSA_add_pkcs1_prefix. 2015-06-16 19:09:45 +00:00