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.c212 verify->sha256_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA256, NULL, in tls_verify_hash_init()
216 if (verify->sha256_client == NULL || verify->sha256_server == NULL || in tls_verify_hash_init()
244 if (verify->sha256_server) in tls_verify_hash_add()
245 crypto_hash_update(verify->sha256_server, buf, len); in tls_verify_hash_add()
268 crypto_hash_finish(verify->sha256_server, NULL, NULL); in tls_verify_hash_free()
271 verify->sha256_server = NULL; in tls_verify_hash_free()
Dtlsv1_server_write.c588 if (conn->verify.sha256_server == NULL || in tls_write_server_finished()
589 crypto_hash_finish(conn->verify.sha256_server, hash, &hlen) in tls_write_server_finished()
591 conn->verify.sha256_server = NULL; in tls_write_server_finished()
596 conn->verify.sha256_server = NULL; in tls_write_server_finished()
Dtlsv1_client_read.c823 if (conn->verify.sha256_server == NULL || in tls_process_server_finished()
824 crypto_hash_finish(conn->verify.sha256_server, hash, &hlen) in tls_process_server_finished()
828 conn->verify.sha256_server = NULL; in tls_process_server_finished()
831 conn->verify.sha256_server = NULL; in tls_process_server_finished()
Dtlsv1_common.h241 struct crypto_hash *sha256_server; member