/hostap-3.7.0/src/crypto/ |
D | tls_openssl_ocsp.c | 166 STACK_OF(X509) *certs; 214 ASN1_EXP_SEQUENCE_OF_OPT(BasicOCSPResponse, certs, X509, 0) 460 static X509 * ocsp_find_signer(STACK_OF(X509) *certs, ResponderID *rid) in ocsp_find_signer() argument 467 return X509_find_by_subject(certs, rid->value.byName); in ocsp_find_signer() 473 for (i = 0; i < sk_X509_num(certs); i++) { in ocsp_find_signer() 474 X509 *x = sk_X509_value(certs, i); in ocsp_find_signer() 504 STACK_OF(X509) *untrusted = NULL, *certs = NULL, *chain = NULL; in check_ocsp_resp() 564 if (basic->certs) { in check_ocsp_resp() 565 untrusted = sk_X509_dup(basic->certs); in check_ocsp_resp() 569 num = sk_X509_num(basic->certs); in check_ocsp_resp() [all …]
|
D | tls_gnutls.c | 1140 const gnutls_datum_t *certs; in tls_connection_verify_peer() local 1197 certs = gnutls_certificate_get_peers(session, &num_certs); in tls_connection_verify_peer() 1198 if (certs == NULL || num_certs == 0) { in tls_connection_verify_peer() 1279 if (gnutls_x509_crt_import(cert, &certs[i], in tls_connection_verify_peer() 1309 cert_buf = wpabuf_alloc_copy(certs[i].data, in tls_connection_verify_peer() 1310 certs[i].size); in tls_connection_verify_peer() 1314 _addr[0] = certs[i].data; in tls_connection_verify_peer() 1315 _len[0] = certs[i].size; in tls_connection_verify_peer() 1335 conn, &certs[i], i, buf, in tls_connection_verify_peer() 1351 conn, &certs[i], i, buf, in tls_connection_verify_peer() [all …]
|
D | tls_openssl.c | 3413 STACK_OF(X509) *certs; in tls_parse_pkcs12() 3419 certs = NULL; in tls_parse_pkcs12() 3422 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) { in tls_parse_pkcs12() 3457 if (certs) { in tls_parse_pkcs12() 3463 while ((cert = sk_X509_pop(certs)) != NULL) { in tls_parse_pkcs12() 3482 sk_X509_pop_free(certs, X509_free); in tls_parse_pkcs12() 3509 while ((cert = sk_X509_pop(certs)) != NULL) { in tls_parse_pkcs12() 3525 sk_X509_pop_free(certs, X509_free); in tls_parse_pkcs12() 4828 STACK_OF(X509) *certs = NULL; in ocsp_resp_cb() 4867 certs = sk_X509_new_null(); in ocsp_resp_cb() [all …]
|
D | crypto_openssl.c | 2976 STACK_OF(X509) *certs; in crypto_pkcs7_get_certificates() 2984 certs = sk_X509_new_null(); in crypto_pkcs7_get_certificates() 2985 if (!certs) in crypto_pkcs7_get_certificates() 2988 if (!PKCS7_get_certificates(certs, &pkcs7_cbs)) { in crypto_pkcs7_get_certificates() 3005 certs = p7->d.sign->cert; in crypto_pkcs7_get_certificates() 3008 certs = p7->d.signed_and_enveloped->cert; in crypto_pkcs7_get_certificates() 3011 certs = NULL; in crypto_pkcs7_get_certificates() 3016 if (!certs || ((num = sk_X509_num(certs)) == 0)) { in crypto_pkcs7_get_certificates() 3027 X509 *cert = sk_X509_value(certs, i); in crypto_pkcs7_get_certificates() 3046 if (certs) in crypto_pkcs7_get_certificates() [all …]
|
/hostap-3.7.0/tests/ |
D | test-x509v3.c | 20 struct x509_certificate *certs = NULL, *last = NULL, *cert; in main() local 47 if (certs == NULL) in main() 48 certs = cert; in main() 55 if (x509_certificate_chain_validate(last, certs, &reason, 0) < 0) { in main()
|
D | test_x509v3_nist2.sh | 81 pushd $TESTS/certs
|
/hostap-3.7.0/hs20/client/ |
D | est.c | 40 STACK_OF(X509) *certs; in pkcs7_to_cert() 45 certs = sk_X509_new_null(); in pkcs7_to_cert() 46 if (!certs) in pkcs7_to_cert() 49 if (!PKCS7_get_certificates(certs, &pkcs7_cbs)) { in pkcs7_to_cert() 66 certs = p7->d.sign->cert; in pkcs7_to_cert() 69 certs = p7->d.signed_and_enveloped->cert; in pkcs7_to_cert() 72 certs = NULL; in pkcs7_to_cert() 77 if (!certs || ((num = sk_X509_num(certs)) == 0)) { in pkcs7_to_cert() 87 i2d_X509_fp(f, sk_X509_value(certs, 0)); in pkcs7_to_cert() 98 X509 *cert = sk_X509_value(certs, i); in pkcs7_to_cert() [all …]
|
/hostap-3.7.0/hs20/server/ca/ |
D | openssl-root.cnf | 19 certs = $dir/certs # Where the issued certs are kept 24 new_certs_dir = $dir/newcerts # default place for new certs.
|
D | openssl.cnf | 19 certs = $dir/certs # Where the issued certs are kept 24 new_certs_dir = $dir/newcerts # default place for new certs.
|
D | setup.sh | 99 mkdir -p rootCA/certs rootCA/crl rootCA/newcerts rootCA/private 120 mkdir -p demoCA/certs demoCA/crl demoCA/newcerts demoCA/private
|
/hostap-3.7.0/src/tls/ |
D | tlsv1_client_ocsp.c | 355 struct x509_certificate *certs = NULL, *last_cert = NULL; in tls_process_basic_ocsp_response() local 452 last_cert = certs = cert; in tls_process_basic_ocsp_response() 597 for (signer = certs; signer; signer = signer->next) { in tls_process_basic_ocsp_response() 619 x509_certificate_chain_free(certs); in tls_process_basic_ocsp_response() 620 certs = NULL; in tls_process_basic_ocsp_response() 638 x509_certificate_chain_free(certs); in tls_process_basic_ocsp_response() 643 x509_certificate_chain_free(certs); in tls_process_basic_ocsp_response()
|
/hostap-3.7.0/tests/hwsim/auth_serv/ |
D | ec-ca-openssl.cnf | 15 certs = $dir/certs
|
D | openssl2.cnf | 13 certs = $dir/certs
|
D | ica-generate.sh | 13 mkdir -p iCA-server/certs iCA-server/crl iCA-server/newcerts iCA-server/private 28 mkdir -p iCA-user/certs iCA-user/crl iCA-user/newcerts iCA-user/private
|
D | ec-generate.sh | 18 mkdir -p ec-ca/certs ec-ca/crl ec-ca/newcerts ec-ca/private
|
D | ec2-generate.sh | 18 mkdir -p ec-ca/certs ec-ca/crl ec-ca/newcerts ec-ca/private
|
D | rsa3072-generate.sh | 27 mkdir -p rsa3072-ca/certs rsa3072-ca/crl rsa3072-ca/newcerts rsa3072-ca/private
|
D | sha512-generate.sh | 16 mkdir -p ec-ca/certs ec-ca/crl ec-ca/newcerts ec-ca/private
|
D | update.sh | 35 mkdir -p test-ca/certs test-ca/crl test-ca/newcerts test-ca/private
|
/hostap-3.7.0/src/utils/ |
D | http_curl.c | 1120 STACK_OF(X509) *certs = NULL; in ocsp_resp_cb() 1166 certs = sk_X509_new_null(); in ocsp_resp_cb() 1167 if (certs) { in ocsp_resp_cb() 1170 if (cert && !sk_X509_push(certs, cert)) { in ocsp_resp_cb() 1175 sk_X509_free(certs); in ocsp_resp_cb() 1176 certs = NULL; in ocsp_resp_cb() 1178 if (certs && ctx->peer_issuer_issuer) { in ocsp_resp_cb() 1180 if (cert && !sk_X509_push(certs, cert)) { in ocsp_resp_cb() 1190 status = OCSP_basic_verify(basic, certs, store, OCSP_TRUSTOTHER); in ocsp_resp_cb() 1191 sk_X509_pop_free(certs, X509_free); in ocsp_resp_cb()
|
/hostap-3.7.0/hs20/server/ |
D | hs20-osu-server.txt | 104 # Build local keys and certs 235 They keys and certs are called 'server.key' and 'server.pem' from
|
/hostap-3.7.0/wpa_supplicant/ |
D | todo.txt | 64 stores even when there are intermediate CA certs that are not in the
|
/hostap-3.7.0/src/common/ |
D | dpp.h | 340 struct wpabuf *certs; member
|
D | dpp.c | 1309 wpabuf_free(conf->certs); in dpp_auth_deinit() 2780 conf->certs = crypto_pkcs7_get_certificates(conf->certbag); in dpp_parse_cred_dot1x() 2781 if (!conf->certs) { in dpp_parse_cred_dot1x()
|
/hostap-3.7.0/tests/hwsim/ |
D | test_ap_eap.py | 6984 certs = {} 7001 certs[depth] = binascii.unhexlify(cert) 7007 if 0 not in certs: 7009 if 1 not in certs: 7013 certs[0]) 7018 certs[1])
|