Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_common.c222 verify->sha256_client = crypto_hash_init(CRYPTO_HASH_ALG_SHA256, NULL, in tls_verify_hash_init()
228 if (verify->sha256_client == NULL || verify->sha256_server == NULL || in tls_verify_hash_init()
254 if (verify->sha256_client) in tls_verify_hash_add()
255 crypto_hash_update(verify->sha256_client, buf, len); in tls_verify_hash_add()
279 crypto_hash_finish(verify->sha256_client, NULL, NULL); in tls_verify_hash_free()
282 verify->sha256_client = NULL; in tls_verify_hash_free()
Dtlsv1_client_write.c655 if (conn->verify.sha256_client == NULL || in tls_write_client_finished()
656 crypto_hash_finish(conn->verify.sha256_client, hash, &hlen) in tls_write_client_finished()
660 conn->verify.sha256_client = NULL; in tls_write_client_finished()
663 conn->verify.sha256_client = NULL; in tls_write_client_finished()
Dtlsv1_server_read.c1087 if (conn->verify.sha256_client == NULL || in tls_process_client_finished()
1088 crypto_hash_finish(conn->verify.sha256_client, hash, &hlen) in tls_process_client_finished()
1092 conn->verify.sha256_client = NULL; in tls_process_client_finished()
1095 conn->verify.sha256_client = NULL; in tls_process_client_finished()
Dtlsv1_common.h238 struct crypto_hash *sha256_client; member