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.c793 if (conn->verify.sha256_client == NULL || in tls_write_client_finished()
794 crypto_hash_finish(conn->verify.sha256_client, hash, &hlen) in tls_write_client_finished()
798 conn->verify.sha256_client = NULL; in tls_write_client_finished()
801 conn->verify.sha256_client = NULL; in tls_write_client_finished()
Dtlsv1_server_read.c1167 if (conn->verify.sha256_client == NULL || in tls_process_client_finished()
1168 crypto_hash_finish(conn->verify.sha256_client, hash, &hlen) in tls_process_client_finished()
1172 conn->verify.sha256_client = NULL; in tls_process_client_finished()
1175 conn->verify.sha256_client = NULL; in tls_process_client_finished()
Dtlsv1_common.h240 struct crypto_hash *sha256_client; member