Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_common.c200 verify->sha1_client = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init()
204 verify->md5_cert == NULL || verify->sha1_client == NULL || in tls_verify_hash_init()
229 if (verify->md5_client && verify->sha1_client) { in tls_verify_hash_add()
231 crypto_hash_update(verify->sha1_client, buf, len); in tls_verify_hash_add()
257 crypto_hash_finish(verify->sha1_client, NULL, NULL); in tls_verify_hash_free()
263 verify->sha1_client = NULL; in tls_verify_hash_free()
Dtlsv1_client_write.c673 crypto_hash_finish(conn->verify.sha1_client, NULL, NULL); in tls_write_client_finished()
674 conn->verify.sha1_client = NULL; in tls_write_client_finished()
679 if (conn->verify.sha1_client == NULL || in tls_write_client_finished()
680 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_write_client_finished()
682 conn->verify.sha1_client = NULL; in tls_write_client_finished()
687 conn->verify.sha1_client = NULL; in tls_write_client_finished()
Dtlsv1_server_read.c1144 crypto_hash_finish(conn->verify.sha1_client, NULL, NULL); in tls_process_client_finished()
1145 conn->verify.sha1_client = NULL; in tls_process_client_finished()
1150 if (conn->verify.sha1_client == NULL || in tls_process_client_finished()
1151 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_process_client_finished()
1153 conn->verify.sha1_client = NULL; in tls_process_client_finished()
1158 conn->verify.sha1_client = NULL; in tls_process_client_finished()
Dtlsv1_common.h237 struct crypto_hash *sha1_client; member