Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_common.c226 verify->sha256_cert = crypto_hash_init(CRYPTO_HASH_ALG_SHA256, NULL, in tls_verify_hash_init()
229 verify->sha256_cert == NULL) { in tls_verify_hash_init()
258 if (verify->sha256_cert) in tls_verify_hash_add()
259 crypto_hash_update(verify->sha256_cert, buf, len); in tls_verify_hash_add()
281 crypto_hash_finish(verify->sha256_cert, NULL, NULL); in tls_verify_hash_free()
284 verify->sha256_cert = NULL; in tls_verify_hash_free()
H A Dtlsv1_client_write.c611 if (conn->verify.sha256_cert == NULL || in tls_write_client_certificate_verify()
612 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify()
614 conn->verify.sha256_cert = NULL; in tls_write_client_certificate_verify()
619 conn->verify.sha256_cert = NULL; in tls_write_client_certificate_verify()
H A Dtlsv1_server_read.c987 if (conn->verify.sha256_cert == NULL || in tls_process_certificate_verify()
988 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_process_certificate_verify()
990 conn->verify.sha256_cert = NULL; in tls_process_certificate_verify()
995 conn->verify.sha256_cert = NULL; in tls_process_certificate_verify()
H A Dtlsv1_common.h246 struct crypto_hash *sha256_cert; member