Home
last modified time | relevance | path

Searched refs:ERR_GET_REASON (Results 1 – 25 of 28) sorted by relevance

12

/external/boringssl/src/crypto/err/
Derr_test.cc47 EXPECT_EQ(static_cast<int>(i + ERR_NUM_ERRORS + 2), ERR_GET_REASON(err)); in OPENSSL_MSVC_PRAGMA()
76 EXPECT_EQ(2, ERR_GET_REASON(packed_error)); in TEST()
130 EXPECT_EQ(ERR_R_INTERNAL_ERROR, ERR_GET_REASON(error)); in TEST()
155 EXPECT_EQ(ERR_GET_REASON(packed_error), 1); in TEST()
168 EXPECT_EQ(ERR_GET_REASON(packed_error), 1); in TEST()
176 EXPECT_EQ(ERR_GET_REASON(packed_error), 2); in TEST()
184 EXPECT_EQ(ERR_GET_REASON(packed_error), 3); in TEST()
215 EXPECT_EQ(ERR_GET_REASON(packed_error), j); in TEST()
Derr.c400 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/
Dby_file.c143 ERR_GET_REASON(error) == PEM_R_NO_START_LINE && in X509_load_cert_file()
203 ERR_GET_REASON(error) == PEM_R_NO_START_LINE && in X509_load_crl_file()
Dx509_test.cc1133 ASSERT_EQ(X509_R_INVALID_PARAMETER, ERR_GET_REASON(err)); in TEST()
1551 EXPECT_EQ(X509_R_SIGNATURE_ALGORITHM_MISMATCH, ERR_GET_REASON(err)); in TEST()
1686 EXPECT_EQ(ASN1_R_HEADER_TOO_LONG, ERR_GET_REASON(err)); in TEST()
1700 EXPECT_EQ(ASN1_R_NOT_ENOUGH_DATA, ERR_GET_REASON(err)); in TEST()
/external/boringssl/src/crypto/pem/
Dpem_test.cc44 EXPECT_EQ(PEM_R_UNSUPPORTED_ENCRYPTION, ERR_GET_REASON(err)); in TEST()
Dpem_info.c169 ERR_GET_REASON(error) == PEM_R_NO_START_LINE) { in STACK_OF()
Dpem_lib.c222 ERR_GET_REASON(error) == PEM_R_NO_START_LINE) { in PEM_bytes_read_bio()
/external/boringssl/src/crypto/cipher_extra/
Daead_test.cc325 ERR_GET_REASON(err) == CIPHER_R_CTRL_NOT_IMPLEMENTED) { in TEST_P()
627 EXPECT_EQ(CIPHER_R_INVALID_NONCE_SIZE, ERR_GET_REASON(err)); in TEST()
634 EXPECT_EQ(CIPHER_R_INVALID_NONCE_SIZE, ERR_GET_REASON(err)); in TEST()
646 EXPECT_EQ(CIPHER_R_INVALID_NONCE_SIZE, ERR_GET_REASON(err)); in TEST()
653 EXPECT_EQ(CIPHER_R_INVALID_NONCE_SIZE, ERR_GET_REASON(err)); in TEST()
/external/boringssl/src/crypto/evp/
Dscrypt_test.cc74 EXPECT_EQ(EVP_R_MEMORY_LIMIT_EXCEEDED, ERR_GET_REASON(err)); in TEST()
Devp_extra_test.cc502 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/
Derr.h171 #define ERR_GET_REASON(packed_error) ((int)((packed_error) & 0xfff)) macro
/external/boringssl/src/crypto/fipsmodule/ec/
Doct.c303 ERR_GET_REASON(err) == BN_R_NOT_A_SQUARE) { in EC_POINT_set_compressed_coordinates_GFp()
/external/boringssl/src/crypto/bio/
Dbio_test.cc317 EXPECT_EQ(BIO_R_BROKEN_PIPE, ERR_GET_REASON(err)); in TEST_P()
/external/boringssl/src/ssl/
Dssl_file.cc558 ERR_GET_REASON(err) == PEM_R_NO_START_LINE) { in SSL_CTX_use_certificate_chain_file()
Dhandshake.cc572 ERR_GET_REASON(err) == SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE) { in ssl_run_handshake()
Dssl_test.cc2842 ERR_GET_REASON(err) != SSL_R_BAD_WRITE_RETRY) { in ExpectBadWriteRetry()
3776 EXPECT_EQ(ERR_GET_REASON(err), SSL_R_BUFFER_TOO_SMALL); in TEST()
3835 EXPECT_EQ(SSL_R_NO_CIPHERS_AVAILABLE, ERR_GET_REASON(err)); in TEST()
5132 EXPECT_EQ(ERR_GET_REASON(err), SSL_R_BUFFERED_MESSAGES_ON_CIPHER_CHANGE); in TEST_F()
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc650 EXPECT_EQ(RSA_R_KEY_SIZE_TOO_SMALL, ERR_GET_REASON(err)); in TEST()
711 EXPECT_EQ(RSA_R_VALUE_MISSING, ERR_GET_REASON(err)); in TEST()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc355 int reason = ERR_GET_REASON(error); in throwExceptionFromBoringSSLError()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c1171 (ERR_GET_REASON(err) == CKR_PIN_INCORRECT || in tls_is_pin_error()
1172 ERR_GET_REASON(err) == CKR_PIN_INVALID || in tls_is_pin_error()
1173 ERR_GET_REASON(err) == CKR_PIN_LEN_RANGE); in tls_is_pin_error()
2522 ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE) { in tls_load_ca_der()
2613 ERR_GET_REASON(err) == in tls_connection_ca_cert()
3485 ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE) { in tls_connection_engine_ca_cert()
/external/python/cpython2/Modules/
D_ssl.c416 reason = ERR_GET_REASON(errcode); in fill_and_set_sslerror()
2878 (ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE)) { in _add_ca_certs()
2892 (ERR_GET_REASON(err) == ASN1_R_HEADER_TOO_LONG)) { in _add_ca_certs()
2899 (ERR_GET_REASON(err) == PEM_R_NO_START_LINE)) { in _add_ca_certs()
/external/python/cpython3/Modules/
D_ssl.c589 reason = ERR_GET_REASON(errcode); in fill_and_set_sslerror()
788 ERR_GET_REASON(e) == SSL_R_CERTIFICATE_VERIFY_FAILED) { in PySSL_SetError()
3921 (ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE)) { in _add_ca_certs()
3935 (ERR_GET_REASON(err) == ASN1_R_HEADER_TOO_LONG)) { in _add_ca_certs()
3942 (ERR_GET_REASON(err) == PEM_R_NO_START_LINE)) { in _add_ca_certs()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c1304 ERR_GET_REASON(err) != RSA_R_TOO_MANY_ITERATIONS) { in RSA_generate_key_ex()
/external/boringssl/src/
DPORTING.md71 break (grep for `ERR_GET_REASON` and `ERR_GET_FUNC`). This danger also exists
/external/curl/lib/vtls/
Dopenssl.c2842 reason = ERR_GET_REASON(errdetail); in ossl_connect_step2()
3713 ERR_GET_REASON(sslerror) == SSL_R_BIO_NOT_SET && in ossl_send()
/external/boringssl/src/ssl/test/
Dtest_config.cc705 ERR_GET_REASON(err) != PEM_R_NO_START_LINE) { in LoadCertificate()

12