34248d4cb7
Running make_errors.go every time a function is renamed is incredibly tedious. Plus we keep getting them wrong. Instead, sample __func__ (__FUNCTION__ in MSVC) in the OPENSSL_PUT_ERROR macro and store it alongside file and line number. This doesn't change the format of ERR_print_errors, however ERR_error_string_n now uses the placeholder "OPENSSL_internal" rather than an actual function name since that only takes the uint32_t packed error code as input. This updates err scripts to not emit the function string table. The OPENSSL_PUT_ERROR invocations, for now, still include the extra parameter. That will be removed in a follow-up. BUG=468039 Change-Id: Iaa2ef56991fb58892fa8a1283b3b8b995fbb308d Reviewed-on: https://boringssl-review.googlesource.com/5275 Reviewed-by: Adam Langley <agl@google.com>
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
RSA,143,BAD_ENCODING
|
|
RSA,100,BAD_E_VALUE
|
|
RSA,101,BAD_FIXED_HEADER_DECRYPT
|
|
RSA,102,BAD_PAD_BYTE_COUNT
|
|
RSA,103,BAD_RSA_PARAMETERS
|
|
RSA,104,BAD_SIGNATURE
|
|
RSA,145,BAD_VERSION
|
|
RSA,105,BLOCK_TYPE_IS_NOT_01
|
|
RSA,106,BN_NOT_INITIALIZED
|
|
RSA,142,CANNOT_RECOVER_MULTI_PRIME_KEY
|
|
RSA,107,CRT_PARAMS_ALREADY_GIVEN
|
|
RSA,108,CRT_VALUES_INCORRECT
|
|
RSA,109,DATA_LEN_NOT_EQUAL_TO_MOD_LEN
|
|
RSA,110,DATA_TOO_LARGE
|
|
RSA,111,DATA_TOO_LARGE_FOR_KEY_SIZE
|
|
RSA,112,DATA_TOO_LARGE_FOR_MODULUS
|
|
RSA,113,DATA_TOO_SMALL
|
|
RSA,114,DATA_TOO_SMALL_FOR_KEY_SIZE
|
|
RSA,115,DIGEST_TOO_BIG_FOR_RSA_KEY
|
|
RSA,116,D_E_NOT_CONGRUENT_TO_1
|
|
RSA,117,EMPTY_PUBLIC_KEY
|
|
RSA,144,ENCODE_ERROR
|
|
RSA,118,FIRST_OCTET_INVALID
|
|
RSA,119,INCONSISTENT_SET_OF_CRT_VALUES
|
|
RSA,120,INTERNAL_ERROR
|
|
RSA,121,INVALID_MESSAGE_LENGTH
|
|
RSA,122,KEY_SIZE_TOO_SMALL
|
|
RSA,123,LAST_OCTET_INVALID
|
|
RSA,124,MODULUS_TOO_LARGE
|
|
RSA,141,MUST_HAVE_AT_LEAST_TWO_PRIMES
|
|
RSA,125,NO_PUBLIC_EXPONENT
|
|
RSA,126,NULL_BEFORE_BLOCK_MISSING
|
|
RSA,127,N_NOT_EQUAL_P_Q
|
|
RSA,128,OAEP_DECODING_ERROR
|
|
RSA,129,ONLY_ONE_OF_P_Q_GIVEN
|
|
RSA,130,OUTPUT_BUFFER_TOO_SMALL
|
|
RSA,131,PADDING_CHECK_FAILED
|
|
RSA,132,PKCS_DECODING_ERROR
|
|
RSA,133,SLEN_CHECK_FAILED
|
|
RSA,134,SLEN_RECOVERY_FAILED
|
|
RSA,135,TOO_LONG
|
|
RSA,136,TOO_MANY_ITERATIONS
|
|
RSA,137,UNKNOWN_ALGORITHM_TYPE
|
|
RSA,138,UNKNOWN_PADDING_TYPE
|
|
RSA,139,VALUE_MISSING
|
|
RSA,140,WRONG_SIGNATURE_LENGTH
|