Searched refs:peer_cert (Results 1 – 9 of 9) sorted by relevance
/hostap-3.7.0/src/ap/ |
D | authsrv.c | 159 data->peer_cert.depth, in authsrv_tls_event() 160 data->peer_cert.serial_num ? data->peer_cert.serial_num : "N/A", in authsrv_tls_event() 161 data->peer_cert.subject); in authsrv_tls_event()
|
/hostap-3.7.0/src/crypto/ |
D | tls_mbedtls_alt.c | 2567 const mbedtls_x509_crt *peer_cert = mbedtls_ssl_get_peer_cert(&conn->ssl); in tls_connection_get_peer_subject() local 2568 if (peer_cert) in tls_connection_get_peer_subject() 2569 tls_mbedtls_set_peer_subject(conn, peer_cert); in tls_connection_get_peer_subject() 2975 ev.peer_cert.hash = hash; in tls_mbedtls_verify_cert_event() 2976 ev.peer_cert.hash_len = sizeof(hash); in tls_mbedtls_verify_cert_event() 2979 ev.peer_cert.depth = depth; in tls_mbedtls_verify_cert_event() 2982 ev.peer_cert.subject = conn->peer_subject; in tls_mbedtls_verify_cert_event() 2983 if (ev.peer_cert.subject == NULL) in tls_mbedtls_verify_cert_event() 2985 ev.peer_cert.subject = subject; in tls_mbedtls_verify_cert_event() 2991 ev.peer_cert.serial_num = tls_mbedtls_peer_serial_num(crt, serial_num, sizeof(serial_num)); in tls_mbedtls_verify_cert_event() [all …]
|
D | tls_wolfssl.c | 94 WOLFSSL_X509 *peer_cert; member 879 ev.peer_cert.cert = cert; in wolfssl_tls_cert_event() 890 ev.peer_cert.hash = hash; in wolfssl_tls_cert_event() 891 ev.peer_cert.hash_len = sizeof(hash); in wolfssl_tls_cert_event() 896 ev.peer_cert.depth = depth; in wolfssl_tls_cert_event() 897 ev.peer_cert.subject = subject; in wolfssl_tls_cert_event() 941 ev.peer_cert.altsubject[alt] = alt_subject[alt]; in wolfssl_tls_cert_event() 942 ev.peer_cert.num_altsubject = num_alt_subject; in wolfssl_tls_cert_event() 982 conn->peer_cert = err_cert; in tls_verify_cb()
|
D | tls_openssl.c | 265 X509 *peer_cert; member 1657 if (!conn->peer_cert) in tls_connection_peer_serial_num() 1660 ser = X509_get_serialNumber(conn->peer_cert); in tls_connection_peer_serial_num() 2232 ev.peer_cert.cert = cert; in openssl_tls_cert_event() 2241 ev.peer_cert.hash = hash; in openssl_tls_cert_event() 2242 ev.peer_cert.hash_len = sizeof(hash); in openssl_tls_cert_event() 2246 ev.peer_cert.depth = depth; in openssl_tls_cert_event() 2247 ev.peer_cert.subject = subject; in openssl_tls_cert_event() 2254 ev.peer_cert.serial_num = serial_num; in openssl_tls_cert_event() 2296 ev.peer_cert.altsubject[alt] = altsubject[alt]; in openssl_tls_cert_event() [all …]
|
D | tls_gnutls.c | 1311 ev.peer_cert.cert = cert_buf; in tls_connection_verify_peer() 1317 ev.peer_cert.hash = hash; in tls_connection_verify_peer() 1318 ev.peer_cert.hash_len = sizeof(hash); in tls_connection_verify_peer() 1321 ev.peer_cert.depth = i; in tls_connection_verify_peer() 1322 ev.peer_cert.subject = buf; in tls_connection_verify_peer()
|
D | tls.h | 72 struct tls_cert_data peer_cert; member
|
/hostap-3.7.0/src/tls/ |
D | tlsv1_client_read.c | 296 ev.peer_cert.cert = cert_buf; in tls_peer_cert_event() 305 ev.peer_cert.hash = hash; in tls_peer_cert_event() 306 ev.peer_cert.hash_len = sizeof(hash); in tls_peer_cert_event() 311 ev.peer_cert.depth = depth; in tls_peer_cert_event() 313 ev.peer_cert.subject = subject; in tls_peer_cert_event() 317 ev.peer_cert.tod = 1; in tls_peer_cert_event() 320 ev.peer_cert.tod = 2; in tls_peer_cert_event() 343 ev.peer_cert.subject = subject; in tls_cert_chain_failure_event()
|
/hostap-3.7.0/src/utils/ |
D | http_curl.c | 62 X509 *peer_cert; member 1023 ctx->peer_cert = cert; in curl_cb_ssl_verify() 1203 if (!ctx->peer_cert) { in ocsp_resp_cb() 1219 id = OCSP_cert_to_id(EVP_sha256(), ctx->peer_cert, ctx->peer_issuer); in ocsp_resp_cb() 1232 id = OCSP_cert_to_id(NULL, ctx->peer_cert, ctx->peer_issuer); in ocsp_resp_cb()
|
/hostap-3.7.0/src/eap_peer/ |
D | eap.c | 2128 if (data->peer_cert.hash) { in eap_peer_sm_tls_event() 2129 size_t len = data->peer_cert.hash_len * 2 + 1; in eap_peer_sm_tls_event() 2133 data->peer_cert.hash, in eap_peer_sm_tls_event() 2134 data->peer_cert.hash_len); in eap_peer_sm_tls_event() 2138 sm->eapol_cb->notify_cert(sm->eapol_ctx, &data->peer_cert, in eap_peer_sm_tls_event()
|