/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 97 OPENSSL_PUT_ERROR(ECDSA, ERR_R_INTERNAL_ERROR); in ECDSA_verify() 123 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in digest_to_bn() 130 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in digest_to_bn() 152 OPENSSL_PUT_ERROR(ECDSA, ECDSA_R_NOT_IMPLEMENTED); in ECDSA_do_verify() 160 OPENSSL_PUT_ERROR(ECDSA, ECDSA_R_MISSING_PARAMETERS); in ECDSA_do_verify() 166 OPENSSL_PUT_ERROR(ECDSA, ERR_R_MALLOC_FAILURE); in ECDSA_do_verify() 175 OPENSSL_PUT_ERROR(ECDSA, ERR_R_BN_LIB); in ECDSA_do_verify() 183 OPENSSL_PUT_ERROR(ECDSA, ECDSA_R_BAD_SIGNATURE); in ECDSA_do_verify() 189 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/ssl/ |
D | ssl_asn1.c | 175 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in add_X509() 205 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 212 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 220 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() 242 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 249 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 259 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 269 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 277 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() [all …]
|
D | ssl_file.c | 144 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in STACK_OF() 159 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() 271 OPENSSL_PUT_ERROR(SSL, SSL_R_PATH_TOO_LONG); in SSL_add_dir_cert_subjects_to_stack() 283 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB); in SSL_add_dir_cert_subjects_to_stack() 305 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_certificate_file() 310 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB); in SSL_use_certificate_file() 322 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SSL_FILETYPE); in SSL_use_certificate_file() 327 OPENSSL_PUT_ERROR(SSL, reason_code); in SSL_use_certificate_file() 347 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_RSAPrivateKey_file() [all …]
|
D | ssl_rsa.c | 78 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_certificate() 86 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in SSL_use_certificate_ASN1() 93 OPENSSL_PUT_ERROR(SSL, ERR_R_ASN1_LIB); in SSL_use_certificate_ASN1() 108 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_RSAPrivateKey() 114 OPENSSL_PUT_ERROR(SSL, ERR_R_EVP_LIB); in SSL_use_RSAPrivateKey() 129 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in ssl_set_pkey() 153 OPENSSL_PUT_ERROR(SSL, ERR_R_ASN1_LIB); in SSL_use_RSAPrivateKey_ASN1() 166 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_PrivateKey() 177 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in SSL_use_PrivateKey_ASN1() 184 OPENSSL_PUT_ERROR(SSL, ERR_R_ASN1_LIB); in SSL_use_PrivateKey_ASN1() [all …]
|
D | s3_clnt.c | 225 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl3_connect() 567 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_STATE); in ssl3_connect() 624 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_CIPHERS_AVAILABLE); in ssl3_write_client_cipher_list() 655 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl3_send_client_hello() 667 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SSL_VERSION); in ssl3_send_client_hello() 764 OPENSSL_PUT_ERROR(SSL, SSL_R_HANDSHAKE_FAILURE_ON_CLIENT_HELLO); in ssl3_get_server_hello() 778 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl3_get_server_hello() 785 OPENSSL_PUT_ERROR(SSL, SSL_R_UNSUPPORTED_PROTOCOL); in ssl3_get_server_hello() 800 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SSL_VERSION); in ssl3_get_server_hello() 816 OPENSSL_PUT_ERROR(SSL, in ssl3_get_server_hello() [all …]
|
D | s3_srvr.c | 200 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_CERTIFICATE_SET); in ssl3_accept() 232 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl3_accept() 577 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_STATE); in ssl3_accept() 619 OPENSSL_PUT_ERROR(SSL, SSL_R_HTTP_REQUEST); in ssl3_get_initial_bytes() 623 OPENSSL_PUT_ERROR(SSL, SSL_R_HTTPS_PROXY_REQUEST); in ssl3_get_initial_bytes() 655 OPENSSL_PUT_ERROR(SSL, SSL_R_RECORD_TOO_LARGE); in ssl3_get_v2_client_hello() 662 OPENSSL_PUT_ERROR(SSL, SSL_R_RECORD_LENGTH_MISMATCH); in ssl3_get_v2_client_hello() 694 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl3_get_v2_client_hello() 723 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl3_get_v2_client_hello() 732 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl3_get_v2_client_hello() [all …]
|
D | s3_pkt.c | 154 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in ssl3_get_record() 181 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl3_get_record() 207 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_HANDSHAKE_FAILURE); in ssl3_write_bytes() 220 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_LENGTH); in ssl3_write_bytes() 257 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_WRITE_RETRY); in ssl3_write_pending() 285 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in do_ssl3_write() 295 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in do_ssl3_write() 331 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_CHANGE_CIPHER_SPEC); in ssl3_read_change_cipher_spec() 386 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl3_read_bytes() 402 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_HANDSHAKE_FAILURE); in ssl3_read_bytes() [all …]
|
/external/boringssl/src/crypto/ec/ |
D | ec_asn1.c | 171 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in ec_asn1_group2pkparameters() 199 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); in ec_asn1_pkparameters2group() 225 OPENSSL_PUT_ERROR(EC, EC_R_NON_NAMED_CURVE); in ec_asn1_pkparameters2group() 231 OPENSSL_PUT_ERROR(EC, EC_R_EC_GROUP_NEW_BY_NAME_FAILURE); in ec_asn1_pkparameters2group() 246 OPENSSL_PUT_ERROR(EC, EC_R_D2I_ECPKPARAMETERS_FAILURE); in d2i_ECPKParameters() 253 OPENSSL_PUT_ERROR(EC, EC_R_PKPARAMETERS2GROUP_FAILURE); in d2i_ECPKParameters() 272 OPENSSL_PUT_ERROR(EC, EC_R_GROUP2PKPARAMETERS_FAILURE); in i2d_ECPKParameters() 277 OPENSSL_PUT_ERROR(EC, EC_R_I2D_ECPKPARAMETERS_FAILURE); in i2d_ECPKParameters() 293 OPENSSL_PUT_ERROR(EC, ERR_R_EC_LIB); in d2i_ECPrivateKey() 300 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in d2i_ECPrivateKey() [all …]
|
D | ec.c | 325 OPENSSL_PUT_ERROR(EC, EC_R_SLOT_FULL); in ec_group_new() 330 OPENSSL_PUT_ERROR(EC, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in ec_group_new() 336 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in ec_group_new() 364 OPENSSL_PUT_ERROR(EC, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in EC_GROUP_new_curve_GFp() 422 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in ec_group_new_from_data() 433 OPENSSL_PUT_ERROR(EC, ERR_R_BN_LIB); in ec_group_new_from_data() 441 OPENSSL_PUT_ERROR(EC, ERR_R_EC_LIB); in ec_group_new_from_data() 446 OPENSSL_PUT_ERROR(EC, ERR_R_EC_LIB); in ec_group_new_from_data() 452 OPENSSL_PUT_ERROR(EC, ERR_R_EC_LIB); in ec_group_new_from_data() 458 OPENSSL_PUT_ERROR(EC, ERR_R_BN_LIB); in ec_group_new_from_data() [all …]
|
D | oct.c | 88 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_FORM); in ec_GFp_simple_point2oct() 93 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() 182 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_oct2point() 191 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 200 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 222 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() [all …]
|
/external/boringssl/src/crypto/evp/ |
D | evp_ctx.c | 100 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() 190 OPENSSL_PUT_ERROR(EVP, ERR_LIB_EVP); in EVP_PKEY_CTX_dup() 205 OPENSSL_PUT_ERROR(EVP, EVP_R_COMMAND_NOT_SUPPORTED); in EVP_PKEY_CTX_ctrl() 213 OPENSSL_PUT_ERROR(EVP, EVP_R_NO_OPERATION_SET); in EVP_PKEY_CTX_ctrl() 218 OPENSSL_PUT_ERROR(EVP, EVP_R_INVALID_OPERATION); in EVP_PKEY_CTX_ctrl() 227 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_sign_init() 247 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_sign() 251 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATON_NOT_INITIALIZED); in EVP_PKEY_sign() 259 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_verify_init() [all …]
|
D | p_ec_asn1.c | 74 OPENSSL_PUT_ERROR(EVP, EVP_R_MISSING_PARAMETERS); in eckey_param2type() 80 OPENSSL_PUT_ERROR(EVP, EVP_R_NO_NID_FOR_CURVE); in eckey_param2type() 97 OPENSSL_PUT_ERROR(EVP, ERR_R_EC_LIB); in eckey_pub_encode() 140 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in eckey_type2param() 153 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in eckey_type2param() 180 OPENSSL_PUT_ERROR(EVP, ERR_R_EC_LIB); in eckey_pub_decode() 186 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in eckey_pub_decode() 235 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in eckey_priv_decode() 249 OPENSSL_PUT_ERROR(EVP, ERR_R_EC_LIB); in eckey_priv_decode() 254 OPENSSL_PUT_ERROR(EVP, ERR_R_EC_LIB); in eckey_priv_decode() [all …]
|
D | p_dsa_asn1.c | 94 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in dsa_pub_decode() 100 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in dsa_pub_decode() 104 OPENSSL_PUT_ERROR(EVP, EVP_R_PARAMETER_ENCODING_ERROR); in dsa_pub_decode() 110 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in dsa_pub_decode() 116 OPENSSL_PUT_ERROR(EVP, EVP_R_BN_DECODE_ERROR); in dsa_pub_decode() 143 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in dsa_pub_encode() 148 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in dsa_pub_encode() 158 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in dsa_pub_encode() 211 OPENSSL_PUT_ERROR(EVP, ERR_LIB_BN); in dsa_priv_decode() 217 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in dsa_priv_decode() [all …]
|
/external/boringssl/src/crypto/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_DATA_TOO_LARGE_FOR_KEY_SIZE); in RSA_padding_add_PKCS1_type_1() 108 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_SMALL); in RSA_padding_check_PKCS1_type_1() 114 OPENSSL_PUT_ERROR(RSA, RSA_R_BLOCK_TYPE_IS_NOT_01); in RSA_padding_check_PKCS1_type_1() 127 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_FIXED_HEADER_DECRYPT); in RSA_padding_check_PKCS1_type_1() 135 OPENSSL_PUT_ERROR(RSA, RSA_R_NULL_BEFORE_BLOCK_MISSING); in RSA_padding_check_PKCS1_type_1() 140 OPENSSL_PUT_ERROR(RSA, RSA_R_BAD_PAD_BYTE_COUNT); in RSA_padding_check_PKCS1_type_1() 146 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_LARGE); in RSA_padding_check_PKCS1_type_1() 160 OPENSSL_PUT_ERROR(RSA, RSA_R_KEY_SIZE_TOO_SMALL); in RSA_padding_add_PKCS1_type_2() 165 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE); in RSA_padding_add_PKCS1_type_2() [all …]
|
D | rsa.c | 81 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_new_method() 207 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_public_encrypt() 231 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_private_encrypt() 255 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_private_decrypt() 280 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_public_decrypt() 390 OPENSSL_PUT_ERROR(RSA, RSA_R_INVALID_MESSAGE_LENGTH); in RSA_add_pkcs1_prefix() 413 OPENSSL_PUT_ERROR(RSA, RSA_R_TOO_LONG); in RSA_add_pkcs1_prefix() 419 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_add_pkcs1_prefix() 433 OPENSSL_PUT_ERROR(RSA, RSA_R_UNKNOWN_ALGORITHM_TYPE); in RSA_add_pkcs1_prefix() 457 OPENSSL_PUT_ERROR(RSA, RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY); in RSA_sign() [all …]
|
D | rsa_asn1.c | 91 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/ |
D | tasn_dec.c | 193 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE); in ASN1_item_ex_d2i() 210 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 219 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MSTRING_NOT_UNIVERSAL); in ASN1_item_ex_d2i() 228 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MSTRING_WRONG_TAG); in ASN1_item_ex_d2i() 259 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() 324 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 344 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 358 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NO_MATCHING_CHOICE_TYPE); in ASN1_item_ex_d2i() [all …]
|
D | a_d2i_fp.c | 78 OPENSSL_PUT_ERROR(ASN1, ERR_R_BUF_LIB); in ASN1_d2i_fp() 132 OPENSSL_PUT_ERROR(ASN1, ERR_R_BUF_LIB); in ASN1_item_d2i_fp() 157 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 170 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 176 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NOT_ENOUGH_DATA); in asn1_d2i_read_bio() 183 OPENSSL_PUT_ERROR(ASN1, ASN1_R_TOO_LONG); in asn1_d2i_read_bio() 214 OPENSSL_PUT_ERROR(ASN1, ASN1_R_HEADER_TOO_LONG); in asn1_d2i_read_bio() 238 OPENSSL_PUT_ERROR(ASN1, ASN1_R_TOO_LONG); in asn1_d2i_read_bio() 243 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 251 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NOT_ENOUGH_DATA); in asn1_d2i_read_bio() [all …]
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8.c | 204 OPENSSL_PUT_ERROR(PKCS8, ERR_R_MALLOC_FAILURE); in pkcs12_key_gen_raw() 231 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in pkcs12_pbe_keyivgen() 238 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in pkcs12_pbe_keyivgen() 251 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_KEY_GEN_ERROR); in pkcs12_pbe_keyivgen() 257 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_KEY_GEN_ERROR); in pkcs12_pbe_keyivgen() 332 OPENSSL_PUT_ERROR(PKCS8, ERR_R_OVERFLOW); in pass_to_pass_raw() 339 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in pass_to_pass_raw() 345 OPENSSL_PUT_ERROR(PKCS8, ERR_R_MALLOC_FAILURE); in pass_to_pass_raw() 364 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNKNOWN_ALGORITHM); in pbe_cipher_init() 379 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNKNOWN_CIPHER); in pbe_cipher_init() [all …]
|
D | p5_pbev2.c | 129 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER); in PKCS5_pbe2_set_iv() 157 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_ERROR_SETTING_CIPHER_PARAMS); in PKCS5_pbe2_set_iv() 207 OPENSSL_PUT_ERROR(PKCS8, ERR_R_MALLOC_FAILURE); in PKCS5_pbe2_set_iv() 300 OPENSSL_PUT_ERROR(PKCS8, ERR_R_MALLOC_FAILURE); in PKCS5_pbkdf2_set() 314 OPENSSL_PUT_ERROR(PKCS8, CIPHER_R_NO_CIPHER_SET); in PKCS5_v2_PBKDF2_keyivgen() 320 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in PKCS5_v2_PBKDF2_keyivgen() 328 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in PKCS5_v2_PBKDF2_keyivgen() 339 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_KEYLENGTH); in PKCS5_v2_PBKDF2_keyivgen() 345 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_PRF); in PKCS5_v2_PBKDF2_keyivgen() 350 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_SALT_TYPE); in PKCS5_v2_PBKDF2_keyivgen() [all …]
|
/external/boringssl/src/crypto/bn/ |
D | bn_asn1.c | 25 OPENSSL_PUT_ERROR(BN, BN_R_BAD_ENCODING); in BN_cbs2unsigned() 30 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER); in BN_cbs2unsigned() 38 OPENSSL_PUT_ERROR(BN, BN_R_BAD_ENCODING); in BN_cbs2unsigned() 49 OPENSSL_PUT_ERROR(BN, BN_R_BAD_ENCODING); in BN_cbs2unsigned_buggy() 64 OPENSSL_PUT_ERROR(BN, BN_R_NEGATIVE_NUMBER); in BN_bn2cbb() 70 OPENSSL_PUT_ERROR(BN, BN_R_ENCODE_ERROR); in BN_bn2cbb() 78 OPENSSL_PUT_ERROR(BN, BN_R_ENCODE_ERROR); in BN_bn2cbb() 84 OPENSSL_PUT_ERROR(BN, BN_R_ENCODE_ERROR); in BN_bn2cbb() 89 OPENSSL_PUT_ERROR(BN, BN_R_ENCODE_ERROR); in BN_bn2cbb()
|
/external/boringssl/src/crypto/x509/ |
D | asn1_gen.c | 174 OPENSSL_PUT_ERROR(ASN1, ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG); in ASN1_generate_v3() 317 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_TAG); in asn1_cb() 330 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MISSING_VALUE); in asn1_cb() 343 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_NESTED_TAGGING); in asn1_cb() 381 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in asn1_cb() 394 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in asn1_cb() 418 OPENSSL_PUT_ERROR(ASN1, ASN1_R_INVALID_NUMBER); in parse_tagging() 451 OPENSSL_PUT_ERROR(ASN1, ASN1_R_INVALID_MODIFIER); in parse_tagging() 537 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_IMPLICIT_TAG); in append_exp() 543 OPENSSL_PUT_ERROR(ASN1, ASN1_R_DEPTH_EXCEEDED); in append_exp() [all …]
|
D | by_file.c | 112 OPENSSL_PUT_ERROR(X509, X509_R_LOADING_DEFAULTS); in by_file_ctrl() 140 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_cert_file() 159 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_cert_file() 176 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_cert_file() 185 OPENSSL_PUT_ERROR(X509, X509_R_BAD_X509_FILETYPE); in X509_load_cert_file() 206 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_crl_file() 225 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_crl_file() 242 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_crl_file() 251 OPENSSL_PUT_ERROR(X509, X509_R_BAD_X509_FILETYPE); in X509_load_crl_file() 271 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, X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED); in process_pci_value() 96 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_OBJECT_IDENTIFIER); in process_pci_value() 105 OPENSSL_PUT_ERROR(X509V3, X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED); in process_pci_value() 111 OPENSSL_PUT_ERROR(X509V3, X509V3_R_POLICY_PATH_LENGTH); in process_pci_value() 125 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value() 138 OPENSSL_PUT_ERROR(X509V3, X509V3_R_ILLEGAL_HEX_DIGIT); in process_pci_value() 159 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value() 172 OPENSSL_PUT_ERROR(X509V3, ERR_R_BIO_LIB); in process_pci_value() 197 OPENSSL_PUT_ERROR(X509V3, ERR_R_BIO_LIB); in process_pci_value() 220 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value() [all …]
|
/external/boringssl/src/crypto/ecdh/ |
D | ecdh.c | 83 OPENSSL_PUT_ERROR(ECDH, ECDH_R_NO_PRIVATE_VALUE); in ECDH_compute_key() 100 OPENSSL_PUT_ERROR(ECDH, ERR_R_MALLOC_FAILURE); in ECDH_compute_key() 105 OPENSSL_PUT_ERROR(ECDH, ECDH_R_POINT_ARITHMETIC_FAILURE); in ECDH_compute_key() 111 OPENSSL_PUT_ERROR(ECDH, ERR_R_MALLOC_FAILURE); in ECDH_compute_key() 116 OPENSSL_PUT_ERROR(ECDH, ECDH_R_POINT_ARITHMETIC_FAILURE); in ECDH_compute_key() 123 OPENSSL_PUT_ERROR(ECDH, ERR_R_MALLOC_FAILURE); in ECDH_compute_key() 128 OPENSSL_PUT_ERROR(ECDH, ERR_R_INTERNAL_ERROR); in ECDH_compute_key() 134 OPENSSL_PUT_ERROR(ECDH, ECDH_R_KDF_FAILED); in ECDH_compute_key()
|