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.c212 verify->sha1_client = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init()
216 verify->md5_cert == NULL || verify->sha1_client == NULL || in tls_verify_hash_init()
241 if (verify->md5_client && verify->sha1_client) { in tls_verify_hash_add()
243 crypto_hash_update(verify->sha1_client, buf, len); in tls_verify_hash_add()
269 crypto_hash_finish(verify->sha1_client, NULL, NULL); in tls_verify_hash_free()
275 verify->sha1_client = NULL; in tls_verify_hash_free()
Dtlsv1_client_write.c814 crypto_hash_finish(conn->verify.sha1_client, NULL, NULL); in tls_write_client_finished()
815 conn->verify.sha1_client = NULL; in tls_write_client_finished()
820 if (conn->verify.sha1_client == NULL || in tls_write_client_finished()
821 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_write_client_finished()
823 conn->verify.sha1_client = NULL; in tls_write_client_finished()
828 conn->verify.sha1_client = NULL; in tls_write_client_finished()
Dtlsv1_server_read.c1213 crypto_hash_finish(conn->verify.sha1_client, NULL, NULL); in tls_process_client_finished()
1214 conn->verify.sha1_client = NULL; in tls_process_client_finished()
1219 if (conn->verify.sha1_client == NULL || in tls_process_client_finished()
1220 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_process_client_finished()
1222 conn->verify.sha1_client = NULL; in tls_process_client_finished()
1227 conn->verify.sha1_client = NULL; in tls_process_client_finished()
Dtlsv1_common.h239 struct crypto_hash *sha1_client; member