boringssl/crypto/err/rsa.errordata
Adam Langley 29b186736c Precompute sorted array for error strings.
Previously, error strings were kept in arrays for each subdirectory and
err.c would iterate over them all and insert them at init time to a hash
table.

This means that, even if you have a shared library and lots of processes
using that, each process has ~30KB of private memory from building that
hash table.

This this change, all the error strings are built into a sorted list and
are thus static data. This means that processes can share the error
information and it actually saves binary space because of all the
pointer overhead in the old scheme. Also it saves the time taken
building the hash table at startup.

This removes support for externally-supplied error string data.

Change-Id: Ifca04f335c673a048e1a3e76ff2b69c7264635be
2015-02-09 17:35:31 -08:00

75 lines
2.7 KiB
Plaintext

RSA,function,117,BN_BLINDING_convert_ex
RSA,function,124,BN_BLINDING_create_param
RSA,function,118,BN_BLINDING_invert_ex
RSA,function,115,BN_BLINDING_new
RSA,function,112,BN_BLINDING_update
RSA,function,128,RSA_check_key
RSA,function,121,RSA_new_method
RSA,function,110,RSA_padding_add_PKCS1_OAEP_mgf1
RSA,function,104,RSA_padding_add_PKCS1_PSS_mgf1
RSA,function,108,RSA_padding_add_PKCS1_type_1
RSA,function,116,RSA_padding_add_PKCS1_type_2
RSA,function,114,RSA_padding_add_SSLv23
RSA,function,101,RSA_padding_add_none
RSA,function,102,RSA_padding_check_PKCS1_OAEP_mgf1
RSA,function,122,RSA_padding_check_PKCS1_type_1
RSA,function,126,RSA_padding_check_PKCS1_type_2
RSA,function,113,RSA_padding_check_SSLv23
RSA,function,100,RSA_padding_check_none
RSA,function,127,RSA_recover_crt_params
RSA,function,123,RSA_sign
RSA,function,105,RSA_verify
RSA,function,103,RSA_verify_PKCS1_PSS_mgf1
RSA,function,125,decrypt
RSA,function,119,encrypt
RSA,function,109,keygen
RSA,function,111,pkcs1_prefixed_msg
RSA,function,129,private_transform
RSA,function,106,rsa_setup_blinding
RSA,function,120,sign_raw
RSA,function,107,verify_raw
RSA,reason,116,BAD_E_VALUE
RSA,reason,122,BAD_FIXED_HEADER_DECRYPT
RSA,reason,119,BAD_PAD_BYTE_COUNT
RSA,reason,135,BAD_RSA_PARAMETERS
RSA,reason,132,BAD_SIGNATURE
RSA,reason,104,BLOCK_TYPE_IS_NOT_01
RSA,reason,127,BLOCK_TYPE_IS_NOT_02
RSA,reason,133,BN_NOT_INITIALIZED
RSA,reason,137,CRT_PARAMS_ALREADY_GIVEN
RSA,reason,141,CRT_VALUES_INCORRECT
RSA,reason,144,DATA_LEN_NOT_EQUAL_TO_MOD_LEN
RSA,reason,112,DATA_TOO_LARGE
RSA,reason,103,DATA_TOO_LARGE_FOR_KEY_SIZE
RSA,reason,117,DATA_TOO_LARGE_FOR_MODULUS
RSA,reason,123,DATA_TOO_SMALL
RSA,reason,105,DATA_TOO_SMALL_FOR_KEY_SIZE
RSA,reason,129,DIGEST_TOO_BIG_FOR_RSA_KEY
RSA,reason,138,D_E_NOT_CONGRUENT_TO_1
RSA,reason,118,EMPTY_PUBLIC_KEY
RSA,reason,115,FIRST_OCTET_INVALID
RSA,reason,142,INCONSISTENT_SET_OF_CRT_VALUES
RSA,reason,136,INTERNAL_ERROR
RSA,reason,100,INVALID_MESSAGE_LENGTH
RSA,reason,131,KEY_SIZE_TOO_SMALL
RSA,reason,128,LAST_OCTET_INVALID
RSA,reason,110,MODULUS_TOO_LARGE
RSA,reason,102,NO_PUBLIC_EXPONENT
RSA,reason,111,NULL_BEFORE_BLOCK_MISSING
RSA,reason,140,N_NOT_EQUAL_P_Q
RSA,reason,120,OAEP_DECODING_ERROR
RSA,reason,143,ONLY_ONE_OF_P_Q_GIVEN
RSA,reason,113,OUTPUT_BUFFER_TOO_SMALL
RSA,reason,125,PADDING_CHECK_FAILED
RSA,reason,134,PKCS_DECODING_ERROR
RSA,reason,114,SLEN_CHECK_FAILED
RSA,reason,108,SLEN_RECOVERY_FAILED
RSA,reason,130,SSLV3_ROLLBACK_ATTACK
RSA,reason,126,THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD
RSA,reason,121,TOO_LONG
RSA,reason,107,TOO_MANY_ITERATIONS
RSA,reason,124,UNKNOWN_ALGORITHM_TYPE
RSA,reason,106,UNKNOWN_PADDING_TYPE
RSA,reason,139,VALUE_MISSING
RSA,reason,109,WRONG_SIGNATURE_LENGTH