Home
last modified time | relevance | path

Searched refs:cert_buf (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_read.c283 struct wpabuf *cert_buf = NULL; in tls_peer_cert_event() local
294 cert_buf = wpabuf_alloc_copy(cert->cert_start, in tls_peer_cert_event()
296 ev.peer_cert.cert = cert_buf; in tls_peer_cert_event()
299 if (cert_buf) { in tls_peer_cert_event()
302 addr[0] = wpabuf_head(cert_buf); in tls_peer_cert_event()
303 len[0] = wpabuf_len(cert_buf); in tls_peer_cert_event()
324 wpabuf_free(cert_buf); in tls_peer_cert_event()
333 struct wpabuf *cert_buf = NULL; in tls_cert_chain_failure_event() local
346 cert_buf = wpabuf_alloc_copy(cert->cert_start, in tls_cert_chain_failure_event()
348 ev.cert_fail.cert = cert_buf; in tls_cert_chain_failure_event()
[all …]
/external/wpa_supplicant_8/src/crypto/
Dtls_gnutls.c935 struct wpabuf *cert_buf = NULL; in gnutls_tls_fail_event() local
946 cert_buf = wpabuf_alloc_copy(cert->data, cert->size); in gnutls_tls_fail_event()
947 ev.cert_fail.cert = cert_buf; in gnutls_tls_fail_event()
950 wpabuf_free(cert_buf); in gnutls_tls_fail_event()
1299 struct wpabuf *cert_buf = NULL; in tls_connection_verify_peer() local
1309 cert_buf = wpabuf_alloc_copy(certs[i].data, in tls_connection_verify_peer()
1311 ev.peer_cert.cert = cert_buf; in tls_connection_verify_peer()
1325 wpabuf_free(cert_buf); in tls_connection_verify_peer()
/external/boringssl/src/ssl/
Dtls13_both.cc497 CRYPTO_BUFFER *cert_buf = sk_CRYPTO_BUFFER_value(cert->chain.get(), i); in tls13_add_certificate() local
500 !CBB_add_bytes(&child, CRYPTO_BUFFER_data(cert_buf), in tls13_add_certificate()
501 CRYPTO_BUFFER_len(cert_buf)) || in tls13_add_certificate()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dtls13_both.cc498 CRYPTO_BUFFER *cert_buf = sk_CRYPTO_BUFFER_value(cert->chain.get(), i); in tls13_add_certificate() local
501 !CBB_add_bytes(&child, CRYPTO_BUFFER_data(cert_buf), in tls13_add_certificate()
502 CRYPTO_BUFFER_len(cert_buf)) || in tls13_add_certificate()