/external/boringssl/src/ssl/ |
D | ssl_asn1.cc | 221 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 232 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 241 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 248 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 257 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 265 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 …]
|
D | ssl_file.cc | 143 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 …]
|
D | tls13_both.cc | 59 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 65 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 81 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 89 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 98 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 114 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls13_process_certificate() 121 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_process_certificate() 134 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_LENGTH_MISMATCH); in tls13_process_certificate() 142 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls13_process_certificate() 164 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_process_certificate() [all …]
|
D | ssl_cert.cc | 141 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_cert_new() 158 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_cert_dup() 263 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in check_leaf_cert_and_privkey() 268 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey() 276 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey() 295 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in cert_set_chain_and_key() 300 OPENSSL_PUT_ERROR(SSL, SSL_R_CANNOT_HAVE_BOTH_PRIVKEY_AND_METHOD); in cert_set_chain_and_key() 308 OPENSSL_PUT_ERROR(SSL, SSL_R_CERTIFICATE_AND_PRIVATE_KEY_MISMATCH); in cert_set_chain_and_key() 394 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_parse_cert_chain() 405 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_parse_cert_chain() [all …]
|
D | handshake_client.cc | 267 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_CIPHERS_AVAILABLE); in ssl_write_client_cipher_list() 348 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_MESSAGE); in parse_server_version() 354 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in parse_server_version() 370 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in parse_server_version() 383 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in parse_server_version() 540 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in do_read_hello_verify_request() 576 OPENSSL_PUT_ERROR(SSL, SSL_R_UNSUPPORTED_PROTOCOL); in do_read_server_hello() 589 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SSL_VERSION); in do_read_server_hello() 607 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_VERSION_ON_EARLY_DATA); in do_read_server_hello() 625 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in do_read_server_hello() [all …]
|
D | tls_record.cc | 161 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in ssl_record_sequence_update() 198 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MUCH_SKIPPED_EARLY_DATA); in skip_early_data() 242 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_VERSION_NUMBER); in tls_open_record() 249 OPENSSL_PUT_ERROR(SSL, SSL_R_ENCRYPTED_LENGTH_TOO_LONG); in tls_open_record() 274 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MANY_EMPTY_FRAGMENTS); in tls_open_record() 298 OPENSSL_PUT_ERROR(SSL, SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC); in tls_open_record() 320 OPENSSL_PUT_ERROR(SSL, SSL_R_DATA_LENGTH_TOO_LONG); in tls_open_record() 328 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_OUTER_RECORD_TYPE); in tls_open_record() 335 OPENSSL_PUT_ERROR(SSL, SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC); in tls_open_record() 348 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MANY_EMPTY_FRAGMENTS); in tls_open_record() [all …]
|
/external/boringssl/src/crypto/evp/ |
D | evp_ctx.c | 101 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in evp_pkey_ctx_new() 108 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in evp_pkey_ctx_new() 182 OPENSSL_PUT_ERROR(EVP, ERR_LIB_EVP); in EVP_PKEY_CTX_dup() 194 OPENSSL_PUT_ERROR(EVP, EVP_R_COMMAND_NOT_SUPPORTED); in EVP_PKEY_CTX_ctrl() 198 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_CTX_ctrl() 203 OPENSSL_PUT_ERROR(EVP, EVP_R_NO_OPERATION_SET); in EVP_PKEY_CTX_ctrl() 208 OPENSSL_PUT_ERROR(EVP, EVP_R_INVALID_OPERATION); in EVP_PKEY_CTX_ctrl() 218 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_sign_init() 229 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_sign() 233 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATON_NOT_INITIALIZED); in EVP_PKEY_sign() [all …]
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 79 OPENSSL_PUT_ERROR(RSA, RSA_R_KEY_SIZE_TOO_SMALL); in RSA_padding_add_PKCS1_type_1() 84 OPENSSL_PUT_ERROR(RSA, RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY); in RSA_padding_add_PKCS1_type_1() 102 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_SMALL); in RSA_padding_check_PKCS1_type_1() 108 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() 126 OPENSSL_PUT_ERROR(RSA, RSA_R_NULL_BEFORE_BLOCK_MISSING); in RSA_padding_check_PKCS1_type_1() 131 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() 168 OPENSSL_PUT_ERROR(RSA, RSA_R_KEY_SIZE_TOO_SMALL); in RSA_padding_add_PKCS1_type_2() 173 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_LARGE); in RSA_padding_add_PKCS1_type_2() [all …]
|
D | rsa_impl.c | 79 OPENSSL_PUT_ERROR(RSA, RSA_R_MODULUS_TOO_LARGE); in check_modulus_and_exponent_sizes() 95 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_E_VALUE); in check_modulus_and_exponent_sizes() 104 OPENSSL_PUT_ERROR(RSA, RSA_R_KEY_SIZE_TOO_SMALL); in check_modulus_and_exponent_sizes() 119 OPENSSL_PUT_ERROR(RSA, RSA_R_VALUE_MISSING); in RSA_encrypt() 130 OPENSSL_PUT_ERROR(RSA, RSA_R_OUTPUT_BUFFER_TOO_SMALL); in RSA_encrypt() 148 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_encrypt() 165 OPENSSL_PUT_ERROR(RSA, RSA_R_UNKNOWN_PADDING_TYPE); in RSA_encrypt() 179 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_LARGE); in RSA_encrypt() 191 OPENSSL_PUT_ERROR(RSA, ERR_R_INTERNAL_ERROR); in RSA_encrypt() 326 OPENSSL_PUT_ERROR(RSA, RSA_R_OUTPUT_BUFFER_TOO_SMALL); in rsa_default_sign_raw() [all …]
|
D | rsa.c | 86 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_new_method() 270 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_public_encrypt() 294 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_private_encrypt() 318 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_private_decrypt() 333 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_public_decrypt() 444 OPENSSL_PUT_ERROR(RSA, RSA_R_INVALID_MESSAGE_LENGTH); in RSA_add_pkcs1_prefix() 461 OPENSSL_PUT_ERROR(RSA, RSA_R_INVALID_MESSAGE_LENGTH); in RSA_add_pkcs1_prefix() 472 OPENSSL_PUT_ERROR(RSA, RSA_R_TOO_LONG); in RSA_add_pkcs1_prefix() 478 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_add_pkcs1_prefix() 492 OPENSSL_PUT_ERROR(RSA, RSA_R_UNKNOWN_ALGORITHM_TYPE); in RSA_add_pkcs1_prefix() [all …]
|
/external/boringssl/src/crypto/asn1/ |
D | tasn_dec.c | 201 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 …]
|
D | a_d2i_fp.c | 76 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() 173 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 183 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 188 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NOT_ENOUGH_DATA); in asn1_d2i_read_bio() 193 OPENSSL_PUT_ERROR(ASN1, ASN1_R_TOO_LONG); in asn1_d2i_read_bio() 221 OPENSSL_PUT_ERROR(ASN1, ASN1_R_HEADER_TOO_LONG); in asn1_d2i_read_bio() 240 OPENSSL_PUT_ERROR(ASN1, ASN1_R_TOO_LONG); in asn1_d2i_read_bio() 253 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 260 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NOT_ENOUGH_DATA); in asn1_d2i_read_bio() [all …]
|
/external/boringssl/src/crypto/ec_extra/ |
D | ec_asn1.c | 82 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() 175 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key() 196 OPENSSL_PUT_ERROR(EC, ERR_R_PASSED_NULL_PARAMETER); in EC_KEY_marshal_private_key() 207 OPENSSL_PUT_ERROR(EC, EC_R_ENCODE_ERROR); in EC_KEY_marshal_private_key() [all …]
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 86 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_FORM); in ec_GFp_simple_point2oct() 91 OPENSSL_PUT_ERROR(EC, EC_R_POINT_AT_INFINITY); in ec_GFp_simple_point2oct() 105 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_point2oct() 137 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct() 144 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct() 151 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct() 173 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_oct2point() 183 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 195 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 218 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() [all …]
|
D | ec.c | 276 OPENSSL_PUT_ERROR(EC, EC_R_SLOT_FULL); in ec_group_new() 281 OPENSSL_PUT_ERROR(EC, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in ec_group_new() 287 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in ec_group_new() 320 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_FIELD); in EC_GROUP_new_curve_GFp() 330 OPENSSL_PUT_ERROR(EC, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in EC_GROUP_new_curve_GFp() 350 OPENSSL_PUT_ERROR(EC, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in EC_GROUP_set_generator() 355 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_FIELD); in EC_GROUP_set_generator() 361 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_COFACTOR); in EC_GROUP_set_generator() 379 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_GROUP_ORDER); in EC_GROUP_set_generator() 409 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in ec_group_new_from_data() [all …]
|
D | ec_key.c | 92 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in EC_KEY_new_method() 125 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in EC_KEY_new_by_curve_name() 164 OPENSSL_PUT_ERROR(EC, ERR_R_PASSED_NULL_PARAMETER); in EC_KEY_copy() 239 OPENSSL_PUT_ERROR(EC, EC_R_GROUP_MISMATCH); in EC_KEY_set_group() 259 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); in EC_KEY_set_private_key() 266 OPENSSL_PUT_ERROR(EC, EC_R_WRONG_ORDER); in EC_KEY_set_private_key() 280 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); in EC_KEY_set_public_key() 285 OPENSSL_PUT_ERROR(EC, EC_R_GROUP_MISMATCH); in EC_KEY_set_public_key() 314 OPENSSL_PUT_ERROR(EC, ERR_R_PASSED_NULL_PARAMETER); in EC_KEY_check_key() 319 OPENSSL_PUT_ERROR(EC, EC_R_POINT_AT_INFINITY); in EC_KEY_check_key() [all …]
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 112 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); 131 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_ENCODE_ERROR); in EVP_PKEY2PKCS8() 139 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in EVP_PKEY2PKCS8() 218 OPENSSL_PUT_ERROR(PKCS8, ERR_R_INTERNAL_ERROR); in PKCS8_encrypt() 251 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_sequence() 264 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_sequence() 271 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_sequence() 307 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_safe_bag() 315 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_MULTIPLE_PRIVATE_KEYS_IN_PKCS12); in PKCS12_handle_safe_bag() 326 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_PKCS12_DATA); in PKCS12_handle_safe_bag() [all …]
|
D | p5_pbev2.c | 138 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/x509/ |
D | asn1_gen.c | 154 OPENSSL_PUT_ERROR(ASN1, err); in ASN1_generate_v3() 328 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_TAG); in asn1_cb() 339 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MISSING_VALUE); in asn1_cb() 350 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_NESTED_TAGGING); in asn1_cb() 387 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in asn1_cb() 399 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in asn1_cb() 422 OPENSSL_PUT_ERROR(ASN1, ASN1_R_INVALID_NUMBER); in parse_tagging() 453 OPENSSL_PUT_ERROR(ASN1, ASN1_R_INVALID_MODIFIER); in parse_tagging() 541 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_IMPLICIT_TAG); in append_exp() 546 OPENSSL_PUT_ERROR(ASN1, ASN1_R_DEPTH_EXCEEDED); in append_exp() [all …]
|
D | algorithm.c | 71 OPENSSL_PUT_ERROR(ASN1, ASN1_R_CONTEXT_NOT_INITIALISED); in x509_digest_sign_algorithm() 94 OPENSSL_PUT_ERROR(ASN1, ASN1_R_CONTEXT_NOT_INITIALISED); in x509_digest_sign_algorithm() 101 OPENSSL_PUT_ERROR(ASN1, ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED); in x509_digest_sign_algorithm() 119 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM); in x509_digest_verify_init() 125 OPENSSL_PUT_ERROR(ASN1, ASN1_R_WRONG_PUBLIC_KEY_TYPE); in x509_digest_verify_init() 136 OPENSSL_PUT_ERROR(X509, X509_R_INVALID_PARAMETER); in x509_digest_verify_init() 141 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM); in x509_digest_verify_init() 148 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM); in x509_digest_verify_init()
|
D | by_file.c | 107 OPENSSL_PUT_ERROR(X509, X509_R_LOADING_DEFAULTS); in by_file_ctrl() 133 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_cert_file() 146 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_cert_file() 161 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_cert_file() 169 OPENSSL_PUT_ERROR(X509, X509_R_BAD_X509_FILETYPE); in X509_load_cert_file() 192 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_crl_file() 205 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_crl_file() 220 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_crl_file() 228 OPENSSL_PUT_ERROR(X509, X509_R_BAD_X509_FILETYPE); in X509_load_crl_file() 250 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_cert_crl_file() [all …]
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_pci.c | 90 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 …]
|
D | v3_cpols.c | 153 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/ecdh/ |
D | ecdh.c | 86 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/pem/ |
D | pem_lib.c | 128 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); in PEM_ASN1_read() 244 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); in PEM_ASN1_write() 269 OPENSSL_PUT_ERROR(PEM, PEM_R_UNSUPPORTED_CIPHER); in PEM_ASN1_write_bio() 275 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB); in PEM_ASN1_write_bio() 283 OPENSSL_PUT_ERROR(PEM, ERR_R_MALLOC_FAILURE); in PEM_ASN1_write_bio() 298 OPENSSL_PUT_ERROR(PEM, PEM_R_READ_KEY); in PEM_ASN1_write_bio() 369 OPENSSL_PUT_ERROR(PEM, PEM_R_BAD_PASSWORD_READ); in PEM_do_header() 388 OPENSSL_PUT_ERROR(PEM, PEM_R_BAD_DECRYPT); in PEM_do_header() 426 OPENSSL_PUT_ERROR(PEM, PEM_R_NOT_PROC_TYPE); in PEM_get_EVP_CIPHER_INFO() 437 OPENSSL_PUT_ERROR(PEM, PEM_R_NOT_ENCRYPTED); in PEM_get_EVP_CIPHER_INFO() [all …]
|