/external/boringssl/src/crypto/evp/ |
D | evp_ctx.c | 100 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in evp_pkey_ctx_new() 107 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in evp_pkey_ctx_new() 181 OPENSSL_PUT_ERROR(EVP, ERR_LIB_EVP); in EVP_PKEY_CTX_dup() 193 OPENSSL_PUT_ERROR(EVP, EVP_R_COMMAND_NOT_SUPPORTED); in EVP_PKEY_CTX_ctrl() 197 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_CTX_ctrl() 202 OPENSSL_PUT_ERROR(EVP, EVP_R_NO_OPERATION_SET); in EVP_PKEY_CTX_ctrl() 207 OPENSSL_PUT_ERROR(EVP, EVP_R_INVALID_OPERATION); in EVP_PKEY_CTX_ctrl() 217 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_sign_init() 228 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); in EVP_PKEY_sign() 232 OPENSSL_PUT_ERROR(EVP, EVP_R_OPERATON_NOT_INITIALIZED); in EVP_PKEY_sign() [all …]
|
D | p_x25519_asn1.c | 34 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in x25519_set_priv_raw() 40 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in x25519_set_priv_raw() 55 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in x25519_set_pub_raw() 61 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in x25519_set_pub_raw() 77 OPENSSL_PUT_ERROR(EVP, EVP_R_NOT_A_PRIVATE_KEY); in x25519_get_priv_raw() 87 OPENSSL_PUT_ERROR(EVP, EVP_R_BUFFER_TOO_SMALL); in x25519_get_priv_raw() 105 OPENSSL_PUT_ERROR(EVP, EVP_R_BUFFER_TOO_SMALL); in x25519_get_pub_raw() 119 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in x25519_pub_decode() 139 OPENSSL_PUT_ERROR(EVP, EVP_R_ENCODE_ERROR); in x25519_pub_encode() 161 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in x25519_priv_decode() [all …]
|
D | p_ed25519_asn1.c | 33 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in ed25519_set_priv_raw() 39 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in ed25519_set_priv_raw() 56 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in ed25519_set_pub_raw() 62 OPENSSL_PUT_ERROR(EVP, ERR_R_MALLOC_FAILURE); in ed25519_set_pub_raw() 78 OPENSSL_PUT_ERROR(EVP, EVP_R_NOT_A_PRIVATE_KEY); in ed25519_get_priv_raw() 88 OPENSSL_PUT_ERROR(EVP, EVP_R_BUFFER_TOO_SMALL); in ed25519_get_priv_raw() 107 OPENSSL_PUT_ERROR(EVP, EVP_R_BUFFER_TOO_SMALL); in ed25519_get_pub_raw() 121 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in ed25519_pub_decode() 141 OPENSSL_PUT_ERROR(EVP, EVP_R_ENCODE_ERROR); in ed25519_pub_encode() 163 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in ed25519_priv_decode() [all …]
|
D | evp_asn1.c | 106 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in EVP_parse_public_key() 110 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in EVP_parse_public_key() 117 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in EVP_parse_public_key() 130 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in EVP_parse_public_key() 146 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in EVP_marshal_public_key() 163 OPENSSL_PUT_ERROR(EVP, EVP_R_DECODE_ERROR); in EVP_parse_private_key() 167 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in EVP_parse_private_key() 182 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in EVP_parse_private_key() 198 OPENSSL_PUT_ERROR(EVP, EVP_R_UNSUPPORTED_ALGORITHM); in EVP_marshal_private_key() 237 OPENSSL_PUT_ERROR(EVP, EVP_R_UNKNOWN_PUBLIC_KEY_TYPE); in old_priv_decode() [all …]
|
/external/boringssl/src/ssl/ |
D | ssl_asn1.cc | 214 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 225 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 234 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() 251 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() 268 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() 286 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 296 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() 209 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_add_file_cert_subjects_to_stack() 260 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_certificate_file() 265 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB); in SSL_use_certificate_file() 277 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SSL_FILETYPE); in SSL_use_certificate_file() 282 OPENSSL_PUT_ERROR(SSL, reason_code); in SSL_use_certificate_file() 302 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_RSAPrivateKey_file() 307 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB); in SSL_use_RSAPrivateKey_file() 320 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SSL_FILETYPE); in SSL_use_RSAPrivateKey_file() [all …]
|
D | tls13_both.cc | 61 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 67 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 83 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 91 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 100 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 123 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls13_process_certificate() 129 OPENSSL_PUT_ERROR(SSL, SSL_R_UNCOMPRESSED_CERT_TOO_LARGE); in tls13_process_certificate() 145 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERT_COMPRESSION_ALG); in tls13_process_certificate() 154 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_DECOMPRESSION_FAILED); in tls13_process_certificate() 162 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_DECOMPRESSION_FAILED); in tls13_process_certificate() [all …]
|
D | ssl_cert.cc | 237 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in check_leaf_cert_and_privkey() 242 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey() 250 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey() 269 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in cert_set_chain_and_key() 274 OPENSSL_PUT_ERROR(SSL, SSL_R_CANNOT_HAVE_BOTH_PRIVKEY_AND_METHOD); in cert_set_chain_and_key() 282 OPENSSL_PUT_ERROR(SSL, SSL_R_CERTIFICATE_AND_PRIVATE_KEY_MISMATCH); in cert_set_chain_and_key() 358 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_parse_cert_chain() 369 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_parse_cert_chain() 379 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_LENGTH_MISMATCH); in ssl_parse_cert_chain() 401 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_parse_cert_chain() [all …]
|
D | ssl_privkey.cc | 81 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in ssl_set_pkey() 175 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SIGNATURE_TYPE); in setup_ctx() 220 OPENSSL_PUT_ERROR(SSL, SSL_R_PRIVATE_KEY_OPERATION_FAILED); in ssl_private_key_sign() 266 OPENSSL_PUT_ERROR(SSL, SSL_R_PRIVATE_KEY_OPERATION_FAILED); in ssl_private_key_decrypt() 275 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_private_key_decrypt() 316 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_RSAPrivateKey() 323 OPENSSL_PUT_ERROR(SSL, ERR_R_EVP_LIB); in SSL_use_RSAPrivateKey() 333 OPENSSL_PUT_ERROR(SSL, ERR_R_ASN1_LIB); in SSL_use_RSAPrivateKey_ASN1() 342 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_PrivateKey() 352 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in SSL_use_PrivateKey_ASN1() [all …]
|
/external/boringssl/src/crypto/asn1/ |
D | tasn_dec.c | 200 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_TOO_DEEP); in asn1_item_ex_d2i() 214 OPENSSL_PUT_ERROR(ASN1, in asn1_item_ex_d2i() 231 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in asn1_item_ex_d2i() 240 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MSTRING_NOT_UNIVERSAL); in asn1_item_ex_d2i() 248 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MSTRING_WRONG_TAG); in asn1_item_ex_d2i() 277 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in asn1_item_ex_d2i() 300 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in asn1_item_ex_d2i() 315 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in asn1_item_ex_d2i() 332 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in asn1_item_ex_d2i() 351 OPENSSL_PUT_ERROR(ASN1, ASN1_R_NESTED_ASN1_ERROR); in asn1_item_ex_d2i() [all …]
|
D | a_mbstr.c | 128 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in OPENSSL_DECLARE_ERROR_REASON() 139 OPENSSL_PUT_ERROR(ASN1, error); in OPENSSL_DECLARE_ERROR_REASON() 151 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_CHARACTERS); in OPENSSL_DECLARE_ERROR_REASON() 169 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_CHARACTERS); in OPENSSL_DECLARE_ERROR_REASON() 178 OPENSSL_PUT_ERROR(ASN1, ASN1_R_STRING_TOO_SHORT); in OPENSSL_DECLARE_ERROR_REASON() 185 OPENSSL_PUT_ERROR(ASN1, ASN1_R_STRING_TOO_LONG); in OPENSSL_DECLARE_ERROR_REASON() 233 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in OPENSSL_DECLARE_ERROR_REASON() 242 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in OPENSSL_DECLARE_ERROR_REASON() 250 OPENSSL_PUT_ERROR(ASN1, ERR_R_MALLOC_FAILURE); in OPENSSL_DECLARE_ERROR_REASON() 258 OPENSSL_PUT_ERROR(ASN1, ERR_R_INTERNAL_ERROR); in OPENSSL_DECLARE_ERROR_REASON() [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_FOR_KEY_SIZE); in RSA_padding_add_PKCS1_type_2() [all …]
|
D | rsa.c | 90 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_new_method() 278 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_public_encrypt() 302 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_private_encrypt() 326 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_private_decrypt() 341 OPENSSL_PUT_ERROR(RSA, ERR_R_OVERFLOW); in RSA_public_decrypt() 452 OPENSSL_PUT_ERROR(RSA, RSA_R_INVALID_MESSAGE_LENGTH); in RSA_add_pkcs1_prefix() 469 OPENSSL_PUT_ERROR(RSA, RSA_R_INVALID_MESSAGE_LENGTH); in RSA_add_pkcs1_prefix() 480 OPENSSL_PUT_ERROR(RSA, RSA_R_TOO_LONG); in RSA_add_pkcs1_prefix() 486 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_add_pkcs1_prefix() 500 OPENSSL_PUT_ERROR(RSA, RSA_R_UNKNOWN_ALGORITHM_TYPE); in RSA_add_pkcs1_prefix() [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() 256 OPENSSL_PUT_ERROR(RSA, RSA_R_VALUE_MISSING); in RSA_encrypt() 267 OPENSSL_PUT_ERROR(RSA, RSA_R_OUTPUT_BUFFER_TOO_SMALL); in RSA_encrypt() 285 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE); in RSA_encrypt() 302 OPENSSL_PUT_ERROR(RSA, RSA_R_UNKNOWN_PADDING_TYPE); in RSA_encrypt() 316 OPENSSL_PUT_ERROR(RSA, RSA_R_DATA_TOO_LARGE_FOR_MODULUS); in RSA_encrypt() 328 OPENSSL_PUT_ERROR(RSA, ERR_R_INTERNAL_ERROR); in RSA_encrypt() 463 OPENSSL_PUT_ERROR(RSA, RSA_R_OUTPUT_BUFFER_TOO_SMALL); in rsa_default_sign_raw() [all …]
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 82 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_FORM); in ec_GFp_simple_point2oct() 87 OPENSSL_PUT_ERROR(EC, EC_R_POINT_AT_INFINITY); in ec_GFp_simple_point2oct() 101 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_point2oct() 115 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); in ec_GFp_simple_point2oct() 136 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); in ec_GFp_simple_oct2point() 146 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 158 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 181 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 194 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); in ec_GFp_simple_oct2point() 216 OPENSSL_PUT_ERROR(EC, EC_R_INCOMPATIBLE_OBJECTS); in EC_POINT_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() 349 OPENSSL_PUT_ERROR(EC, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in EC_GROUP_set_generator() 354 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_GROUP_ORDER); in EC_GROUP_set_generator() 360 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_COFACTOR); in EC_GROUP_set_generator() 377 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_GROUP_ORDER); in EC_GROUP_set_generator() 423 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in ec_group_new_from_data() [all …]
|
D | ec_key.c | 90 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in DEFINE_STATIC_EX_DATA_CLASS() 111 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in EC_KEY_new_method() 144 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); in EC_KEY_new_by_curve_name() 183 OPENSSL_PUT_ERROR(EC, ERR_R_PASSED_NULL_PARAMETER); in EC_KEY_dup() 222 OPENSSL_PUT_ERROR(EC, EC_R_GROUP_MISMATCH); in EC_KEY_set_group() 242 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); in EC_KEY_set_private_key() 251 OPENSSL_PUT_ERROR(EC, EC_R_WRONG_ORDER); in EC_KEY_set_private_key() 266 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); in EC_KEY_set_public_key() 271 OPENSSL_PUT_ERROR(EC, EC_R_GROUP_MISMATCH); in EC_KEY_set_public_key() 300 OPENSSL_PUT_ERROR(EC, ERR_R_PASSED_NULL_PARAMETER); in EC_KEY_check_key() [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() 97 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key() 108 OPENSSL_PUT_ERROR(EC, EC_R_GROUP_MISMATCH); in EC_KEY_parse_private_key() 112 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key() 118 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); in EC_KEY_parse_private_key() 152 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key() 172 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() 215 OPENSSL_PUT_ERROR(EC, EC_R_ENCODE_ERROR); in EC_KEY_marshal_private_key() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | asn1_gen.c | 155 OPENSSL_PUT_ERROR(ASN1, err); in ASN1_generate_v3() 329 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_TAG); in asn1_cb() 340 OPENSSL_PUT_ERROR(ASN1, ASN1_R_MISSING_VALUE); in asn1_cb() 351 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_NESTED_TAGGING); in asn1_cb() 388 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in asn1_cb() 400 OPENSSL_PUT_ERROR(ASN1, ASN1_R_UNKNOWN_FORMAT); in asn1_cb() 423 OPENSSL_PUT_ERROR(ASN1, ASN1_R_INVALID_NUMBER); in parse_tagging() 454 OPENSSL_PUT_ERROR(ASN1, ASN1_R_INVALID_MODIFIER); in parse_tagging() 542 OPENSSL_PUT_ERROR(ASN1, ASN1_R_ILLEGAL_IMPLICIT_TAG); in append_exp() 547 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() 148 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() 208 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_crl_file() 222 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_crl_file() 230 OPENSSL_PUT_ERROR(X509, X509_R_BAD_X509_FILETYPE); in X509_load_crl_file() 252 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_cert_crl_file() [all …]
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_pci.c | 91 OPENSSL_PUT_ERROR(X509V3, in process_pci_value() 97 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_OBJECT_IDENTIFIER); in process_pci_value() 103 OPENSSL_PUT_ERROR(X509V3, in process_pci_value() 109 OPENSSL_PUT_ERROR(X509V3, X509V3_R_POLICY_PATH_LENGTH); in process_pci_value() 119 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value() 130 OPENSSL_PUT_ERROR(X509V3, X509V3_R_ILLEGAL_HEX_DIGIT); in process_pci_value() 151 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value() 173 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value() 178 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INCORRECT_POLICY_SYNTAX_TAG); in process_pci_value() 183 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); in process_pci_value() [all …]
|
D | v3_cpols.c | 154 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); 159 OPENSSL_PUT_ERROR(X509V3, ERR_R_X509V3_LIB); 166 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_POLICY_IDENTIFIER); 178 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_SECTION); 189 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_OBJECT_IDENTIFIER); 195 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); 203 OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); 229 OPENSSL_PUT_ERROR(X509V3, X509V3_R_INVALID_OBJECT_IDENTIFIER); in policy_section() 245 OPENSSL_PUT_ERROR(X509V3, ERR_R_INTERNAL_ERROR); in policy_section() 258 OPENSSL_PUT_ERROR(X509V3, X509V3_R_EXPECTED_A_SECTION_NAME); in policy_section() [all …]
|
/external/boringssl/src/crypto/pkcs8/ |
D | p5_pbev2.c | 142 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_CIPHER); in add_cipher_oid() 152 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_ERROR_SETTING_CIPHER_PARAMS); in pkcs5_pbe2_cipher_init() 170 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER); in PKCS5_pbe2_encrypt_init() 223 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in PKCS5_pbe2_decrypt_init() 229 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION); in PKCS5_pbe2_decrypt_init() 236 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_CIPHER); in PKCS5_pbe2_decrypt_init() 247 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in PKCS5_pbe2_decrypt_init() 252 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_BAD_ITERATION_COUNT); in PKCS5_pbe2_decrypt_init() 261 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_DECODE_ERROR); in PKCS5_pbe2_decrypt_init() 266 OPENSSL_PUT_ERROR(PKCS8, PKCS8_R_UNSUPPORTED_KEYLENGTH); in PKCS5_pbe2_decrypt_init() [all …]
|
/external/boringssl/src/crypto/pem/ |
D | pem_lib.c | 126 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); in PEM_ASN1_read() 262 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); in PEM_ASN1_write() 288 OPENSSL_PUT_ERROR(PEM, PEM_R_UNSUPPORTED_CIPHER); in PEM_ASN1_write_bio() 294 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB); in PEM_ASN1_write_bio() 302 OPENSSL_PUT_ERROR(PEM, ERR_R_MALLOC_FAILURE); in PEM_ASN1_write_bio() 317 OPENSSL_PUT_ERROR(PEM, PEM_R_READ_KEY); in PEM_ASN1_write_bio() 388 OPENSSL_PUT_ERROR(PEM, PEM_R_BAD_PASSWORD_READ); in PEM_do_header() 407 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 …]
|