Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/err/
Derr_test.cc37 EXPECT_EQ(static_cast<int>(i + ERR_NUM_ERRORS + 2), ERR_GET_REASON(err)); in TEST()
66 EXPECT_EQ(2, ERR_GET_REASON(packed_error)); in TEST()
120 EXPECT_EQ(ERR_R_INTERNAL_ERROR, ERR_GET_REASON(error)); in TEST()
Derr.c370 reason = ERR_GET_REASON(packed_error); in ERR_error_string_n()
517 const uint32_t reason = ERR_GET_REASON(packed_error); in ERR_reason_error_string()
/external/boringssl/src/crypto/x509/
Dby_file.c142 if ((ERR_GET_REASON(ERR_peek_last_error()) == in X509_load_cert_file()
201 if ((ERR_GET_REASON(ERR_peek_last_error()) == in X509_load_crl_file()
Dx509_test.cc702 ASSERT_EQ(X509_R_INVALID_PARAMETER, ERR_GET_REASON(err)); in TEST()
/external/boringssl/src/crypto/cipher_extra/
Daead_test.cc324 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/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.h475 #define ERR_GET_REASON(packed_error) ((int)((packed_error) & 0xfff)) macro
/external/boringssl/src/crypto/asn1/
Da_d2i_fp.c208 e = ERR_GET_REASON(ERR_peek_error()); in asn1_d2i_read_bio()
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc652 EXPECT_EQ(RSA_R_KEY_SIZE_TOO_SMALL, ERR_GET_REASON(err)); in TEST()
713 EXPECT_EQ(RSA_R_VALUE_MISSING, ERR_GET_REASON(err)); in TEST()
/external/boringssl/src/crypto/pem/
Dpem_info.c121 error = ERR_GET_REASON(ERR_peek_last_error()); in STACK_OF()
Dpem_lib.c203 if (ERR_GET_REASON(ERR_peek_error()) == PEM_R_NO_START_LINE) in PEM_bytes_read_bio()
/external/conscrypt/common/src/jni/main/include/
DErrors.h288 int reason = ERR_GET_REASON(error);
/external/boringssl/src/crypto/bio/
Dbio_test.cc320 EXPECT_EQ(BIO_R_BROKEN_PIPE, ERR_GET_REASON(err)); in TEST_P()
/external/boringssl/src/crypto/fipsmodule/ec/
Doct.c361 ERR_GET_REASON(err) == BN_R_NOT_A_SQUARE) { in ec_GFp_simple_set_compressed_coordinates()
/external/boringssl/src/ssl/
Dssl_file.cc556 ERR_GET_REASON(err) == PEM_R_NO_START_LINE) { in SSL_CTX_use_certificate_chain_file()
Dssl_test.cc2922 ERR_GET_REASON(err) != SSL_R_BAD_WRITE_RETRY) { in ExpectBadWriteRetry()
3565 EXPECT_EQ(SSL_R_NO_SUPPORTED_VERSIONS_ENABLED, ERR_GET_REASON(err)); in TEST()
3573 EXPECT_EQ(SSL_R_NO_SUPPORTED_VERSIONS_ENABLED, ERR_GET_REASON(err)); in TEST()
Dhandshake_client.cc886 ERR_GET_REASON(err) == SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE) { in ssl3_get_server_hello()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c1086 (ERR_GET_REASON(err) == CKR_PIN_INCORRECT || in tls_is_pin_error()
1087 ERR_GET_REASON(err) == CKR_PIN_INVALID || in tls_is_pin_error()
1088 ERR_GET_REASON(err) == CKR_PIN_LEN_RANGE); in tls_is_pin_error()
1981 ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE) { in tls_load_ca_der()
2072 ERR_GET_REASON(err) == in tls_connection_ca_cert()
2733 ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE) { in tls_connection_engine_ca_cert()
/external/python/cpython2/Modules/
D_ssl.c385 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/boringssl/src/
DPORTING.md57 break (grep for `ERR_GET_REASON` and `ERR_GET_FUNC`). This danger also exists
/external/curl/lib/vtls/
Dopenssl.c2250 reason = ERR_GET_REASON(errdetail); in ossl_connect_step2()
3162 ERR_GET_REASON(sslerror) == SSL_R_BIO_NOT_SET && in ossl_send()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc621 EXPECT_EQ(BN_R_NOT_A_SQUARE, ERR_GET_REASON(err)); in TestNotModSquare()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc183 ERR_GET_REASON(err) != PEM_R_NO_START_LINE) { in LoadCertificate()
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp2183 (ERR_GET_REASON(error) == ECDSA_R_BAD_SIGNATURE)) { in NativeCrypto_ECDSA_verify()
4995 ERR_GET_REASON(last_error) == EVP_R_UNKNOWN_PUBLIC_KEY_TYPE) || in NativeCrypto_X509_get_pubkey()
4997 ERR_GET_REASON(first_error) == EC_R_UNKNOWN_GROUP)) { in NativeCrypto_X509_get_pubkey()

12