Lines Matching refs:cert
444 const struct wpabuf *cert) in eapol_test_write_cert() argument
448 encoded = hostap_base64_encode(wpabuf_head(cert), wpabuf_len(cert), NULL); in eapol_test_write_cert()
505 static void eapol_test_cert_cb(void *ctx, struct tls_cert_data *cert, in eapol_test_cert_cb() argument
513 cert->depth, cert->subject, in eapol_test_cert_cb()
517 if (cert->cert) { in eapol_test_cert_cb()
519 size_t len = wpabuf_len(cert->cert) * 2 + 1; in eapol_test_cert_cb()
522 wpa_snprintf_hex(cert_hex, len, wpabuf_head(cert->cert), in eapol_test_cert_cb()
523 wpabuf_len(cert->cert)); in eapol_test_cert_cb()
527 cert->depth, cert->subject, cert_hex); in eapol_test_cert_cb()
533 cert->subject, cert->cert); in eapol_test_cert_cb()
536 for (i = 0; i < cert->num_altsubject; i++) in eapol_test_cert_cb()
538 "depth=%d %s", cert->depth, cert->altsubject[i]); in eapol_test_cert_cb()