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

/freebsd-12-stable/contrib/wpa/src/tls/
H A Dtlsv1_common.c226 verify->sha256_cert = crypto_hash_init(CRYPTO_HASH_ALG_SHA256, NULL,
229 verify->sha256_cert == NULL) {
258 if (verify->sha256_cert)
259 crypto_hash_update(verify->sha256_cert, buf, len);
281 crypto_hash_finish(verify->sha256_cert, NULL, NULL);
284 verify->sha256_cert = NULL;
H A Dtlsv1_client_write.c623 if (conn->verify.sha256_cert == NULL ||
624 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) <
626 conn->verify.sha256_cert = NULL;
631 conn->verify.sha256_cert = NULL;
H A Dtlsv1_common.h246 struct crypto_hash *sha256_cert; member in struct:tls_verify_hash
H A Dtlsv1_server_read.c987 if (conn->verify.sha256_cert == NULL ||
988 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) <
990 conn->verify.sha256_cert = NULL;
995 conn->verify.sha256_cert = NULL;

Completed in 115 milliseconds