/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7_test.cc | 495 ASSERT_EQ(sk_X509_num(certs.get()), sk_X509_num(certs2.get())); in TestCertReparse() 496 for (size_t i = 0; i < sk_X509_num(certs.get()); i++) { in TestCertReparse() 517 ASSERT_EQ(sk_X509_num(certs.get()), sk_X509_num(certs3)); in TestCertReparse() 518 for (size_t i = 0; i < sk_X509_num(certs.get()); i++) { in TestCertReparse() 539 ASSERT_EQ(sk_X509_num(certs.get()), sk_X509_num(certs4)); in TestCertReparse() 540 for (size_t i = 0; i < sk_X509_num(certs.get()); i++) { in TestCertReparse() 628 ASSERT_EQ(1u, sk_X509_num(certs.get())); in TestPEMCerts()
|
D | pkcs7_x509.c | 34 const size_t initial_certs_len = sk_X509_num(out_certs); in PKCS7_get_certificates() 56 while (sk_X509_num(out_certs) != initial_certs_len) { in PKCS7_get_certificates() 183 for (i = 0; i < sk_X509_num(certs); i++) { in pkcs7_bundle_certificates_cb() 252 if (sk_X509_num(ret->d.sign->cert) == 0) { in pkcs7_new()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/ |
D | pkcs7_test.cc | 495 ASSERT_EQ(sk_X509_num(certs.get()), sk_X509_num(certs2.get())); in TestCertReparse() 496 for (size_t i = 0; i < sk_X509_num(certs.get()); i++) { in TestCertReparse() 517 ASSERT_EQ(sk_X509_num(certs.get()), sk_X509_num(certs3)); in TestCertReparse() 518 for (size_t i = 0; i < sk_X509_num(certs.get()); i++) { in TestCertReparse() 539 ASSERT_EQ(sk_X509_num(certs.get()), sk_X509_num(certs4)); in TestCertReparse() 540 for (size_t i = 0; i < sk_X509_num(certs.get()); i++) { in TestCertReparse() 628 ASSERT_EQ(1u, sk_X509_num(certs.get())); in TestPEMCerts()
|
D | pkcs7_x509.c | 34 const size_t initial_certs_len = sk_X509_num(out_certs); in PKCS7_get_certificates() 56 while (sk_X509_num(out_certs) != initial_certs_len) { in PKCS7_get_certificates() 183 for (i = 0; i < sk_X509_num(certs); i++) { in pkcs7_bundle_certificates_cb() 252 if (sk_X509_num(ret->d.sign->cert) == 0) { in pkcs7_new()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/ |
D | x509_vfy.c | 173 for (i = 0; i < sk_X509_num(certs); i++) { in lookup_cert_match() 178 if (i < sk_X509_num(certs)) in lookup_cert_match() 244 for (size_t k = 0; k < sk_X509_num(ctx->ctx->additional_untrusted); in X509_verify_cert() 256 num = sk_X509_num(ctx->chain); in X509_verify_cert() 332 i = sk_X509_num(ctx->chain); in X509_verify_cert() 343 if (sk_X509_num(ctx->chain) == 1) { in X509_verify_cert() 451 ctx->last_untrusted = sk_X509_num(ctx->chain); in X509_verify_cert() 556 for (i = 0; i < sk_X509_num(sk); i++) { in find_issuer() 764 for (i = sk_X509_num(ctx->chain) - 1; i >= 0; i--) { in check_name_constraints() 775 for (j = sk_X509_num(ctx->chain) - 1; j > i; j--) { in check_name_constraints() [all …]
|
D | x509_cmp.c | 289 for (i = 0; i < sk_X509_num(sk); i++) { in X509_find_by_issuer_and_serial() 302 for (i = 0; i < sk_X509_num(sk); i++) { in X509_find_by_subject() 424 for (; i < sk_X509_num(chain); i++) { in X509_chain_check_suiteb() 479 for (i = 0; i < sk_X509_num(ret); i++) { in STACK_OF()
|
/external/boringssl/src/crypto/x509/ |
D | x509_vfy.c | 173 for (i = 0; i < sk_X509_num(certs); i++) { in lookup_cert_match() 178 if (i < sk_X509_num(certs)) in lookup_cert_match() 244 for (size_t k = 0; k < sk_X509_num(ctx->ctx->additional_untrusted); in X509_verify_cert() 256 num = sk_X509_num(ctx->chain); in X509_verify_cert() 332 i = sk_X509_num(ctx->chain); in X509_verify_cert() 343 if (sk_X509_num(ctx->chain) == 1) { in X509_verify_cert() 451 ctx->last_untrusted = sk_X509_num(ctx->chain); in X509_verify_cert() 556 for (i = 0; i < sk_X509_num(sk); i++) { in find_issuer() 764 for (i = sk_X509_num(ctx->chain) - 1; i >= 0; i--) { in check_name_constraints() 775 for (j = sk_X509_num(ctx->chain) - 1; j > i; j--) { in check_name_constraints() [all …]
|
D | x509_cmp.c | 294 for (i = 0; i < sk_X509_num(sk); i++) { in X509_find_by_issuer_and_serial() 307 for (i = 0; i < sk_X509_num(sk); i++) { in X509_find_by_subject() 429 for (; i < sk_X509_num(chain); i++) { in X509_chain_check_suiteb() 484 for (i = 0; i < sk_X509_num(ret); i++) { in STACK_OF()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs12_test.cc | 1494 ASSERT_EQ(1u, sk_X509_num(certs.get())); in TestImpl() 1530 ASSERT_EQ(0u, sk_X509_num(ca_certs)); in TestCompat() 1754 ASSERT_EQ(offset + chain_der.size(), sk_X509_num(certs2.get())); in TestRoundTrip() 1762 if (sk_X509_num(certs2.get()) > 0) { in TestRoundTrip() 1925 ASSERT_EQ(expect_ca_certs.size(), sk_X509_num(ca_certs)); in ExpectPKCS12Parse()
|
D | pkcs8_x509.c | 641 const size_t original_out_certs_len = sk_X509_num(out_certs); in PKCS12_get_key_and_certs() 771 while (sk_X509_num(out_certs) > original_out_certs_len) { in PKCS12_get_key_and_certs() 952 size_t num_certs = sk_X509_num(ca_certs); in PKCS12_parse() 1090 for (size_t i = 0; i < sk_X509_num(chain); i++) { in make_cert_safe_contents() 1192 (pkey == NULL && cert == NULL && sk_X509_num(chain) == 0)) { in PKCS12_create() 1238 if (cert != NULL || sk_X509_num(chain) > 0) { in PKCS12_create()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/ |
D | pkcs12_test.cc | 1494 ASSERT_EQ(1u, sk_X509_num(certs.get())); in TestImpl() 1530 ASSERT_EQ(0u, sk_X509_num(ca_certs)); in TestCompat() 1754 ASSERT_EQ(offset + chain_der.size(), sk_X509_num(certs2.get())); in TestRoundTrip() 1762 if (sk_X509_num(certs2.get()) > 0) { in TestRoundTrip() 1925 ASSERT_EQ(expect_ca_certs.size(), sk_X509_num(ca_certs)); in ExpectPKCS12Parse()
|
D | pkcs8_x509.c | 610 const size_t original_out_certs_len = sk_X509_num(out_certs); in PKCS12_get_key_and_certs() 740 while (sk_X509_num(out_certs) > original_out_certs_len) { in PKCS12_get_key_and_certs() 921 size_t num_certs = sk_X509_num(ca_certs); in PKCS12_parse() 1059 for (size_t i = 0; i < sk_X509_num(chain); i++) { in make_cert_safe_contents() 1161 (pkey == NULL && cert == NULL && sk_X509_num(chain) == 0)) { in PKCS12_create() 1207 if (cert != NULL || sk_X509_num(chain) > 0) { in PKCS12_create()
|
/external/curl/docs/examples/ |
D | curlx.c | 257 sk_X509_value(p->ca, sk_X509_num(p->ca)-1)); in sslctxfun() 441 if(sk_X509_num(p.ca) <= 0) { in main() 463 for(j = 0; j<sk_X509_num(p.ca); j++) { in main()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl_ocsp.c | 473 for (i = 0; i < sk_X509_num(certs); i++) { in ocsp_find_signer() 569 num = sk_X509_num(basic->certs); in check_ocsp_resp() 658 if (!chain || sk_X509_num(chain) <= 0) { in check_ocsp_resp() 670 tmp_cert = sk_X509_value(chain, sk_X509_num(chain) - 1); in check_ocsp_resp()
|
/external/boringssl/src/tool/ |
D | pkcs12.cc | 132 for (size_t i = 0; i < sk_X509_num(certs.get()); i++) { in DoPKCS12()
|
/external/rust/crates/quiche/deps/boringssl/src/tool/ |
D | pkcs12.cc | 132 for (size_t i = 0; i < sk_X509_num(certs.get()); i++) { in DoPKCS12()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 347 if (sk_X509_num(chain) != sk_X509_num(expect_chain.get())) { in CheckAuthProperties() 349 sk_X509_num(chain), sk_X509_num(expect_chain.get())); in CheckAuthProperties() 353 for (size_t i = 0; i < sk_X509_num(chain); i++) { in CheckAuthProperties()
|
/external/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 347 if (sk_X509_num(chain) != sk_X509_num(expect_chain.get())) { in CheckAuthProperties() 349 sk_X509_num(chain), sk_X509_num(expect_chain.get())); in CheckAuthProperties() 353 for (size_t i = 0; i < sk_X509_num(chain); i++) { in CheckAuthProperties()
|
/external/curl/lib/vtls/ |
D | openssl.c | 896 while(sk_X509_num(ca)) { in cert_stuff() 1828 if(sk_X509_num(ch) >= 2 && sk_X509_num(br->certs) >= 1) { in verifystatus() 1829 X509 *responder = sk_X509_value(br->certs, sk_X509_num(br->certs) - 1); in verifystatus() 1832 for(i = 0; i < sk_X509_num(ch); i++) { in verifystatus() 3471 numcerts = sk_X509_num(sk); in get_cert_chain()
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | ocsp.py | 165 num = self._backend._lib.sk_X509_num(sk_x509)
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/ |
D | pcy_tree.c | 163 n = sk_X509_num(certs); in tree_init()
|
/external/boringssl/src/crypto/x509v3/ |
D | pcy_tree.c | 163 n = sk_X509_num(certs); in tree_init()
|
/external/python/pyopenssl/src/OpenSSL/ |
D | crypto.py | 1784 for i in range(_lib.sk_X509_num(s)): 1915 for i in range(_lib.sk_X509_num(cert_stack)): 3221 for i in range(_lib.sk_X509_num(cacerts)):
|
/external/wpa_supplicant_8/hs20/client/ |
D | est.c | 77 if (!certs || ((num = sk_X509_num(certs)) == 0)) { in pkcs7_to_cert()
|
/external/boringssl/src/ssl/ |
D | ssl_x509.cc | 367 if (cert_chain == nullptr || sk_X509_num(cert_chain) == 0) { in ssl_crypto_x509_session_verify_cert_chain()
|