Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_common.c214 verify->sha256_cert = crypto_hash_init(CRYPTO_HASH_ALG_SHA256, NULL, in tls_verify_hash_init()
217 verify->sha256_cert == NULL) { in tls_verify_hash_init()
246 if (verify->sha256_cert) in tls_verify_hash_add()
247 crypto_hash_update(verify->sha256_cert, buf, len); in tls_verify_hash_add()
269 crypto_hash_finish(verify->sha256_cert, NULL, NULL); in tls_verify_hash_free()
272 verify->sha256_cert = NULL; in tls_verify_hash_free()
Dtlsv1_client_write.c477 if (conn->verify.sha256_cert == NULL || in tls_write_client_certificate_verify()
478 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify()
480 conn->verify.sha256_cert = NULL; in tls_write_client_certificate_verify()
485 conn->verify.sha256_cert = NULL; in tls_write_client_certificate_verify()
Dtlsv1_server_read.c872 if (conn->verify.sha256_cert == NULL || in tls_process_certificate_verify()
873 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_process_certificate_verify()
875 conn->verify.sha256_cert = NULL; in tls_process_certificate_verify()
880 conn->verify.sha256_cert = NULL; in tls_process_certificate_verify()
Dtlsv1_common.h244 struct crypto_hash *sha256_cert; member