/external/boringssl/src/crypto/err/ |
D | err_test.cc | 39 EXPECT_EQ(static_cast<int>(i + ERR_NUM_ERRORS + 2), ERR_GET_REASON(err)); in TEST() 68 EXPECT_EQ(2, ERR_GET_REASON(packed_error)); in TEST() 122 EXPECT_EQ(ERR_R_INTERNAL_ERROR, ERR_GET_REASON(error)); in TEST() 147 EXPECT_EQ(ERR_GET_REASON(packed_error), 1); in TEST() 160 EXPECT_EQ(ERR_GET_REASON(packed_error), 1); in TEST() 168 EXPECT_EQ(ERR_GET_REASON(packed_error), 2); in TEST() 176 EXPECT_EQ(ERR_GET_REASON(packed_error), 3); in TEST() 207 EXPECT_EQ(ERR_GET_REASON(packed_error), j); in TEST()
|
D | err.c | 400 reason = ERR_GET_REASON(packed_error); in ERR_error_string_n() 547 const uint32_t reason = ERR_GET_REASON(packed_error); in ERR_reason_error_string()
|
/external/boringssl/src/crypto/x509/ |
D | by_file.c | 141 if ((ERR_GET_REASON(ERR_peek_last_error()) == in X509_load_cert_file() 200 if ((ERR_GET_REASON(ERR_peek_last_error()) == in X509_load_crl_file()
|
D | x509_test.cc | 746 ASSERT_EQ(X509_R_INVALID_PARAMETER, ERR_GET_REASON(err)); in TEST()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | aead_test.cc | 324 ERR_GET_REASON(err) == CIPHER_R_CTRL_NOT_IMPLEMENTED) { in TEST_P() 626 EXPECT_EQ(CIPHER_R_INVALID_NONCE_SIZE, ERR_GET_REASON(err)); in TEST() 633 EXPECT_EQ(CIPHER_R_INVALID_NONCE_SIZE, ERR_GET_REASON(err)); in TEST() 645 EXPECT_EQ(CIPHER_R_INVALID_NONCE_SIZE, ERR_GET_REASON(err)); in TEST() 652 EXPECT_EQ(CIPHER_R_INVALID_NONCE_SIZE, ERR_GET_REASON(err)); in TEST()
|
/external/curl/docs/examples/ |
D | cacertinmem.c | 99 ERR_GET_REASON(error) != X509_R_CERT_ALREADY_IN_HASH_TABLE) in sslctx_function()
|
/external/boringssl/src/crypto/evp/ |
D | scrypt_test.cc | 74 EXPECT_EQ(EVP_R_MEMORY_LIMIT_EXCEEDED, ERR_GET_REASON(err)); in TEST()
|
D | evp_extra_test.cc | 502 EXPECT_EQ(EVP_R_UNSUPPORTED_ALGORITHM, ERR_GET_REASON(ERR_peek_last_error())); in TEST() 594 EXPECT_EQ(EVP_R_NOT_A_PRIVATE_KEY, ERR_GET_REASON(err)); in TEST()
|
/external/boringssl/src/include/openssl/ |
D | err.h | 168 #define ERR_GET_REASON(packed_error) ((int)((packed_error) & 0xfff)) macro
|
/external/boringssl/src/crypto/asn1/ |
D | a_d2i_fp.c | 208 e = ERR_GET_REASON(ERR_peek_error()); in asn1_d2i_read_bio()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 645 EXPECT_EQ(RSA_R_KEY_SIZE_TOO_SMALL, ERR_GET_REASON(err)); in TEST() 706 EXPECT_EQ(RSA_R_VALUE_MISSING, ERR_GET_REASON(err)); in TEST()
|
/external/boringssl/src/crypto/pem/ |
D | pem_info.c | 121 error = ERR_GET_REASON(ERR_peek_last_error()); in STACK_OF()
|
D | pem_lib.c | 203 if (ERR_GET_REASON(ERR_peek_error()) == PEM_R_NO_START_LINE) in PEM_bytes_read_bio()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 340 ERR_GET_REASON(err) == BN_R_NOT_A_SQUARE) { in EC_POINT_set_compressed_coordinates_GFp()
|
/external/boringssl/src/crypto/bio/ |
D | bio_test.cc | 317 EXPECT_EQ(BIO_R_BROKEN_PIPE, ERR_GET_REASON(err)); in TEST_P()
|
/external/boringssl/src/ssl/ |
D | ssl_file.cc | 556 ERR_GET_REASON(err) == PEM_R_NO_START_LINE) { in SSL_CTX_use_certificate_chain_file()
|
D | handshake.cc | 525 ERR_GET_REASON(err) == SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE) { in ssl_run_handshake()
|
D | ssl_test.cc | 2823 ERR_GET_REASON(err) != SSL_R_BAD_WRITE_RETRY) { in ExpectBadWriteRetry() 3562 EXPECT_EQ(SSL_R_NO_SUPPORTED_VERSIONS_ENABLED, ERR_GET_REASON(err)); in TEST() 3569 EXPECT_EQ(SSL_R_NO_SUPPORTED_VERSIONS_ENABLED, ERR_GET_REASON(err)); in TEST() 3761 EXPECT_EQ(ERR_GET_REASON(err), SSL_R_BUFFER_TOO_SMALL); in TEST() 3820 EXPECT_EQ(SSL_R_NO_CIPHERS_AVAILABLE, ERR_GET_REASON(err)); in TEST()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | jniutil.cc | 340 int reason = ERR_GET_REASON(error); in throwExceptionFromBoringSSLError()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 1112 (ERR_GET_REASON(err) == CKR_PIN_INCORRECT || in tls_is_pin_error() 1113 ERR_GET_REASON(err) == CKR_PIN_INVALID || in tls_is_pin_error() 1114 ERR_GET_REASON(err) == CKR_PIN_LEN_RANGE); in tls_is_pin_error() 2143 ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE) { in tls_load_ca_der() 2234 ERR_GET_REASON(err) == in tls_connection_ca_cert() 2988 ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE) { in tls_connection_engine_ca_cert()
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 385 reason = ERR_GET_REASON(errcode); in fill_and_set_sslerror() 2796 (ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE)) { in _add_ca_certs() 2810 (ERR_GET_REASON(err) == ASN1_R_HEADER_TOO_LONG)) { in _add_ca_certs() 2817 (ERR_GET_REASON(err) == PEM_R_NO_START_LINE)) { in _add_ca_certs()
|
/external/python/cpython3/Modules/ |
D | _ssl.c | 429 reason = ERR_GET_REASON(errcode); in fill_and_set_sslerror() 3385 (ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE)) { in _add_ca_certs() 3399 (ERR_GET_REASON(err) == ASN1_R_HEADER_TOO_LONG)) { in _add_ca_certs() 3406 (ERR_GET_REASON(err) == PEM_R_NO_START_LINE)) { in _add_ca_certs()
|
/external/curl/lib/vtls/ |
D | openssl.c | 2553 reason = ERR_GET_REASON(errdetail); in ossl_connect_step2() 3447 ERR_GET_REASON(sslerror) == SSL_R_BIO_NOT_SET && in ossl_send()
|
/external/boringssl/src/ |
D | PORTING.md | 71 break (grep for `ERR_GET_REASON` and `ERR_GET_FUNC`). This danger also exists
|
/external/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 213 ERR_GET_REASON(err) != PEM_R_NO_START_LINE) { in LoadCertificate()
|