Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_common.c224 verify->sha256_server = 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()
256 if (verify->sha256_server) in tls_verify_hash_add()
257 crypto_hash_update(verify->sha256_server, buf, len); in tls_verify_hash_add()
280 crypto_hash_finish(verify->sha256_server, NULL, NULL); in tls_verify_hash_free()
283 verify->sha256_server = NULL; in tls_verify_hash_free()
Dtlsv1_server_write.c848 if (conn->verify.sha256_server == NULL || in tls_write_server_finished()
849 crypto_hash_finish(conn->verify.sha256_server, hash, &hlen) in tls_write_server_finished()
851 conn->verify.sha256_server = NULL; in tls_write_server_finished()
856 conn->verify.sha256_server = NULL; in tls_write_server_finished()
Dtlsv1_common.h243 struct crypto_hash *sha256_server; member
Dtlsv1_client_read.c1375 if (conn->verify.sha256_server == NULL || in tls_process_server_finished()
1376 crypto_hash_finish(conn->verify.sha256_server, hash, &hlen) in tls_process_server_finished()
1380 conn->verify.sha256_server = NULL; in tls_process_server_finished()
1383 conn->verify.sha256_server = NULL; in tls_process_server_finished()