Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-05-28 23:53:31 +0300
committerAdam Langley <agl@google.com>2015-06-16 22:09:45 +0300
commitb0acb7743f6c1e4b8307b5898598be4f13095f49 (patch)
tree7d0010e2815b749adeec0187cbbae4eac0fc1d6f /crypto/err
parentd87021d2467fca449d98f1251ddc3c87b9b97f30 (diff)
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>
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/rsa.errordata2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/err/rsa.errordata b/crypto/err/rsa.errordata
index 091d2cdc..94b4bcbb 100644
--- a/crypto/err/rsa.errordata
+++ b/crypto/err/rsa.errordata
@@ -3,6 +3,7 @@ RSA,function,101,BN_BLINDING_create_param
RSA,function,102,BN_BLINDING_invert_ex
RSA,function,103,BN_BLINDING_new
RSA,function,104,BN_BLINDING_update
+RSA,function,123,RSA_add_pkcs1_prefix
RSA,function,105,RSA_check_key
RSA,function,106,RSA_new_method
RSA,function,107,RSA_padding_add_PKCS1_OAEP_mgf1
@@ -22,7 +23,6 @@ RSA,function,120,decrypt
RSA,function,121,encrypt
RSA,function,122,keygen
RSA,function,128,keygen_multiprime
-RSA,function,123,pkcs1_prefixed_msg
RSA,function,124,private_transform
RSA,function,125,rsa_setup_blinding
RSA,function,126,sign_raw