Searched refs:cert_buf (Results 1 – 3 of 3) sorted by relevance
283 struct wpabuf *cert_buf = NULL; in tls_peer_cert_event() local294 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()316 wpabuf_free(cert_buf); in tls_peer_cert_event()325 struct wpabuf *cert_buf = NULL; in tls_cert_chain_failure_event() local338 cert_buf = wpabuf_alloc_copy(cert->cert_start, in tls_cert_chain_failure_event()340 ev.cert_fail.cert = cert_buf; in tls_cert_chain_failure_event()[all …]
839 struct wpabuf *cert_buf = NULL; in gnutls_tls_fail_event() local850 cert_buf = wpabuf_alloc_copy(cert->data, cert->size); in gnutls_tls_fail_event()851 ev.cert_fail.cert = cert_buf; in gnutls_tls_fail_event()854 wpabuf_free(cert_buf); in gnutls_tls_fail_event()1157 struct wpabuf *cert_buf = NULL; in tls_connection_verify_peer() local1167 cert_buf = wpabuf_alloc_copy(certs[i].data, in tls_connection_verify_peer()1169 ev.peer_cert.cert = cert_buf; in tls_connection_verify_peer()1183 wpabuf_free(cert_buf); in tls_connection_verify_peer()
515 CRYPTO_BUFFER *cert_buf = sk_CRYPTO_BUFFER_value(cert->chain, i); in tls13_add_certificate() local518 !CBB_add_bytes(&child, CRYPTO_BUFFER_data(cert_buf), in tls13_add_certificate()519 CRYPTO_BUFFER_len(cert_buf)) || in tls13_add_certificate()