Home
last modified time | relevance | path

Searched refs:RSAerr (Results 1 – 21 of 21) sorted by relevance

/third_party/openssl/crypto/rsa/
Drsa_chk.c28 RSAerr(RSA_F_RSA_CHECK_KEY_EX, RSA_R_VALUE_MISSING); in RSA_check_key_ex()
37 RSAerr(RSA_F_RSA_CHECK_KEY_EX, RSA_R_INVALID_MULTI_PRIME_KEY); in RSA_check_key_ex()
51 RSAerr(RSA_F_RSA_CHECK_KEY_EX, ERR_R_MALLOC_FAILURE); in RSA_check_key_ex()
57 RSAerr(RSA_F_RSA_CHECK_KEY_EX, RSA_R_BAD_E_VALUE); in RSA_check_key_ex()
61 RSAerr(RSA_F_RSA_CHECK_KEY_EX, RSA_R_BAD_E_VALUE); in RSA_check_key_ex()
67 RSAerr(RSA_F_RSA_CHECK_KEY_EX, RSA_R_P_NOT_PRIME); in RSA_check_key_ex()
73 RSAerr(RSA_F_RSA_CHECK_KEY_EX, RSA_R_Q_NOT_PRIME); in RSA_check_key_ex()
81 RSAerr(RSA_F_RSA_CHECK_KEY_EX, RSA_R_MP_R_NOT_PRIME); in RSA_check_key_ex()
100 RSAerr(RSA_F_RSA_CHECK_KEY_EX, in RSA_check_key_ex()
103 RSAerr(RSA_F_RSA_CHECK_KEY_EX, RSA_R_N_DOES_NOT_EQUAL_P_Q); in RSA_check_key_ex()
[all …]
Drsa_sign.c44 RSAerr(RSA_F_ENCODE_PKCS1, RSA_R_UNKNOWN_ALGORITHM_TYPE); in encode_pkcs1()
48 RSAerr(RSA_F_ENCODE_PKCS1, in encode_pkcs1()
88 RSAerr(RSA_F_RSA_SIGN, RSA_R_INVALID_MESSAGE_LENGTH); in RSA_sign()
100 RSAerr(RSA_F_RSA_SIGN, RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY); in RSA_sign()
132 RSAerr(RSA_F_INT_RSA_VERIFY, RSA_R_WRONG_SIGNATURE_LENGTH); in int_rsa_verify()
139 RSAerr(RSA_F_INT_RSA_VERIFY, ERR_R_MALLOC_FAILURE); in int_rsa_verify()
155 RSAerr(RSA_F_INT_RSA_VERIFY, RSA_R_BAD_SIGNATURE); in int_rsa_verify()
164 RSAerr(RSA_F_INT_RSA_VERIFY, RSA_R_INVALID_MESSAGE_LENGTH); in int_rsa_verify()
169 RSAerr(RSA_F_INT_RSA_VERIFY, RSA_R_BAD_SIGNATURE); in int_rsa_verify()
184 RSAerr(RSA_F_INT_RSA_VERIFY, RSA_R_INVALID_MESSAGE_LENGTH); in int_rsa_verify()
[all …]
Drsa_pk1.c25 RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1, in RSA_padding_add_PKCS1_type_1()
66 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1, in RSA_padding_check_PKCS1_type_1()
74 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1, in RSA_padding_check_PKCS1_type_1()
87 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1, in RSA_padding_check_PKCS1_type_1()
96 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1, in RSA_padding_check_PKCS1_type_1()
102 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1, in RSA_padding_check_PKCS1_type_1()
109 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1, RSA_R_DATA_TOO_LARGE); in RSA_padding_check_PKCS1_type_1()
124 RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_2, in RSA_padding_add_PKCS1_type_2()
173 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_2, in RSA_padding_check_PKCS1_type_2()
180 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_2, ERR_R_MALLOC_FAILURE); in RSA_padding_check_PKCS1_type_2()
[all …]
Drsa_pss.c63 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_SLEN_CHECK_FAILED); in RSA_verify_PKCS1_PSS_mgf1()
70 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_FIRST_OCTET_INVALID); in RSA_verify_PKCS1_PSS_mgf1()
78 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_DATA_TOO_LARGE); in RSA_verify_PKCS1_PSS_mgf1()
84 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_DATA_TOO_LARGE); in RSA_verify_PKCS1_PSS_mgf1()
88 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_LAST_OCTET_INVALID); in RSA_verify_PKCS1_PSS_mgf1()
95 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, ERR_R_MALLOC_FAILURE); in RSA_verify_PKCS1_PSS_mgf1()
106 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_SLEN_RECOVERY_FAILED); in RSA_verify_PKCS1_PSS_mgf1()
110 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_SLEN_CHECK_FAILED); in RSA_verify_PKCS1_PSS_mgf1()
124 RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_BAD_SIGNATURE); in RSA_verify_PKCS1_PSS_mgf1()
174 RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_PSS_MGF1, RSA_R_SLEN_CHECK_FAILED); in RSA_padding_add_PKCS1_PSS_mgf1()
[all …]
Drsa_pmeth.c107 RSAerr(RSA_F_SETUP_TBUF, ERR_R_MALLOC_FAILURE); in setup_tbuf()
134 RSAerr(RSA_F_PKEY_RSA_SIGN, RSA_R_INVALID_DIGEST_LENGTH); in pkey_rsa_sign()
150 RSAerr(RSA_F_PKEY_RSA_SIGN, RSA_R_KEY_SIZE_TOO_SMALL); in pkey_rsa_sign()
154 RSAerr(RSA_F_PKEY_RSA_SIGN, ERR_R_MALLOC_FAILURE); in pkey_rsa_sign()
209 RSAerr(RSA_F_PKEY_RSA_VERIFYRECOVER, in pkey_rsa_verifyrecover()
214 RSAerr(RSA_F_PKEY_RSA_VERIFYRECOVER, in pkey_rsa_verifyrecover()
254 RSAerr(RSA_F_PKEY_RSA_VERIFY, RSA_R_INVALID_DIGEST_LENGTH); in pkey_rsa_verify()
360 RSAerr(RSA_F_CHECK_PADDING_MD, RSA_R_INVALID_PADDING_MODE); in check_padding_md()
366 RSAerr(RSA_F_CHECK_PADDING_MD, RSA_R_INVALID_X931_DIGEST); in check_padding_md()
390 RSAerr(RSA_F_CHECK_PADDING_MD, RSA_R_INVALID_DIGEST); in check_padding_md()
[all …]
Drsa_ossl.c77 RSAerr(RSA_F_RSA_OSSL_PUBLIC_ENCRYPT, RSA_R_MODULUS_TOO_LARGE); in rsa_ossl_public_encrypt()
82 RSAerr(RSA_F_RSA_OSSL_PUBLIC_ENCRYPT, RSA_R_BAD_E_VALUE); in rsa_ossl_public_encrypt()
89 RSAerr(RSA_F_RSA_OSSL_PUBLIC_ENCRYPT, RSA_R_BAD_E_VALUE); in rsa_ossl_public_encrypt()
102 RSAerr(RSA_F_RSA_OSSL_PUBLIC_ENCRYPT, ERR_R_MALLOC_FAILURE); in rsa_ossl_public_encrypt()
120 RSAerr(RSA_F_RSA_OSSL_PUBLIC_ENCRYPT, RSA_R_UNKNOWN_PADDING_TYPE); in rsa_ossl_public_encrypt()
131 RSAerr(RSA_F_RSA_OSSL_PUBLIC_ENCRYPT, in rsa_ossl_public_encrypt()
257 RSAerr(RSA_F_RSA_OSSL_PRIVATE_ENCRYPT, ERR_R_MALLOC_FAILURE); in rsa_ossl_private_encrypt()
273 RSAerr(RSA_F_RSA_OSSL_PRIVATE_ENCRYPT, RSA_R_UNKNOWN_PADDING_TYPE); in rsa_ossl_private_encrypt()
284 RSAerr(RSA_F_RSA_OSSL_PRIVATE_ENCRYPT, in rsa_ossl_private_encrypt()
297 RSAerr(RSA_F_RSA_OSSL_PRIVATE_ENCRYPT, ERR_R_INTERNAL_ERROR); in rsa_ossl_private_encrypt()
[all …]
Drsa_x931.c30 RSAerr(RSA_F_RSA_PADDING_ADD_X931, RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE); in RSA_padding_add_X931()
61 RSAerr(RSA_F_RSA_PADDING_CHECK_X931, RSA_R_INVALID_HEADER); in RSA_padding_check_X931()
72 RSAerr(RSA_F_RSA_PADDING_CHECK_X931, RSA_R_INVALID_PADDING); in RSA_padding_check_X931()
80 RSAerr(RSA_F_RSA_PADDING_CHECK_X931, RSA_R_INVALID_PADDING); in RSA_padding_check_X931()
89 RSAerr(RSA_F_RSA_PADDING_CHECK_X931, RSA_R_INVALID_TRAILER); in RSA_padding_check_X931()
Drsa_saos.c33 RSAerr(RSA_F_RSA_SIGN_ASN1_OCTET_STRING, in RSA_sign_ASN1_OCTET_STRING()
39 RSAerr(RSA_F_RSA_SIGN_ASN1_OCTET_STRING, ERR_R_MALLOC_FAILURE); in RSA_sign_ASN1_OCTET_STRING()
65 RSAerr(RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, in RSA_verify_ASN1_OCTET_STRING()
72 RSAerr(RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, ERR_R_MALLOC_FAILURE); in RSA_verify_ASN1_OCTET_STRING()
87 RSAerr(RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, RSA_R_BAD_SIGNATURE); in RSA_verify_ASN1_OCTET_STRING()
Drsa_none.c18 RSAerr(RSA_F_RSA_PADDING_ADD_NONE, RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE); in RSA_padding_add_none()
23 RSAerr(RSA_F_RSA_PADDING_ADD_NONE, RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE); in RSA_padding_add_none()
36 RSAerr(RSA_F_RSA_PADDING_CHECK_NONE, RSA_R_DATA_TOO_LARGE); in RSA_padding_check_none()
Drsa_ameth.c66 RSAerr(RSA_F_RSA_PARAM_DECODE, RSA_R_INVALID_PSS_PARAMETERS); in rsa_param_decode()
105 RSAerr(RSA_F_RSA_PUB_DECODE, ERR_R_RSA_LIB); in rsa_pub_decode()
142 RSAerr(RSA_F_OLD_RSA_PRIV_DECODE, ERR_R_RSA_LIB); in old_rsa_priv_decode()
166 RSAerr(RSA_F_RSA_PRIV_ENCODE, ERR_R_MALLOC_FAILURE); in rsa_priv_encode()
173 RSAerr(RSA_F_RSA_PRIV_ENCODE, ERR_R_MALLOC_FAILURE); in rsa_priv_encode()
192 RSAerr(RSA_F_RSA_PRIV_DECODE, ERR_R_RSA_LIB); in rsa_priv_decode()
515 RSAerr(0, ERR_R_INTERNAL_ERROR); in rsa_pkey_ctrl()
585 RSAerr(RSA_F_RSA_ALGOR_TO_MD, RSA_R_UNKNOWN_DIGEST); in rsa_algor_to_md()
676 RSAerr(RSA_F_RSA_PSS_TO_CTX, RSA_R_UNSUPPORTED_SIGNATURE_TYPE); in rsa_pss_to_ctx()
683 RSAerr(RSA_F_RSA_PSS_TO_CTX, RSA_R_INVALID_PSS_PARAMETERS); in rsa_pss_to_ctx()
[all …]
Drsa_oaep.c61 RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_OAEP_MGF1, in RSA_padding_add_PKCS1_OAEP_mgf1()
67 RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_OAEP_MGF1, in RSA_padding_add_PKCS1_OAEP_mgf1()
87 RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_OAEP_MGF1, ERR_R_MALLOC_FAILURE); in RSA_padding_add_PKCS1_OAEP_mgf1()
151 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP_MGF1, in RSA_padding_check_PKCS1_OAEP_mgf1()
159 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP_MGF1, ERR_R_MALLOC_FAILURE); in RSA_padding_check_PKCS1_OAEP_mgf1()
165 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP_MGF1, in RSA_padding_check_PKCS1_OAEP_mgf1()
262 RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP_MGF1, in RSA_padding_check_PKCS1_OAEP_mgf1()
Drsa_ssl.c24 RSAerr(RSA_F_RSA_PADDING_ADD_SSLV23, in RSA_padding_add_SSLv23()
74 RSAerr(RSA_F_RSA_PADDING_CHECK_SSLV23, RSA_R_DATA_TOO_SMALL); in RSA_padding_check_SSLv23()
80 RSAerr(RSA_F_RSA_PADDING_CHECK_SSLV23, ERR_R_MALLOC_FAILURE); in RSA_padding_check_SSLv23()
172 RSAerr(RSA_F_RSA_PADDING_CHECK_SSLV23, err); in RSA_padding_check_SSLv23()
Drsa_crpt.c126 RSAerr(RSA_F_RSA_SETUP_BLINDING, ERR_R_MALLOC_FAILURE); in RSA_setup_blinding()
133 RSAerr(RSA_F_RSA_SETUP_BLINDING, RSA_R_NO_PUBLIC_EXPONENT); in RSA_setup_blinding()
144 RSAerr(RSA_F_RSA_SETUP_BLINDING, ERR_R_MALLOC_FAILURE); in RSA_setup_blinding()
155 RSAerr(RSA_F_RSA_SETUP_BLINDING, ERR_R_BN_LIB); in RSA_setup_blinding()
Drsa_lib.c55 RSAerr(RSA_F_RSA_NEW_METHOD, ERR_R_MALLOC_FAILURE); in RSA_new_method()
62 RSAerr(RSA_F_RSA_NEW_METHOD, ERR_R_MALLOC_FAILURE); in RSA_new_method()
72 RSAerr(RSA_F_RSA_NEW_METHOD, ERR_R_ENGINE_LIB); in RSA_new_method()
82 RSAerr(RSA_F_RSA_NEW_METHOD, ERR_R_ENGINE_LIB); in RSA_new_method()
94 RSAerr(RSA_F_RSA_NEW_METHOD, ERR_R_INIT_FAIL); in RSA_new_method()
Drsa_meth.c28 RSAerr(RSA_F_RSA_METH_NEW, ERR_R_MALLOC_FAILURE); in RSA_meth_new()
54 RSAerr(RSA_F_RSA_METH_DUP, ERR_R_MALLOC_FAILURE); in RSA_meth_dup()
68 RSAerr(RSA_F_RSA_METH_SET1_NAME, ERR_R_MALLOC_FAILURE); in RSA_meth_set1_name()
Drsa_gen.c78 RSAerr(RSA_F_RSA_BUILTIN_KEYGEN, RSA_R_KEY_SIZE_TOO_SMALL); in rsa_builtin_keygen()
84 RSAerr(RSA_F_RSA_BUILTIN_KEYGEN, RSA_R_KEY_PRIME_NUM_INVALID); in rsa_builtin_keygen()
387 RSAerr(RSA_F_RSA_BUILTIN_KEYGEN, ERR_LIB_BN); in rsa_builtin_keygen()
Drsa_prn.c22 RSAerr(RSA_F_RSA_PRINT_FP, ERR_R_BUF_LIB); in RSA_print_fp()
Drsa_mp.c37 RSAerr(RSA_F_RSA_MULTIP_INFO_NEW, ERR_R_MALLOC_FAILURE); in rsa_multip_info_new()
/third_party/openssl/include/openssl/
Derr.h103 # define RSAerr(f,r) ERR_PUT_error(ERR_LIB_RSA,(f),(r),OPENSSL_FILE,OPENSSL_LINE) macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_openssl.c410 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, in cryptoapi_rsa_priv_enc()
416 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, in cryptoapi_rsa_priv_enc()
424 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, in cryptoapi_rsa_priv_enc()
445 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, in cryptoapi_rsa_priv_enc()
457 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, ERR_R_MALLOC_FAILURE); in cryptoapi_rsa_priv_enc()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_openssl.c414 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, in cryptoapi_rsa_priv_enc()
420 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, in cryptoapi_rsa_priv_enc()
428 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, in cryptoapi_rsa_priv_enc()
449 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, in cryptoapi_rsa_priv_enc()
461 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, ERR_R_MALLOC_FAILURE); in cryptoapi_rsa_priv_enc()