/third_party/openssl/test/helpers/ |
D | cmp_testlib.c | 46 if ((res = sk_X509_num(sk1) - sk_X509_num(sk2))) in STACK_OF_X509_cmp() 48 for (i = 0; i < sk_X509_num(sk1); i++) { in STACK_OF_X509_cmp()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
D | x509_vfy.c | 128 for (i = 0; i < sk_X509_num(certs); i++) { in lookup_cert_match() 186 int num = sk_X509_num(ctx->chain); in check_auth_level() 256 if (ctx->cert == NULL && sk_X509_num(ctx->untrusted) >= 1) in X509_STORE_CTX_verify() 309 int i, n = sk_X509_num(sk); in sk_X509_contains() 328 for (i = 0; i < sk_X509_num(sk); i++) { in find_issuer() 331 && (((x->ex_flags & EXFLAG_SI) != 0 && sk_X509_num(ctx->chain) == 1) in find_issuer() 382 for (i = 0; i < sk_X509_num(ctx->other_ctx); i++) { in STACK_OF() 456 int purpose, allow_proxy_certs, num = sk_X509_num(ctx->chain); in check_extensions() 651 for (i = sk_X509_num(ctx->chain) - 1; i >= 0; i--) { in check_name_constraints() 732 for (j = sk_X509_num(ctx->chain) - 1; j > i; j--) { in check_name_constraints() [all …]
|
D | x509_cmp.c | 206 for (i = 0; i < sk_X509_num(sk); i++) { in X509_add_cert() 241 int n = sk_X509_num(certs /* may be NULL */); in ossl_x509_add_certs_new() 357 for (i = 0; i < sk_X509_num(sk); i++) { in X509_find_by_issuer_and_serial() 370 for (i = 0; i < sk_X509_num(sk); i++) { in X509_find_by_subject() 504 for (; i < sk_X509_num(chain); i++) { in X509_chain_check_suiteb() 572 for (i = 0; i < sk_X509_num(ret); i++) { in STACK_OF()
|
/third_party/openssl/crypto/x509/ |
D | x509_vfy.c | 128 for (i = 0; i < sk_X509_num(certs); i++) { in lookup_cert_match() 186 int num = sk_X509_num(ctx->chain); in check_auth_level() 256 if (ctx->cert == NULL && sk_X509_num(ctx->untrusted) >= 1) in X509_STORE_CTX_verify() 309 int i, n = sk_X509_num(sk); in sk_X509_contains() 328 for (i = 0; i < sk_X509_num(sk); i++) { in find_issuer() 331 && (((x->ex_flags & EXFLAG_SI) != 0 && sk_X509_num(ctx->chain) == 1) in find_issuer() 382 for (i = 0; i < sk_X509_num(ctx->other_ctx); i++) { in STACK_OF() 456 int purpose, allow_proxy_certs, num = sk_X509_num(ctx->chain); in check_extensions() 651 for (i = sk_X509_num(ctx->chain) - 1; i >= 0; i--) { in check_name_constraints() 732 for (j = sk_X509_num(ctx->chain) - 1; j > i; j--) { in check_name_constraints() [all …]
|
D | x509_cmp.c | 206 for (i = 0; i < sk_X509_num(sk); i++) { in X509_add_cert() 241 int n = sk_X509_num(certs /* may be NULL */); in ossl_x509_add_certs_new() 357 for (i = 0; i < sk_X509_num(sk); i++) { in X509_find_by_issuer_and_serial() 370 for (i = 0; i < sk_X509_num(sk); i++) { in X509_find_by_subject() 504 for (; i < sk_X509_num(chain); i++) { in X509_chain_check_suiteb() 572 for (i = 0; i < sk_X509_num(ret); i++) { in STACK_OF()
|
/third_party/openssl/apps/ |
D | nseq.c | 99 if (!sk_X509_num(seq->certs)) { in nseq_main() 118 for (i = 0; i < sk_X509_num(seq->certs); i++) { in nseq_main()
|
/third_party/node/deps/openssl/openssl/apps/ |
D | nseq.c | 99 if (!sk_X509_num(seq->certs)) { in nseq_main() 118 for (i = 0; i < sk_X509_num(seq->certs); i++) { in nseq_main()
|
/third_party/openssl/demos/pkcs12/ |
D | pkread.c | 95 if (ca != NULL && sk_X509_num(ca) > 0) { in main() 97 for (i = 0; i < sk_X509_num(ca); i++) in main()
|
/third_party/openssl/crypto/ocsp/ |
D | ocsp_vfy.c | 147 x = sk_X509_value(chain, sk_X509_num(chain) - 1); in OCSP_basic_verify() 207 for (i = 0; i < sk_X509_num(certs); i++) { in ocsp_find_signer_sk() 229 if (sk_X509_num(chain) <= 0) { in ocsp_check_issuer() 243 if (sk_X509_num(chain) > 1) { in ocsp_check_issuer()
|
D | ocsp_prn.c | 122 for (i = 0; i < sk_X509_num(sig->certs); i++) { in OCSP_REQUEST_print() 237 for (i = 0; i < sk_X509_num(br->certs); i++) { in OCSP_RESPONSE_print()
|
/third_party/node/deps/openssl/openssl/crypto/ocsp/ |
D | ocsp_vfy.c | 147 x = sk_X509_value(chain, sk_X509_num(chain) - 1); in OCSP_basic_verify() 207 for (i = 0; i < sk_X509_num(certs); i++) { in ocsp_find_signer_sk() 229 if (sk_X509_num(chain) <= 0) { in ocsp_check_issuer() 243 if (sk_X509_num(chain) > 1) { in ocsp_check_issuer()
|
D | ocsp_prn.c | 122 for (i = 0; i < sk_X509_num(sig->certs); i++) { in OCSP_REQUEST_print() 237 for (i = 0; i < sk_X509_num(br->certs); i++) { in OCSP_RESPONSE_print()
|
/third_party/openssl/crypto/ess/ |
D | ess_lib.c | 41 for (i = 0; i < sk_X509_num(certs); ++i) { in OSSL_ESS_signing_cert_new_init() 118 for (i = 0; i < sk_X509_num(certs); ++i) { in OSSL_ESS_signing_cert_v2_new_init() 254 for (i = 0; i < sk_X509_num(certs); ++i) { in find()
|
/third_party/node/deps/openssl/openssl/crypto/ess/ |
D | ess_lib.c | 41 for (i = 0; i < sk_X509_num(certs); ++i) { in OSSL_ESS_signing_cert_new_init() 118 for (i = 0; i < sk_X509_num(certs); ++i) { in OSSL_ESS_signing_cert_v2_new_init() 254 for (i = 0; i < sk_X509_num(certs); ++i) { in find()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
|
/third_party/openssl/crypto/cmp/ |
D | cmp_vfy.c | 211 for (i = sk_X509_num(already_checked /* may be NULL */); i > 0; i--) in already_checked() 368 if (sk_X509_num(certs) <= 0) { in check_msg_with_certs() 373 for (i = 0; i < sk_X509_num(certs); i++) { /* certs may be NULL */ in check_msg_with_certs() 693 if (sk_X509_num(msg->extraCerts) > 10) in ossl_cmp_msg_check_update()
|
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
D | cmp_vfy.c | 211 for (i = sk_X509_num(already_checked /* may be NULL */); i > 0; i--) in already_checked() 368 if (sk_X509_num(certs) <= 0) { in check_msg_with_certs() 373 for (i = 0; i < sk_X509_num(certs); i++) { /* certs may be NULL */ in check_msg_with_certs() 693 if (sk_X509_num(msg->extraCerts) > 10) in ossl_cmp_msg_check_update()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/openssl/ssl/ |
D | ssl_cert.c | 268 for (i = 0; i < sk_X509_num(chain); i++) { in ssl_cert_set0_chain() 390 if ((sk == NULL) || (sk_X509_num(sk) == 0)) in ssl_verify_cert_chain() 894 for (i = 0; i < sk_X509_num(cpk->chain); i++) { in ssl_build_cert_chain() 947 if (sk_X509_num(chain) > 0) { in ssl_build_cert_chain() 949 x = sk_X509_value(chain, sk_X509_num(chain) - 1); in ssl_build_cert_chain() 960 for (i = 0; i < sk_X509_num(chain); i++) { in ssl_build_cert_chain()
|
/third_party/node/deps/openssl/openssl/ssl/ |
D | ssl_cert.c | 268 for (i = 0; i < sk_X509_num(chain); i++) { in ssl_cert_set0_chain() 390 if ((sk == NULL) || (sk_X509_num(sk) == 0)) in ssl_verify_cert_chain() 894 for (i = 0; i < sk_X509_num(cpk->chain); i++) { in ssl_build_cert_chain() 947 if (sk_X509_num(chain) > 0) { in ssl_build_cert_chain() 949 x = sk_X509_value(chain, sk_X509_num(chain) - 1); in ssl_build_cert_chain() 960 for (i = 0; i < sk_X509_num(chain); i++) { in ssl_build_cert_chain()
|
/third_party/node/src/crypto/ |
D | crypto_x509.cc | 158 if (!cert && (ssl_certs == nullptr || sk_X509_num(ssl_certs) == 0)) in GetPeerCert() 168 return sk_X509_num(ssl_certs) in GetPeerCert() 463 if (issuer_chain != nullptr && sk_X509_num(issuer_chain)) { in X509Certificate() 466 Local<Object> obj = sk_X509_num(issuer_chain) in X509Certificate()
|
/third_party/openssl/crypto/pkcs7/ |
D | pk7_smime.c | 47 for (i = 0; i < sk_X509_num(certs); i++) { in PKCS7_sign_ex() 275 for (k = 0; k < sk_X509_num(signers); k++) { in PKCS7_verify() 466 for (i = 0; i < sk_X509_num(certs); i++) { in PKCS7_encrypt_ex()
|
/third_party/openssl/crypto/ts/ |
D | ts_rsp_verify.c | 126 if (!signers || sk_X509_num(signers) != 1) in TS_RESP_verify_signature() 130 untrusted = sk_X509_new_reserve(NULL, sk_X509_num(certs) in TS_RESP_verify_signature() 131 + sk_X509_num(token->d.sign->cert)); in TS_RESP_verify_signature()
|
/third_party/node/deps/openssl/openssl/crypto/pkcs7/ |
D | pk7_smime.c | 47 for (i = 0; i < sk_X509_num(certs); i++) { in PKCS7_sign_ex() 275 for (k = 0; k < sk_X509_num(signers); k++) { in PKCS7_verify() 466 for (i = 0; i < sk_X509_num(certs); i++) { in PKCS7_encrypt_ex()
|
/third_party/node/deps/openssl/openssl/crypto/ts/ |
D | ts_rsp_verify.c | 126 if (!signers || sk_X509_num(signers) != 1) in TS_RESP_verify_signature() 130 untrusted = sk_X509_new_reserve(NULL, sk_X509_num(certs) in TS_RESP_verify_signature() 131 + sk_X509_num(token->d.sign->cert)); in TS_RESP_verify_signature()
|