/external/boringssl/src/ssl/ |
D | ssl_rsa.c | 74 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_certificate() 88 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_file, ERR_R_BUF_LIB); in SSL_use_certificate_file() 93 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_file, ERR_R_SYS_LIB); in SSL_use_certificate_file() 105 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_file, SSL_R_BAD_SSL_FILETYPE); in SSL_use_certificate_file() 110 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_file, reason_code); in SSL_use_certificate_file() 129 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_ASN1, ERR_R_ASN1_LIB); in SSL_use_certificate_ASN1() 143 OPENSSL_PUT_ERROR(SSL, SSL_use_RSAPrivateKey, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_RSAPrivateKey() 149 OPENSSL_PUT_ERROR(SSL, SSL_use_RSAPrivateKey, ERR_R_EVP_LIB); in SSL_use_RSAPrivateKey() 167 OPENSSL_PUT_ERROR(SSL, ssl_set_pkey, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in ssl_set_pkey() 196 OPENSSL_PUT_ERROR(SSL, SSL_use_RSAPrivateKey_file, ERR_R_BUF_LIB); in SSL_use_RSAPrivateKey_file() [all …]
|
D | ssl_asn1.c | 181 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 188 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 196 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 211 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 224 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 231 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 241 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 251 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 259 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 268 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() [all …]
|
D | s3_clnt.c | 221 OPENSSL_PUT_ERROR(SSL, ssl3_connect, ERR_R_INTERNAL_ERROR); in ssl3_connect() 555 OPENSSL_PUT_ERROR(SSL, ssl3_connect, SSL_R_UNKNOWN_STATE); in ssl3_connect() 591 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, SSL_R_WRONG_SSL_VERSION); in ssl3_send_client_hello() 664 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, ERR_R_INTERNAL_ERROR); in ssl3_send_client_hello() 674 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, ERR_R_INTERNAL_ERROR); in ssl3_send_client_hello() 685 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, in ssl3_send_client_hello() 698 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, SSL_R_CLIENTHELLO_TLSEXT); in ssl3_send_client_hello() 705 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, ERR_R_INTERNAL_ERROR); in ssl3_send_client_hello() 749 OPENSSL_PUT_ERROR(SSL, ssl3_get_server_hello, in ssl3_get_server_hello() 764 OPENSSL_PUT_ERROR(SSL, ssl3_get_server_hello, SSL_R_DECODE_ERROR); in ssl3_get_server_hello() [all …]
|
D | s3_srvr.c | 202 OPENSSL_PUT_ERROR(SSL, ssl3_accept, SSL_R_NO_CERTIFICATE_SET); in ssl3_accept() 234 OPENSSL_PUT_ERROR(SSL, ssl3_accept, ERR_R_INTERNAL_ERROR); in ssl3_accept() 567 OPENSSL_PUT_ERROR(SSL, ssl3_accept, SSL_R_UNKNOWN_STATE); in ssl3_accept() 634 OPENSSL_PUT_ERROR(SSL, ssl3_get_initial_bytes, SSL_R_HTTP_REQUEST); in ssl3_get_initial_bytes() 638 OPENSSL_PUT_ERROR(SSL, ssl3_get_initial_bytes, SSL_R_HTTPS_PROXY_REQUEST); in ssl3_get_initial_bytes() 672 OPENSSL_PUT_ERROR(SSL, ssl3_get_initial_bytes, SSL_R_UNKNOWN_PROTOCOL); in ssl3_get_initial_bytes() 692 OPENSSL_PUT_ERROR(SSL, ssl3_get_v2_client_hello, SSL_R_RECORD_TOO_LARGE); in ssl3_get_v2_client_hello() 699 OPENSSL_PUT_ERROR(SSL, ssl3_get_v2_client_hello, in ssl3_get_v2_client_hello() 732 OPENSSL_PUT_ERROR(SSL, ssl3_get_v2_client_hello, SSL_R_DECODE_ERROR); in ssl3_get_v2_client_hello() 752 OPENSSL_PUT_ERROR(SSL, ssl3_get_v2_client_hello, ERR_R_MALLOC_FAILURE); in ssl3_get_v2_client_hello() [all …]
|
D | d1_srtp.c | 181 OPENSSL_PUT_ERROR(SSL, ssl_ctx_make_profiles, in ssl_ctx_make_profiles() 193 OPENSSL_PUT_ERROR(SSL, ssl_ctx_make_profiles, in ssl_ctx_make_profiles() 258 OPENSSL_PUT_ERROR(SSL, ssl_add_clienthello_use_srtp_ext, in ssl_add_clienthello_use_srtp_ext() 264 OPENSSL_PUT_ERROR(SSL, ssl_add_clienthello_use_srtp_ext, in ssl_add_clienthello_use_srtp_ext() 296 OPENSSL_PUT_ERROR(SSL, ssl_parse_clienthello_use_srtp_ext, in ssl_parse_clienthello_use_srtp_ext() 304 OPENSSL_PUT_ERROR(SSL, ssl_parse_clienthello_use_srtp_ext, in ssl_parse_clienthello_use_srtp_ext() 356 OPENSSL_PUT_ERROR(SSL, ssl_add_serverhello_use_srtp_ext, in ssl_add_serverhello_use_srtp_ext() 362 OPENSSL_PUT_ERROR(SSL, ssl_add_serverhello_use_srtp_ext, in ssl_add_serverhello_use_srtp_ext() 392 OPENSSL_PUT_ERROR(SSL, ssl_parse_serverhello_use_srtp_ext, in ssl_parse_serverhello_use_srtp_ext() 400 OPENSSL_PUT_ERROR(SSL, ssl_parse_serverhello_use_srtp_ext, in ssl_parse_serverhello_use_srtp_ext() [all …]
|
D | s3_pkt.c | 209 OPENSSL_PUT_ERROR(SSL, ssl3_read_n, ERR_R_INTERNAL_ERROR); in ssl3_read_n() 226 OPENSSL_PUT_ERROR(SSL, ssl3_read_n, SSL_R_READ_BIO_NOT_SET); in ssl3_read_n() 305 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_WRONG_VERSION_NUMBER); in ssl3_get_record() 311 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_WRONG_VERSION_NUMBER); in ssl3_get_record() 317 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_ENCRYPTED_LENGTH_TOO_LONG); in ssl3_get_record() 357 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, in ssl3_get_record() 366 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_DATA_LENGTH_TOO_LONG); in ssl3_get_record() 387 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_TOO_MANY_EMPTY_FRAGMENTS); in ssl3_get_record() 423 OPENSSL_PUT_ERROR(SSL, ssl3_write_bytes, SSL_R_SSL_HANDSHAKE_FAILURE); in ssl3_write_bytes() 436 OPENSSL_PUT_ERROR(SSL, ssl3_write_bytes, SSL_R_BAD_LENGTH); in ssl3_write_bytes() [all …]
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 119 OPENSSL_PUT_ERROR(ECDSA, digest_to_bn, ERR_R_BN_LIB); in digest_to_bn() 126 OPENSSL_PUT_ERROR(ECDSA, digest_to_bn, ERR_R_BN_LIB); in digest_to_bn() 148 OPENSSL_PUT_ERROR(ECDSA, ECDSA_do_verify, ECDSA_R_NOT_IMPLEMENTED); in ECDSA_do_verify() 156 OPENSSL_PUT_ERROR(ECDSA, ECDSA_do_verify, ECDSA_R_MISSING_PARAMETERS); in ECDSA_do_verify() 162 OPENSSL_PUT_ERROR(ECDSA, ECDSA_do_verify, ERR_R_MALLOC_FAILURE); in ECDSA_do_verify() 172 OPENSSL_PUT_ERROR(ECDSA, ECDSA_do_verify, ERR_R_BN_LIB); in ECDSA_do_verify() 177 OPENSSL_PUT_ERROR(ECDSA, ECDSA_do_verify, ERR_R_EC_LIB); in ECDSA_do_verify() 184 OPENSSL_PUT_ERROR(ECDSA, ECDSA_do_verify, ECDSA_R_BAD_SIGNATURE); in ECDSA_do_verify() 190 OPENSSL_PUT_ERROR(ECDSA, ECDSA_do_verify, ERR_R_BN_LIB); in ECDSA_do_verify() 198 OPENSSL_PUT_ERROR(ECDSA, ECDSA_do_verify, ERR_R_BN_LIB); in ECDSA_do_verify() [all …]
|
/external/boringssl/src/crypto/ec/ |
D | ec.c | 240 OPENSSL_PUT_ERROR(EC, ec_group_new, EC_R_SLOT_FULL); in ec_group_new() 245 OPENSSL_PUT_ERROR(EC, ec_group_new, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in ec_group_new() 251 OPENSSL_PUT_ERROR(EC, ec_group_new, ERR_R_MALLOC_FAILURE); in ec_group_new() 279 OPENSSL_PUT_ERROR(EC, EC_GROUP_new_curve_GFp, in EC_GROUP_new_curve_GFp() 340 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_MALLOC_FAILURE); in ec_group_new_from_data() 351 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_BN_LIB); in ec_group_new_from_data() 359 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_EC_LIB); in ec_group_new_from_data() 364 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_EC_LIB); in ec_group_new_from_data() 370 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_EC_LIB); in ec_group_new_from_data() 376 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_BN_LIB); in ec_group_new_from_data() [all …]
|
D | ec_asn1.c | 171 OPENSSL_PUT_ERROR(EC, ec_asn1_group2pkparameters, ERR_R_MALLOC_FAILURE); in ec_asn1_group2pkparameters() 199 OPENSSL_PUT_ERROR(EC, ec_asn1_pkparameters2group, EC_R_MISSING_PARAMETERS); in ec_asn1_pkparameters2group() 225 OPENSSL_PUT_ERROR(EC, ec_asn1_pkparameters2group, EC_R_NON_NAMED_CURVE); in ec_asn1_pkparameters2group() 231 OPENSSL_PUT_ERROR(EC, ec_asn1_pkparameters2group, in ec_asn1_pkparameters2group() 246 OPENSSL_PUT_ERROR(EC, d2i_ECPKParameters, EC_R_D2I_ECPKPARAMETERS_FAILURE); in d2i_ECPKParameters() 253 OPENSSL_PUT_ERROR(EC, d2i_ECPKParameters, EC_R_PKPARAMETERS2GROUP_FAILURE); in d2i_ECPKParameters() 271 OPENSSL_PUT_ERROR(EC, i2d_ECPKParameters, EC_R_GROUP2PKPARAMETERS_FAILURE); in i2d_ECPKParameters() 276 OPENSSL_PUT_ERROR(EC, i2d_ECPKParameters, EC_R_I2D_ECPKPARAMETERS_FAILURE); in i2d_ECPKParameters() 291 OPENSSL_PUT_ERROR(EC, d2i_ECPrivateKey, ERR_R_EC_LIB); in d2i_ECPrivateKey() 298 OPENSSL_PUT_ERROR(EC, d2i_ECPrivateKey, ERR_R_MALLOC_FAILURE); in d2i_ECPrivateKey() [all …]
|
D | oct.c | 88 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, EC_R_INVALID_FORM); in ec_GFp_simple_point2oct() 96 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_point2oct() 113 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_point2oct() 145 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct() 152 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct() 159 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct() 190 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_oct2point, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_oct2point() 198 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_oct2point, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 202 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_oct2point, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 208 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_oct2point, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() [all …]
|
D | wnaf.c | 103 OPENSSL_PUT_ERROR(EC, ec_pre_comp_new, ERR_R_MALLOC_FAILURE); in ec_pre_comp_new() 161 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_MALLOC_FAILURE); in compute_wNAF() 172 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR); in compute_wNAF() 184 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR); in compute_wNAF() 195 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_MALLOC_FAILURE); in compute_wNAF() 228 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR); in compute_wNAF() 238 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR); in compute_wNAF() 249 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR); in compute_wNAF() 255 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR); in compute_wNAF() 319 OPENSSL_PUT_ERROR(EC, ec_wNAF_mul, EC_R_INCOMPATIBLE_OBJECTS); in ec_wNAF_mul() [all …]
|
/external/boringssl/src/crypto/evp/ |
D | evp_ctx.c | 105 OPENSSL_PUT_ERROR(EVP, evp_pkey_ctx_new, EVP_R_UNSUPPORTED_ALGORITHM); in evp_pkey_ctx_new() 113 OPENSSL_PUT_ERROR(EVP, evp_pkey_ctx_new, ERR_R_MALLOC_FAILURE); in evp_pkey_ctx_new() 195 OPENSSL_PUT_ERROR(EVP, EVP_PKEY_CTX_dup, ERR_LIB_EVP); in EVP_PKEY_CTX_dup() 210 OPENSSL_PUT_ERROR(EVP, EVP_PKEY_CTX_ctrl, EVP_R_COMMAND_NOT_SUPPORTED); in EVP_PKEY_CTX_ctrl() 218 OPENSSL_PUT_ERROR(EVP, EVP_PKEY_CTX_ctrl, EVP_R_NO_OPERATION_SET); in EVP_PKEY_CTX_ctrl() 223 OPENSSL_PUT_ERROR(EVP, EVP_PKEY_CTX_ctrl, EVP_R_INVALID_OPERATION); in EVP_PKEY_CTX_ctrl() 232 OPENSSL_PUT_ERROR(EVP, EVP_PKEY_sign_init, in EVP_PKEY_sign_init() 253 OPENSSL_PUT_ERROR(EVP, EVP_PKEY_sign, in EVP_PKEY_sign() 258 OPENSSL_PUT_ERROR(EVP, EVP_PKEY_sign, EVP_R_OPERATON_NOT_INITIALIZED); in EVP_PKEY_sign() 266 OPENSSL_PUT_ERROR(EVP, EVP_PKEY_verify_init, in EVP_PKEY_verify_init() [all …]
|
D | p_ec_asn1.c | 74 OPENSSL_PUT_ERROR(EVP, eckey_param2type, EVP_R_MISSING_PARAMETERS); in eckey_param2type() 80 OPENSSL_PUT_ERROR(EVP, eckey_param2type, EVP_R_NO_NID_FOR_CURVE); in eckey_param2type() 97 OPENSSL_PUT_ERROR(EVP, eckey_pub_encode, ERR_R_EC_LIB); in eckey_pub_encode() 140 OPENSSL_PUT_ERROR(EVP, eckey_type2param, EVP_R_DECODE_ERROR); in eckey_type2param() 153 OPENSSL_PUT_ERROR(EVP, eckey_type2param, EVP_R_DECODE_ERROR); in eckey_type2param() 180 OPENSSL_PUT_ERROR(EVP, eckey_pub_decode, ERR_R_EC_LIB); in eckey_pub_decode() 186 OPENSSL_PUT_ERROR(EVP, eckey_pub_decode, EVP_R_DECODE_ERROR); in eckey_pub_decode() 235 OPENSSL_PUT_ERROR(EVP, eckey_priv_decode, EVP_R_DECODE_ERROR); in eckey_priv_decode() 249 OPENSSL_PUT_ERROR(EVP, eckey_priv_decode, ERR_R_EC_LIB); in eckey_priv_decode() 254 OPENSSL_PUT_ERROR(EVP, eckey_priv_decode, ERR_R_EC_LIB); in eckey_priv_decode() [all …]
|
/external/boringssl/src/crypto/asn1/ |
D | tasn_dec.c | 192 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE); in ASN1_item_ex_d2i() 209 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 218 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_MSTRING_NOT_UNIVERSAL); in ASN1_item_ex_d2i() 227 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_MSTRING_WRONG_TAG); in ASN1_item_ex_d2i() 258 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 286 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 301 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 323 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 343 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_NESTED_ASN1_ERROR); in ASN1_item_ex_d2i() 357 OPENSSL_PUT_ERROR(ASN1, ASN1_item_ex_d2i, ASN1_R_NO_MATCHING_CHOICE_TYPE); in ASN1_item_ex_d2i() [all …]
|
D | a_d2i_fp.c | 78 OPENSSL_PUT_ERROR(ASN1, ASN1_d2i_fp, ERR_R_BUF_LIB); in ASN1_d2i_fp() 132 OPENSSL_PUT_ERROR(ASN1, ASN1_item_d2i_fp, ERR_R_BUF_LIB); in ASN1_item_d2i_fp() 157 OPENSSL_PUT_ERROR(ASN1, asn1_d2i_read_bio, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 170 OPENSSL_PUT_ERROR(ASN1, asn1_d2i_read_bio, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 176 OPENSSL_PUT_ERROR(ASN1, asn1_d2i_read_bio, ASN1_R_NOT_ENOUGH_DATA); in asn1_d2i_read_bio() 183 OPENSSL_PUT_ERROR(ASN1, asn1_d2i_read_bio, ASN1_R_TOO_LONG); in asn1_d2i_read_bio() 214 OPENSSL_PUT_ERROR(ASN1, asn1_d2i_read_bio, ASN1_R_HEADER_TOO_LONG); in asn1_d2i_read_bio() 238 OPENSSL_PUT_ERROR(ASN1, asn1_d2i_read_bio, ASN1_R_TOO_LONG); in asn1_d2i_read_bio() 243 OPENSSL_PUT_ERROR(ASN1, asn1_d2i_read_bio, ERR_R_MALLOC_FAILURE); in asn1_d2i_read_bio() 251 OPENSSL_PUT_ERROR(ASN1, asn1_d2i_read_bio, ASN1_R_NOT_ENOUGH_DATA); in asn1_d2i_read_bio() [all …]
|
/external/boringssl/src/crypto/rsa/ |
D | padding.c | 77 OPENSSL_PUT_ERROR(RSA, RSA_padding_add_PKCS1_type_1, in RSA_padding_add_PKCS1_type_1() 83 OPENSSL_PUT_ERROR(RSA, RSA_padding_add_PKCS1_type_1, in RSA_padding_add_PKCS1_type_1() 108 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, in RSA_padding_check_PKCS1_type_1() 115 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, in RSA_padding_check_PKCS1_type_1() 129 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, in RSA_padding_check_PKCS1_type_1() 138 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, in RSA_padding_check_PKCS1_type_1() 144 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, in RSA_padding_check_PKCS1_type_1() 151 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, in RSA_padding_check_PKCS1_type_1() 166 OPENSSL_PUT_ERROR(RSA, RSA_padding_add_PKCS1_type_2, in RSA_padding_add_PKCS1_type_2() 172 OPENSSL_PUT_ERROR(RSA, RSA_padding_add_PKCS1_type_2, in RSA_padding_add_PKCS1_type_2() [all …]
|
D | rsa.c | 82 OPENSSL_PUT_ERROR(RSA, RSA_new_method, ERR_R_MALLOC_FAILURE); in RSA_new_method() 358 OPENSSL_PUT_ERROR(RSA, pkcs1_prefixed_msg, RSA_R_INVALID_MESSAGE_LENGTH); in pkcs1_prefixed_msg() 381 OPENSSL_PUT_ERROR(RSA, pkcs1_prefixed_msg, RSA_R_TOO_LONG); in pkcs1_prefixed_msg() 387 OPENSSL_PUT_ERROR(RSA, pkcs1_prefixed_msg, ERR_R_MALLOC_FAILURE); in pkcs1_prefixed_msg() 401 OPENSSL_PUT_ERROR(RSA, pkcs1_prefixed_msg, RSA_R_UNKNOWN_ALGORITHM_TYPE); in pkcs1_prefixed_msg() 425 OPENSSL_PUT_ERROR(RSA, RSA_sign, RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY); in RSA_sign() 456 OPENSSL_PUT_ERROR(RSA, RSA_verify, RSA_R_WRONG_SIGNATURE_LENGTH); in RSA_verify() 461 OPENSSL_PUT_ERROR(RSA, RSA_verify, RSA_R_INVALID_MESSAGE_LENGTH); in RSA_verify() 467 OPENSSL_PUT_ERROR(RSA, RSA_verify, ERR_R_MALLOC_FAILURE); in RSA_verify() 482 OPENSSL_PUT_ERROR(RSA, RSA_verify, RSA_R_BAD_SIGNATURE); in RSA_verify() [all …]
|
D | rsa_impl.c | 97 OPENSSL_PUT_ERROR(RSA, encrypt, RSA_R_MODULUS_TOO_LARGE); in encrypt() 102 OPENSSL_PUT_ERROR(RSA, encrypt, RSA_R_OUTPUT_BUFFER_TOO_SMALL); in encrypt() 107 OPENSSL_PUT_ERROR(RSA, encrypt, RSA_R_BAD_E_VALUE); in encrypt() 114 OPENSSL_PUT_ERROR(RSA, encrypt, RSA_R_BAD_E_VALUE); in encrypt() 128 OPENSSL_PUT_ERROR(RSA, encrypt, ERR_R_MALLOC_FAILURE); in encrypt() 145 OPENSSL_PUT_ERROR(RSA, encrypt, RSA_R_UNKNOWN_PADDING_TYPE); in encrypt() 159 OPENSSL_PUT_ERROR(RSA, encrypt, RSA_R_DATA_TOO_LARGE_FOR_MODULUS); in encrypt() 178 OPENSSL_PUT_ERROR(RSA, encrypt, ERR_R_INTERNAL_ERROR); in encrypt() 312 OPENSSL_PUT_ERROR(RSA, sign_raw, RSA_R_OUTPUT_BUFFER_TOO_SMALL); in sign_raw() 318 OPENSSL_PUT_ERROR(RSA, sign_raw, ERR_R_MALLOC_FAILURE); in sign_raw() [all …]
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8.c | 203 OPENSSL_PUT_ERROR(PKCS8, pkcs12_key_gen_raw, ERR_R_MALLOC_FAILURE); in pkcs12_key_gen_raw() 230 OPENSSL_PUT_ERROR(PKCS8, pkcs12_pbe_keyivgen, PKCS8_R_DECODE_ERROR); in pkcs12_pbe_keyivgen() 237 OPENSSL_PUT_ERROR(PKCS8, pkcs12_pbe_keyivgen, PKCS8_R_DECODE_ERROR); in pkcs12_pbe_keyivgen() 250 OPENSSL_PUT_ERROR(PKCS8, pkcs12_pbe_keyivgen, PKCS8_R_KEY_GEN_ERROR); in pkcs12_pbe_keyivgen() 256 OPENSSL_PUT_ERROR(PKCS8, pkcs12_pbe_keyivgen, PKCS8_R_KEY_GEN_ERROR); in pkcs12_pbe_keyivgen() 312 OPENSSL_PUT_ERROR(PKCS8, pbe_cipher_init, PKCS8_R_UNKNOWN_ALGORITHM); in pbe_cipher_init() 327 OPENSSL_PUT_ERROR(PKCS8, pbe_cipher_init, PKCS8_R_UNKNOWN_CIPHER); in pbe_cipher_init() 337 OPENSSL_PUT_ERROR(PKCS8, pbe_cipher_init, PKCS8_R_UNKNOWN_DIGEST); in pbe_cipher_init() 344 OPENSSL_PUT_ERROR(PKCS8, pbe_cipher_init, PKCS8_R_KEYGEN_FAILURE); in pbe_cipher_init() 365 OPENSSL_PUT_ERROR(PKCS8, pbe_crypt, PKCS8_R_UNKNOWN_CIPHER_ALGORITHM); in pbe_crypt() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | asn1_gen.c | 174 OPENSSL_PUT_ERROR(ASN1, ASN1_generate_v3, ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG); in ASN1_generate_v3() 317 OPENSSL_PUT_ERROR(ASN1, asn1_cb, ASN1_R_UNKNOWN_TAG); in asn1_cb() 330 OPENSSL_PUT_ERROR(ASN1, asn1_cb, ASN1_R_MISSING_VALUE); in asn1_cb() 343 OPENSSL_PUT_ERROR(ASN1, asn1_cb, ASN1_R_ILLEGAL_NESTED_TAGGING); in asn1_cb() 381 OPENSSL_PUT_ERROR(ASN1, asn1_cb, ASN1_R_UNKNOWN_FORMAT); in asn1_cb() 394 OPENSSL_PUT_ERROR(ASN1, asn1_cb, ASN1_R_UNKNOWN_FORMAT); in asn1_cb() 418 OPENSSL_PUT_ERROR(ASN1, parse_tagging, ASN1_R_INVALID_NUMBER); in parse_tagging() 451 OPENSSL_PUT_ERROR(ASN1, parse_tagging, ASN1_R_INVALID_MODIFIER); in parse_tagging() 537 OPENSSL_PUT_ERROR(ASN1, append_exp, ASN1_R_ILLEGAL_IMPLICIT_TAG); in append_exp() 543 OPENSSL_PUT_ERROR(ASN1, append_exp, ASN1_R_DEPTH_EXCEEDED); in append_exp() [all …]
|
D | by_file.c | 112 OPENSSL_PUT_ERROR(X509, by_file_ctrl, X509_R_LOADING_DEFAULTS); in by_file_ctrl() 140 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_SYS_LIB); in X509_load_cert_file() 159 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_PEM_LIB); in X509_load_cert_file() 176 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_ASN1_LIB); in X509_load_cert_file() 185 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, X509_R_BAD_X509_FILETYPE); in X509_load_cert_file() 206 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, ERR_R_SYS_LIB); in X509_load_crl_file() 225 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, ERR_R_PEM_LIB); in X509_load_crl_file() 242 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, ERR_R_ASN1_LIB); in X509_load_crl_file() 251 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, X509_R_BAD_X509_FILETYPE); in X509_load_crl_file() 271 OPENSSL_PUT_ERROR(X509, X509_load_cert_crl_file, 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, process_pci_value, X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED); in process_pci_value() 96 OPENSSL_PUT_ERROR(X509V3, process_pci_value, X509V3_R_INVALID_OBJECT_IDENTIFIER); in process_pci_value() 105 OPENSSL_PUT_ERROR(X509V3, process_pci_value, X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED); in process_pci_value() 111 OPENSSL_PUT_ERROR(X509V3, process_pci_value, X509V3_R_POLICY_PATH_LENGTH); in process_pci_value() 125 OPENSSL_PUT_ERROR(X509V3, process_pci_value, ERR_R_MALLOC_FAILURE); in process_pci_value() 138 OPENSSL_PUT_ERROR(X509V3, process_pci_value, X509V3_R_ILLEGAL_HEX_DIGIT); in process_pci_value() 159 OPENSSL_PUT_ERROR(X509V3, process_pci_value, ERR_R_MALLOC_FAILURE); in process_pci_value() 172 OPENSSL_PUT_ERROR(X509V3, process_pci_value, ERR_R_BIO_LIB); in process_pci_value() 197 OPENSSL_PUT_ERROR(X509V3, process_pci_value, ERR_R_BIO_LIB); in process_pci_value() 220 OPENSSL_PUT_ERROR(X509V3, process_pci_value, ERR_R_MALLOC_FAILURE); in process_pci_value() [all …]
|
/external/boringssl/src/crypto/pem/ |
D | pem_lib.c | 131 OPENSSL_PUT_ERROR(PEM, PEM_ASN1_read, ERR_R_BUF_LIB); in PEM_ASN1_read() 278 OPENSSL_PUT_ERROR(PEM, PEM_ASN1_write, ERR_R_BUF_LIB); in PEM_ASN1_write() 305 OPENSSL_PUT_ERROR(PEM, PEM_ASN1_write_bio, PEM_R_UNSUPPORTED_CIPHER); in PEM_ASN1_write_bio() 312 OPENSSL_PUT_ERROR(PEM, PEM_ASN1_write_bio, ERR_R_ASN1_LIB); in PEM_ASN1_write_bio() 321 OPENSSL_PUT_ERROR(PEM, PEM_ASN1_write_bio, ERR_R_MALLOC_FAILURE); in PEM_ASN1_write_bio() 339 OPENSSL_PUT_ERROR(PEM, PEM_ASN1_write_bio, PEM_R_READ_KEY); in PEM_ASN1_write_bio() 411 OPENSSL_PUT_ERROR(PEM, PEM_do_header, PEM_R_BAD_PASSWORD_READ); in PEM_do_header() 431 OPENSSL_PUT_ERROR(PEM, PEM_do_header, PEM_R_BAD_DECRYPT); in PEM_do_header() 461 { OPENSSL_PUT_ERROR(PEM, PEM_get_EVP_CIPHER_INFO, PEM_R_NOT_PROC_TYPE); return(0); } in PEM_get_EVP_CIPHER_INFO() 466 { OPENSSL_PUT_ERROR(PEM, PEM_get_EVP_CIPHER_INFO, PEM_R_NOT_ENCRYPTED); return(0); } in PEM_get_EVP_CIPHER_INFO() [all …]
|
/external/boringssl/src/crypto/cipher/ |
D | e_ssl3.c | 88 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_init, CIPHER_R_UNSUPPORTED_TAG_SIZE); in aead_ssl3_init() 93 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_init, CIPHER_R_BAD_KEY_LENGTH); in aead_ssl3_init() 105 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_init, ERR_R_MALLOC_FAILURE); in aead_ssl3_init() 136 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_seal, CIPHER_R_INVALID_OPERATION); in aead_ssl3_seal() 143 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_seal, CIPHER_R_TOO_LARGE); in aead_ssl3_seal() 148 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_seal, CIPHER_R_BUFFER_TOO_SMALL); in aead_ssl3_seal() 153 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_seal, CIPHER_R_IV_TOO_LARGE); in aead_ssl3_seal() 158 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_seal, CIPHER_R_INVALID_AD_SIZE); in aead_ssl3_seal() 220 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_open, CIPHER_R_INVALID_OPERATION); in aead_ssl3_open() 226 OPENSSL_PUT_ERROR(CIPHER, aead_ssl3_open, CIPHER_R_BAD_DECRYPT); in aead_ssl3_open() [all …]
|
/external/boringssl/src/crypto/bio/ |
D | pair.c | 184 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf, BIO_R_UNINITIALIZED); in BIO_zero_copy_get_read_buf() 191 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf, in BIO_zero_copy_get_read_buf() 198 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf, in BIO_zero_copy_get_read_buf() 204 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf, BIO_R_INVALID_ARGUMENT); in BIO_zero_copy_get_read_buf() 232 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf_done, in BIO_zero_copy_get_read_buf_done() 240 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf_done, in BIO_zero_copy_get_read_buf_done() 247 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf_done, in BIO_zero_copy_get_read_buf_done() 253 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf_done, in BIO_zero_copy_get_read_buf_done() 261 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_read_buf_done, in BIO_zero_copy_get_read_buf_done() 321 OPENSSL_PUT_ERROR(BIO, BIO_zero_copy_get_write_buf, BIO_R_UNINITIALIZED); in BIO_zero_copy_get_write_buf() [all …]
|