Home
last modified time | relevance | path

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

12

/external/boringssl/src/ssl/
Dtls13_both.cc206 if (sk_CRYPTO_BUFFER_num(certs.get()) == 0) { in tls13_process_certificate()
272 if (sk_CRYPTO_BUFFER_num(certs.get()) == 1) { in tls13_process_certificate()
295 if (sk_CRYPTO_BUFFER_num(certs.get()) == 1) { in tls13_process_certificate()
308 if (sk_CRYPTO_BUFFER_num(certs.get()) == 0) { in tls13_process_certificate()
321 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) == 0) { in tls13_process_certificate()
496 for (size_t i = 1; i < sk_CRYPTO_BUFFER_num(cert->chain.get()); i++) { in tls13_add_certificate()
Dhandshake.cc300 if (sk_CRYPTO_BUFFER_num(prev_session->certs.get()) != in ssl_verify_peer_cert()
301 sk_CRYPTO_BUFFER_num(hs->new_session->certs.get())) { in ssl_verify_peer_cert()
307 for (size_t i = 0; i < sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()); in ssl_verify_peer_cert()
Dssl_asn1.cc232 if (sk_CRYPTO_BUFFER_num(in->certs.get()) > 0 && !in->peer_sha256_valid) { in SSL_SESSION_to_bytes_full()
342 sk_CRYPTO_BUFFER_num(in->certs.get()) >= 2) { in SSL_SESSION_to_bytes_full()
347 for (size_t i = 1; i < sk_CRYPTO_BUFFER_num(in->certs.get()); i++) { in SSL_SESSION_to_bytes_full()
Dssl_x509.cc285 if (sk_CRYPTO_BUFFER_num(sess->certs.get()) > 0) { in ssl_crypto_x509_session_cache_objects()
448 sk_CRYPTO_BUFFER_num(hs->config->cert->chain.get()) > 1) { in ssl_crypto_x509_ssl_auto_chain_if_needed()
938 sk_CRYPTO_BUFFER_num(cert->chain.get()) < 2) { in ssl_cert_cache_chain_certs()
947 for (size_t i = 1; i < sk_CRYPTO_BUFFER_num(cert->chain.get()); i++) { in ssl_cert_cache_chain_certs()
Dssl_cert.cc382 if (sk_CRYPTO_BUFFER_num(chain.get()) == 0) { in ssl_parse_cert_chain()
422 for (size_t i = 0; i < sk_CRYPTO_BUFFER_num(chain); i++) { in ssl_add_cert_chain()
674 return sk_CRYPTO_BUFFER_num(names) > 0; in ssl_has_client_CAs()
Dhandshake_server.cc1172 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) == 0) { in do_read_client_certificate()
1197 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) > 0) { in do_verify_client_certificate()
Dssl_session.cc647 ((sk_CRYPTO_BUFFER_num(session->certs.get()) == 0 && in ssl_session_is_resumable()
Dtls13_server.cc1020 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) == 0) { in do_read_client_certificate_verify()
Dhandshake_client.cc826 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) == 0 || in do_read_server_certificate()
Dssl_test.cc2002 EXPECT_EQ(sk_CRYPTO_BUFFER_num(SSL_get0_peer_certificates(client_.get())), in TEST_P()
2006 EXPECT_EQ(sk_CRYPTO_BUFFER_num(SSL_get0_peer_certificates(server_.get())), in TEST_P()
3303 sk_CRYPTO_BUFFER_num(SSL_CTX_get0_chain(server_ctx.get()))); in TEST()
3440 EXPECT_EQ(1u, sk_CRYPTO_BUFFER_num(peer_names)); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dtls13_both.cc206 if (sk_CRYPTO_BUFFER_num(certs.get()) == 0) { in tls13_process_certificate()
273 if (sk_CRYPTO_BUFFER_num(certs.get()) == 1) { in tls13_process_certificate()
296 if (sk_CRYPTO_BUFFER_num(certs.get()) == 1) { in tls13_process_certificate()
309 if (sk_CRYPTO_BUFFER_num(certs.get()) == 0) { in tls13_process_certificate()
322 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) == 0) { in tls13_process_certificate()
497 for (size_t i = 1; i < sk_CRYPTO_BUFFER_num(cert->chain.get()); i++) { in tls13_add_certificate()
Dhandshake.cc298 if (sk_CRYPTO_BUFFER_num(prev_session->certs.get()) != in ssl_verify_peer_cert()
299 sk_CRYPTO_BUFFER_num(hs->new_session->certs.get())) { in ssl_verify_peer_cert()
305 for (size_t i = 0; i < sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()); in ssl_verify_peer_cert()
Dssl_asn1.cc225 if (sk_CRYPTO_BUFFER_num(in->certs.get()) > 0 && !in->peer_sha256_valid) { in SSL_SESSION_to_bytes_full()
335 sk_CRYPTO_BUFFER_num(in->certs.get()) >= 2) { in SSL_SESSION_to_bytes_full()
340 for (size_t i = 1; i < sk_CRYPTO_BUFFER_num(in->certs.get()); i++) { in SSL_SESSION_to_bytes_full()
Dssl_x509.cc285 if (sk_CRYPTO_BUFFER_num(sess->certs.get()) > 0) { in ssl_crypto_x509_session_cache_objects()
448 sk_CRYPTO_BUFFER_num(hs->config->cert->chain.get()) > 1) { in ssl_crypto_x509_ssl_auto_chain_if_needed()
938 sk_CRYPTO_BUFFER_num(cert->chain.get()) < 2) { in ssl_cert_cache_chain_certs()
947 for (size_t i = 1; i < sk_CRYPTO_BUFFER_num(cert->chain.get()); i++) { in ssl_cert_cache_chain_certs()
Dssl_cert.cc382 if (sk_CRYPTO_BUFFER_num(chain.get()) == 0) { in ssl_parse_cert_chain()
422 for (size_t i = 0; i < sk_CRYPTO_BUFFER_num(chain); i++) { in ssl_add_cert_chain()
674 return sk_CRYPTO_BUFFER_num(names) > 0; in ssl_has_client_CAs()
Dhandshake_server.cc1166 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) == 0) { in do_read_client_certificate()
1191 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) > 0) { in do_verify_client_certificate()
Dtls13_server.cc884 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) == 0) { in do_read_client_certificate_verify()
Dssl_session.cc652 ((sk_CRYPTO_BUFFER_num(session->certs.get()) == 0 && in ssl_session_is_resumable()
Dhandshake_client.cc830 if (sk_CRYPTO_BUFFER_num(hs->new_session->certs.get()) == 0 || in do_read_server_certificate()
Dssl_test.cc2002 EXPECT_EQ(sk_CRYPTO_BUFFER_num(SSL_get0_peer_certificates(client_.get())), in TEST_P()
2006 EXPECT_EQ(sk_CRYPTO_BUFFER_num(SSL_get0_peer_certificates(server_.get())), in TEST_P()
3303 sk_CRYPTO_BUFFER_num(SSL_CTX_get0_chain(server_ctx.get()))); in TEST()
3440 EXPECT_EQ(1u, sk_CRYPTO_BUFFER_num(peer_names)); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7.c91 const size_t initial_certs_len = sk_CRYPTO_BUFFER_num(out_certs); in PKCS7_get_raw_certificates()
125 while (sk_CRYPTO_BUFFER_num(out_certs) != initial_certs_len) { in PKCS7_get_raw_certificates()
Dpkcs7_x509.c41 for (size_t i = 0; i < sk_CRYPTO_BUFFER_num(raw); i++) { in PKCS7_get_certificates()
/external/boringssl/src/crypto/pkcs7/
Dpkcs7.c91 const size_t initial_certs_len = sk_CRYPTO_BUFFER_num(out_certs); in PKCS7_get_raw_certificates()
125 while (sk_CRYPTO_BUFFER_num(out_certs) != initial_certs_len) { in PKCS7_get_raw_certificates()
Dpkcs7_x509.c41 for (size_t i = 0; i < sk_CRYPTO_BUFFER_num(raw); i++) { in PKCS7_get_certificates()
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dtest_config.cc918 if (sk_CRYPTO_BUFFER_num(buffers) != num_received) { in CheckCertificateRequest()

12