Home
last modified time | relevance | path

Searched refs:sk_X509_num (Results 1 – 25 of 155) sorted by relevance

1234567

/third_party/openssl/test/helpers/
Dcmp_testlib.c46 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/
Dx509_vfy.c128 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 …]
Dx509_cmp.c206 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/
Dx509_vfy.c128 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 …]
Dx509_cmp.c206 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/
Dnseq.c99 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/
Dnseq.c99 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/
Dpkread.c95 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/
Docsp_vfy.c147 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()
Docsp_prn.c122 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/
Docsp_vfy.c147 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()
Docsp_prn.c122 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/
Dess_lib.c41 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/
Dess_lib.c41 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/
Dtls_openssl_ocsp.c473 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/
Dcmp_vfy.c211 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/
Dcmp_vfy.c211 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/
Dtls_openssl_ocsp.c473 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/
Dssl_cert.c268 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/
Dssl_cert.c268 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/
Dcrypto_x509.cc158 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/
Dpk7_smime.c47 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/
Dts_rsp_verify.c126 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/
Dpk7_smime.c47 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/
Dts_rsp_verify.c126 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()

1234567