Home
last modified time | relevance | path

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

12

/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c123 if (CBS_mem_equal(cbs, kCipherOIDs[i].oid, kCipherOIDs[i].oid_len)) { in cbs_to_cipher()
228 if (!CBS_mem_equal(&kdf_obj, kPBKDF2, sizeof(kPBKDF2))) { in PKCS5_pbe2_decrypt_init()
281 if (CBS_mem_equal(&prf, kHMACWithSHA1, sizeof(kHMACWithSHA1))) { in PKCS5_pbe2_decrypt_init()
285 } else if (CBS_mem_equal(&prf, kHMACWithSHA256, sizeof(kHMACWithSHA256))) { in PKCS5_pbe2_decrypt_init()
Dpkcs8_x509.c339 if (CBS_mem_equal(&oid, kFriendlyName, sizeof(kFriendlyName))) { in parse_bag_attributes()
399 const int is_key_bag = CBS_mem_equal(&bag_id, kKeyBag, sizeof(kKeyBag)); in PKCS12_handle_safe_bag()
400 const int is_shrouded_key_bag = CBS_mem_equal(&bag_id, kPKCS8ShroudedKeyBag, in PKCS12_handle_safe_bag()
427 if (CBS_mem_equal(&bag_id, kCertBag, sizeof(kCertBag))) { in PKCS12_handle_safe_bag()
440 if (!CBS_mem_equal(&cert_type, kX509Certificate, in PKCS12_handle_safe_bag()
509 if (CBS_mem_equal(&content_type, kPKCS7EncryptedData, in PKCS12_handle_content_info()
536 if (!CBS_mem_equal(&contents_type, kPKCS7Data, sizeof(kPKCS7Data))) { in PKCS12_handle_content_info()
551 } else if (CBS_mem_equal(&content_type, kPKCS7Data, sizeof(kPKCS7Data))) { in PKCS12_handle_content_info()
591 *out_mac_ok = CBS_mem_equal(expected_mac, hmac, hmac_len); in pkcs12_check_mac()
661 if (!CBS_mem_equal(&content_type, kPKCS7Data, sizeof(kPKCS7Data))) { in PKCS12_get_key_and_certs()
Dpkcs8.c376 if (CBS_mem_equal(&obj, kBuiltinPBE[i].oid, kBuiltinPBE[i].oid_len)) { in pkcs8_pbe_decrypt()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c123 if (CBS_mem_equal(cbs, kCipherOIDs[i].oid, kCipherOIDs[i].oid_len)) { in cbs_to_cipher()
228 if (!CBS_mem_equal(&kdf_obj, kPBKDF2, sizeof(kPBKDF2))) { in PKCS5_pbe2_decrypt_init()
281 if (CBS_mem_equal(&prf, kHMACWithSHA1, sizeof(kHMACWithSHA1))) { in PKCS5_pbe2_decrypt_init()
285 } else if (CBS_mem_equal(&prf, kHMACWithSHA256, sizeof(kHMACWithSHA256))) { in PKCS5_pbe2_decrypt_init()
Dpkcs8_x509.c370 if (CBS_mem_equal(&oid, kFriendlyName, sizeof(kFriendlyName))) { in parse_bag_attributes()
430 const int is_key_bag = CBS_mem_equal(&bag_id, kKeyBag, sizeof(kKeyBag)); in PKCS12_handle_safe_bag()
431 const int is_shrouded_key_bag = CBS_mem_equal(&bag_id, kPKCS8ShroudedKeyBag, in PKCS12_handle_safe_bag()
458 if (CBS_mem_equal(&bag_id, kCertBag, sizeof(kCertBag))) { in PKCS12_handle_safe_bag()
471 if (!CBS_mem_equal(&cert_type, kX509Certificate, in PKCS12_handle_safe_bag()
540 if (CBS_mem_equal(&content_type, kPKCS7EncryptedData, in PKCS12_handle_content_info()
567 if (!CBS_mem_equal(&contents_type, kPKCS7Data, sizeof(kPKCS7Data))) { in PKCS12_handle_content_info()
582 } else if (CBS_mem_equal(&content_type, kPKCS7Data, sizeof(kPKCS7Data))) { in PKCS12_handle_content_info()
622 *out_mac_ok = CBS_mem_equal(expected_mac, hmac, hmac_len); in pkcs12_check_mac()
692 if (!CBS_mem_equal(&content_type, kPKCS7Data, sizeof(kPKCS7Data))) { in PKCS12_get_key_and_certs()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7.c56 if (!CBS_mem_equal(&content_type, kPKCS7SignedData, in pkcs7_parse_header()
/external/boringssl/src/crypto/pkcs7/
Dpkcs7.c56 if (!CBS_mem_equal(&content_type, kPKCS7SignedData, in pkcs7_parse_header()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dtls13_client.cc129 !CBS_mem_equal(&session_id, hs->session_id, hs->session_id_len) || in do_read_hello_retry_request()
141 if (!CBS_mem_equal(&server_random, kHelloRetryRequest, SSL3_RANDOM_SIZE)) { in do_read_hello_retry_request()
284 !CBS_mem_equal(&session_id, hs->session_id, hs->session_id_len) || in do_read_server_hello()
302 if (CBS_mem_equal(&server_random, kHelloRetryRequest, SSL3_RANDOM_SIZE)) { in do_read_server_hello()
Dhandshake.cc449 int finished_ok = CBS_mem_equal(&msg.body, finished, finished_len); in ssl_get_finished()
Dtls13_both.cc400 CBS_mem_equal(&msg.body, verify_data.data(), verify_data.size()); in tls13_process_finished()
Dhandshake_client.cc651 CBS_mem_equal(&session_id, ssl->session->session_id, in do_read_server_hello()
661 CBS_mem_equal(&session_id, hs->session_id, hs->session_id_len)) { in do_read_server_hello()
/external/boringssl/src/ssl/
Dtls13_client.cc130 !CBS_mem_equal(&session_id, hs->session_id, hs->session_id_len) || in do_read_hello_retry_request()
142 if (!CBS_mem_equal(&server_random, kHelloRetryRequest, SSL3_RANDOM_SIZE)) { in do_read_hello_retry_request()
284 !CBS_mem_equal(&session_id, hs->session_id, hs->session_id_len) || in do_read_server_hello()
302 if (CBS_mem_equal(&server_random, kHelloRetryRequest, SSL3_RANDOM_SIZE)) { in do_read_server_hello()
Dhandshake.cc451 int finished_ok = CBS_mem_equal(&msg.body, finished, finished_len); in ssl_get_finished()
Dtls13_both.cc399 CBS_mem_equal(&msg.body, verify_data.data(), verify_data.size()); in tls13_process_finished()
Dhandshake_client.cc647 CBS_mem_equal(&session_id, ssl->session->session_id, in do_read_server_hello()
657 CBS_mem_equal(&session_id, hs->session_id, hs->session_id_len)) { in do_read_server_hello()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dbytestring.h94 OPENSSL_EXPORT int CBS_mem_equal(const CBS *cbs, const uint8_t *data,
/external/boringssl/src/include/openssl/
Dbytestring.h94 OPENSSL_EXPORT int CBS_mem_equal(const CBS *cbs, const uint8_t *data,
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c321 return CBS_mem_equal(&a_copy, b, b_len); in integers_equal()
/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/
Dcbs.c83 int CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len) { in CBS_mem_equal() function
/external/rust/crates/quiche/deps/boringssl/src/crypto/ec_extra/
Dec_asn1.c336 return CBS_mem_equal(&a_copy, b, b_len); in integers_equal()
/external/boringssl/src/crypto/bytestring/
Dcbs.c83 int CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len) { in CBS_mem_equal() function
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list644 CBS_mem_equal
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h672 #define CBS_mem_equal GRPC_SHADOW_CBS_mem_equal macro
/external/rust/crates/grpcio-sys/grpc/src/boringssl/
Dboringssl_prefix_symbols.h1073 #define CBS_mem_equal BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_mem_equal) macro
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc9448 !CBS_mem_equal(&issuer_name_hash, md, EVP_MD_size(digest))) { in ocsp_cert_id_matches_certificate()
9457 !CBS_mem_equal(&issuer_key_hash, md, EVP_MD_size(digest))) { in ocsp_cert_id_matches_certificate()

12