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.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()
Dtlsv1_client_write.c620 if (conn->verify.sha256_cert == NULL || in tls_write_client_certificate_verify()
621 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify()
623 conn->verify.sha256_cert = NULL; in tls_write_client_certificate_verify()
628 conn->verify.sha256_cert = NULL; in tls_write_client_certificate_verify()
Dtlsv1_server_read.c959 if (conn->verify.sha256_cert == NULL || in tls_process_certificate_verify()
960 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_process_certificate_verify()
962 conn->verify.sha256_cert = NULL; in tls_process_certificate_verify()
967 conn->verify.sha256_cert = NULL; in tls_process_certificate_verify()
Dtlsv1_common.h246 struct crypto_hash *sha256_cert; member