Home
last modified time | relevance | path

Searched refs:OPENSSL_PUT_ERROR (Results 1 – 25 of 177) sorted by relevance

12345678

/external/boringssl/src/ssl/
Dssl_asn1.c218 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
229 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
239 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
246 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
256 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
266 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
274 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
283 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
292 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
302 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
[all …]
Dssl_file.c143 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in STACK_OF()
158 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in STACK_OF()
208 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_add_file_cert_subjects_to_stack()
258 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_certificate_file()
263 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB); in SSL_use_certificate_file()
275 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SSL_FILETYPE); in SSL_use_certificate_file()
280 OPENSSL_PUT_ERROR(SSL, reason_code); in SSL_use_certificate_file()
300 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_RSAPrivateKey_file()
305 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB); in SSL_use_RSAPrivateKey_file()
318 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SSL_FILETYPE); in SSL_use_RSAPrivateKey_file()
[all …]
Dssl_cert.c138 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_cert_new()
155 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_cert_dup()
174 OPENSSL_PUT_ERROR(SSL, ERR_R_DH_LIB); in ssl_cert_dup()
271 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in check_leaf_cert_and_privkey()
276 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey()
284 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey()
308 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in cert_set_chain_and_key()
313 OPENSSL_PUT_ERROR(SSL, SSL_R_CANNOT_HAVE_BOTH_PRIVKEY_AND_METHOD); in cert_set_chain_and_key()
321 OPENSSL_PUT_ERROR(SSL, SSL_R_CERTIFICATE_AND_PRIVATE_KEY_MISMATCH); in cert_set_chain_and_key()
445 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in STACK_OF()
[all …]
Dtls_record.c155 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in ssl_record_sequence_update()
235 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_VERSION_NUMBER); in tls_open_record()
242 OPENSSL_PUT_ERROR(SSL, SSL_R_ENCRYPTED_LENGTH_TOO_LONG); in tls_open_record()
277 OPENSSL_PUT_ERROR(SSL, SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC); in tls_open_record()
294 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_OUTER_RECORD_TYPE); in tls_open_record()
301 OPENSSL_PUT_ERROR(SSL, SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC); in tls_open_record()
310 OPENSSL_PUT_ERROR(SSL, SSL_R_DATA_LENGTH_TOO_LONG); in tls_open_record()
319 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MANY_EMPTY_FRAGMENTS); in tls_open_record()
353 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MUCH_SKIPPED_EARLY_DATA); in tls_open_record()
371 OPENSSL_PUT_ERROR(SSL, SSL_R_BUFFER_TOO_SMALL); in do_seal_record()
[all …]
Dtls13_both.c42 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_HANDSHAKE_FAILURE); in tls13_handshake()
167 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input()
179 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls13_process_certificate()
191 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_process_certificate()
197 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls13_process_certificate()
207 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_LENGTH_MISMATCH); in tls13_process_certificate()
215 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls13_process_certificate()
238 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_process_certificate()
262 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_EXTENSION); in tls13_process_certificate()
288 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_EXTENSION); in tls13_process_certificate()
[all …]
Dhandshake_client.c517 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_STATE); in ssl3_connect()
648 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_CIPHERS_AVAILABLE); in ssl_write_client_cipher_list()
739 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl3_send_client_hello()
814 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in dtls1_get_hello_verify()
852 OPENSSL_PUT_ERROR(SSL, SSL_R_HANDSHAKE_FAILURE_ON_CLIENT_HELLO); in ssl3_get_server_hello()
860 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_MESSAGE); in ssl3_get_server_hello()
868 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl3_get_server_hello()
876 OPENSSL_PUT_ERROR(SSL, SSL_R_UNSUPPORTED_PROTOCOL); in ssl3_get_server_hello()
888 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SSL_VERSION); in ssl3_get_server_hello()
900 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_VERSION_ON_EARLY_DATA); in ssl3_get_server_hello()
[all …]
Ds3_pkt.c136 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in ssl3_get_record()
162 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in ssl3_get_record()
187 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl3_get_record()
208 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_LENGTH); in ssl3_write_app_data()
244 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_WRITE_RETRY); in ssl3_write_pending()
266 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in do_ssl3_write()
271 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in do_ssl3_write()
281 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in do_ssl3_write()
352 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_RECORD); in ssl3_read_app_data()
362 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_RENEGOTIATION); in ssl3_read_app_data()
[all …]
/external/boringssl/src/crypto/evp/
Devp_ctx.c99 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in evp_pkey_ctx_new()
106 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in evp_pkey_ctx_new()
180 OPENSSL_PUT_ERROR(EVP, ERR_LIB_EVP); in EVP_PKEY_CTX_dup()
192 OPENSSL_PUT_ERROR(EVP, EVP_R_COMMAND_NOT_SUPPORTED); in EVP_PKEY_CTX_ctrl()
196 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_CTX_ctrl()
201 OPENSSL_PUT_ERROR(EVP, EVP_R_NO_OPERATION_SET); in EVP_PKEY_CTX_ctrl()
206 OPENSSL_PUT_ERROR(EVP, EVP_R_INVALID_OPERATION); in EVP_PKEY_CTX_ctrl()
215 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_sign_init()
226 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_sign()
230 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATON_NOT_INITIALIZED); in EVP_PKEY_sign()
[all …]
/external/boringssl/src/crypto/ecdsa/
Decdsa.c96 OPENSSL_PUT_ERROR(ECDSA, ERR_R_INTERNAL_ERROR); in ECDSA_verify()
122 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in digest_to_bn()
129 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in digest_to_bn()
154 OPENSSL_PUT_ERROR(ECDSA, ECDSA_R_MISSING_PARAMETERS); in ECDSA_do_verify()
160 OPENSSL_PUT_ERROR(ECDSA, ERR_R_MALLOC_FAILURE); in ECDSA_do_verify()
169 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in ECDSA_do_verify()
177 OPENSSL_PUT_ERROR(ECDSA, ECDSA_R_BAD_SIGNATURE); in ECDSA_do_verify()
184 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in ECDSA_do_verify()
192 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in ECDSA_do_verify()
197 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in ECDSA_do_verify()
[all …]
/external/boringssl/src/crypto/rsa/
Dpadding.c78 OPENSSL_PUT_ERROR(RSA, RSA_R_KEY_SIZE_TOO_SMALL); in RSA_padding_add_PKCS1_type_1()
83 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE); in RSA_padding_add_PKCS1_type_1()
101 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_SMALL); in RSA_padding_check_PKCS1_type_1()
107 OPENSSL_PUT_ERROR(RSA, RSA_R_BLOCK_TYPE_IS_NOT_01); in RSA_padding_check_PKCS1_type_1()
120 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_FIXED_HEADER_DECRYPT); in RSA_padding_check_PKCS1_type_1()
128 OPENSSL_PUT_ERROR(RSA, RSA_R_NULL_BEFORE_BLOCK_MISSING); in RSA_padding_check_PKCS1_type_1()
133 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_PAD_BYTE_COUNT); in RSA_padding_check_PKCS1_type_1()
139 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_LARGE); in RSA_padding_check_PKCS1_type_1()
167 OPENSSL_PUT_ERROR(RSA, RSA_R_KEY_SIZE_TOO_SMALL); in RSA_padding_add_PKCS1_type_2()
172 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE); in RSA_padding_add_PKCS1_type_2()
[all …]
Drsa.c81 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_new_method()
243 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_public_encrypt()
267 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_private_encrypt()
291 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_private_decrypt()
306 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_public_decrypt()
416 OPENSSL_PUT_ERROR(RSA, RSA_R_INVALID_MESSAGE_LENGTH); in RSA_add_pkcs1_prefix()
439 OPENSSL_PUT_ERROR(RSA, RSA_R_TOO_LONG); in RSA_add_pkcs1_prefix()
445 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_add_pkcs1_prefix()
459 OPENSSL_PUT_ERROR(RSA, RSA_R_UNKNOWN_ALGORITHM_TYPE); in RSA_add_pkcs1_prefix()
483 OPENSSL_PUT_ERROR(RSA, RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY); in RSA_sign()
[all …]
Drsa_asn1.c91 OPENSSL_PUT_ERROR(RSA, RSA_R_VALUE_MISSING); in marshal_integer()
107 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_ENCODING); in parse_public_key()
114 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_RSA_PARAMETERS); in parse_public_key()
139 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_ENCODING); in RSA_public_key_from_bytes()
152 OPENSSL_PUT_ERROR(RSA, RSA_R_ENCODE_ERROR); in RSA_marshal_public_key()
165 OPENSSL_PUT_ERROR(RSA, RSA_R_ENCODE_ERROR); in RSA_public_key_to_bytes()
184 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in rsa_parse_additional_prime()
195 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_ENCODING); in rsa_parse_additional_prime()
215 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_ENCODING); in RSA_parse_private_key()
220 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_VERSION); in RSA_parse_private_key()
[all …]
/external/boringssl/src/crypto/asn1/
Dtasn_dec.c201 OPENSSL_PUT_ERROR(ASN1, in ASN1_item_ex_d2i()
218 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i()
227 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MSTRING_NOT_UNIVERSAL); in ASN1_item_ex_d2i()
235 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MSTRING_WRONG_TAG); in ASN1_item_ex_d2i()
264 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i()
287 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i()
302 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i()
319 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i()
338 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i()
350 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NO_MATCHING_CHOICE_TYPE); in ASN1_item_ex_d2i()
[all …]
Da_d2i_fp.c76 OPENSSL_PUT_ERROR(ASN1, ERR_R_BUF_LIB); in ASN1_d2i_fp()
133 OPENSSL_PUT_ERROR(ASN1, ERR_R_BUF_LIB); in ASN1_item_d2i_fp()
158 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio()
168 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio()
173 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NOT_ENOUGH_DATA); in asn1_d2i_read_bio()
178 OPENSSL_PUT_ERROR(ASN1, ASN1_R_TOO_LONG); in asn1_d2i_read_bio()
206 OPENSSL_PUT_ERROR(ASN1, ASN1_R_HEADER_TOO_LONG); in asn1_d2i_read_bio()
225 OPENSSL_PUT_ERROR(ASN1, ASN1_R_TOO_LONG); in asn1_d2i_read_bio()
238 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio()
245 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NOT_ENOUGH_DATA); in asn1_d2i_read_bio()
[all …]
/external/boringssl/src/crypto/ec/
Dec_asn1.c82 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
96 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
107 OPENSSL_PUT_ERROR(EC, EC_R_GROUP_MISMATCH); in EC_KEY_parse_private_key()
111 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
117 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); in EC_KEY_parse_private_key()
137 OPENSSL_PUT_ERROR(EC, EC_R_WRONG_ORDER); in EC_KEY_parse_private_key()
156 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
174 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
195 OPENSSL_PUT_ERROR(EC, ERR_R_PASSED_NULL_PARAMETER); in EC_KEY_marshal_private_key()
206 OPENSSL_PUT_ERROR(EC, EC_R_ENCODE_ERROR); in EC_KEY_marshal_private_key()
[all …]
Dec.c339 OPENSSL_PUT_ERROR(EC, EC_R_SLOT_FULL); in ec_group_new()
344 OPENSSL_PUT_ERROR(EC, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in ec_group_new()
350 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in ec_group_new()
374 OPENSSL_PUT_ERROR(EC, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in EC_GROUP_new_curve_GFp()
394 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_COFACTOR); in EC_GROUP_set_generator()
413 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in ec_group_new_from_data()
424 OPENSSL_PUT_ERROR(EC, ERR_R_BN_LIB); in ec_group_new_from_data()
431 OPENSSL_PUT_ERROR(EC, ERR_R_EC_LIB); in ec_group_new_from_data()
436 OPENSSL_PUT_ERROR(EC, ERR_R_EC_LIB); in ec_group_new_from_data()
442 OPENSSL_PUT_ERROR(EC, ERR_R_BN_LIB); in ec_group_new_from_data()
[all …]
Doct.c89 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_FORM); in ec_GFp_simple_point2oct()
94 OPENSSL_PUT_ERROR(EC, EC_R_POINT_AT_INFINITY); in ec_GFp_simple_point2oct()
106 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_point2oct()
138 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct()
145 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct()
152 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct()
183 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_oct2point()
192 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point()
201 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point()
223 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point()
[all …]
/external/boringssl/src/crypto/x509/
Dasn1_gen.c171 OPENSSL_PUT_ERROR(ASN1, ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG); in ASN1_generate_v3()
307 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_TAG); in asn1_cb()
318 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MISSING_VALUE); in asn1_cb()
329 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_NESTED_TAGGING); in asn1_cb()
366 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in asn1_cb()
378 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in asn1_cb()
401 OPENSSL_PUT_ERROR(ASN1, ASN1_R_INVALID_NUMBER); in parse_tagging()
432 OPENSSL_PUT_ERROR(ASN1, ASN1_R_INVALID_MODIFIER); in parse_tagging()
518 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_IMPLICIT_TAG); in append_exp()
523 OPENSSL_PUT_ERROR(ASN1, ASN1_R_DEPTH_EXCEEDED); in append_exp()
[all …]
Dby_file.c108 OPENSSL_PUT_ERROR(X509, X509_R_LOADING_DEFAULTS); in by_file_ctrl()
134 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_cert_file()
147 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_cert_file()
162 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_cert_file()
170 OPENSSL_PUT_ERROR(X509, X509_R_BAD_X509_FILETYPE); in X509_load_cert_file()
193 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_crl_file()
206 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_crl_file()
221 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_crl_file()
229 OPENSSL_PUT_ERROR(X509, X509_R_BAD_X509_FILETYPE); in X509_load_crl_file()
251 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_cert_crl_file()
[all …]
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c113 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR);
132 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_ENCODE_ERROR); in EVP_PKEY2PKCS8()
140 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in EVP_PKEY2PKCS8()
219 OPENSSL_PUT_ERROR(PKCS8, ERR_R_INTERNAL_ERROR); in PKCS8_encrypt()
252 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_sequence()
265 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_sequence()
272 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_sequence()
308 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_safe_bag()
316 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_MULTIPLE_PRIVATE_KEYS_IN_PKCS12); in PKCS12_handle_safe_bag()
327 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_safe_bag()
[all …]
Dp5_pbev2.c138 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_CIPHER); in add_cipher_oid()
148 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_ERROR_SETTING_CIPHER_PARAMS); in pkcs5_pbe2_cipher_init()
166 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER); in PKCS5_pbe2_encrypt_init()
219 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in PKCS5_pbe2_decrypt_init()
225 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION); in PKCS5_pbe2_decrypt_init()
232 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_CIPHER); in PKCS5_pbe2_decrypt_init()
243 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in PKCS5_pbe2_decrypt_init()
248 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_ITERATION_COUNT); in PKCS5_pbe2_decrypt_init()
257 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in PKCS5_pbe2_decrypt_init()
262 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_KEYLENGTH); in PKCS5_pbe2_decrypt_init()
[all …]
/external/boringssl/src/crypto/ecdh/
Decdh.c86 OPENSSL_PUT_ERROR(ECDH, ECDH_R_NO_PRIVATE_VALUE); in ECDH_compute_key()
103 OPENSSL_PUT_ERROR(ECDH, ERR_R_MALLOC_FAILURE); in ECDH_compute_key()
108 OPENSSL_PUT_ERROR(ECDH, ECDH_R_POINT_ARITHMETIC_FAILURE); in ECDH_compute_key()
114 OPENSSL_PUT_ERROR(ECDH, ERR_R_MALLOC_FAILURE); in ECDH_compute_key()
119 OPENSSL_PUT_ERROR(ECDH, ECDH_R_POINT_ARITHMETIC_FAILURE); in ECDH_compute_key()
126 OPENSSL_PUT_ERROR(ECDH, ERR_R_MALLOC_FAILURE); in ECDH_compute_key()
131 OPENSSL_PUT_ERROR(ECDH, ERR_R_INTERNAL_ERROR); in ECDH_compute_key()
137 OPENSSL_PUT_ERROR(ECDH, ECDH_R_KDF_FAILED); in ECDH_compute_key()
149 OPENSSL_PUT_ERROR(ECDH, ERR_R_OVERFLOW); in ECDH_compute_key()
/external/boringssl/src/crypto/x509v3/
Dv3_pci.c90 OPENSSL_PUT_ERROR(X509V3, in process_pci_value()
96 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_OBJECT_IDENTIFIER); in process_pci_value()
102 OPENSSL_PUT_ERROR(X509V3, in process_pci_value()
108 OPENSSL_PUT_ERROR(X509V3, X509V3_R_POLICY_PATH_LENGTH); in process_pci_value()
118 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value()
129 OPENSSL_PUT_ERROR(X509V3, X509V3_R_ILLEGAL_HEX_DIGIT); in process_pci_value()
150 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value()
172 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value()
177 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INCORRECT_POLICY_SYNTAX_TAG); in process_pci_value()
182 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value()
[all …]
Dv3_cpols.c153 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE);
158 OPENSSL_PUT_ERROR(X509V3, ERR_R_X509V3_LIB);
165 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_POLICY_IDENTIFIER);
177 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_SECTION);
188 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_OBJECT_IDENTIFIER);
194 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE);
202 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE);
228 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_OBJECT_IDENTIFIER); in policy_section()
244 OPENSSL_PUT_ERROR(X509V3, ERR_R_INTERNAL_ERROR); in policy_section()
257 OPENSSL_PUT_ERROR(X509V3, X509V3_R_EXPECTED_A_SECTION_NAME); in policy_section()
[all …]
/external/boringssl/src/crypto/cipher/
De_ssl3.c89 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_UNSUPPORTED_TAG_SIZE); in aead_ssl3_init()
94 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_BAD_KEY_LENGTH); in aead_ssl3_init()
104 OPENSSL_PUT_ERROR(CIPHER, ERR_R_MALLOC_FAILURE); in aead_ssl3_init()
135 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_INVALID_OPERATION); in aead_ssl3_seal()
142 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_TOO_LARGE); in aead_ssl3_seal()
147 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_BUFFER_TOO_SMALL); in aead_ssl3_seal()
152 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_IV_TOO_LARGE); in aead_ssl3_seal()
157 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_INVALID_AD_SIZE); in aead_ssl3_seal()
219 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_INVALID_OPERATION); in aead_ssl3_open()
225 OPENSSL_PUT_ERROR(CIPHER, CIPHER_R_BAD_DECRYPT); in aead_ssl3_open()
[all …]

12345678