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.c811 crypto_hash_finish(conn->verify.sha1_client, NULL, NULL); in tls_write_client_finished()
812 conn->verify.sha1_client = NULL; in tls_write_client_finished()
817 if (conn->verify.sha1_client == NULL || in tls_write_client_finished()
818 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_write_client_finished()
820 conn->verify.sha1_client = NULL; in tls_write_client_finished()
825 conn->verify.sha1_client = NULL; in tls_write_client_finished()
Dtlsv1_server_read.c1185 crypto_hash_finish(conn->verify.sha1_client, NULL, NULL); in tls_process_client_finished()
1186 conn->verify.sha1_client = NULL; in tls_process_client_finished()
1191 if (conn->verify.sha1_client == NULL || in tls_process_client_finished()
1192 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_process_client_finished()
1194 conn->verify.sha1_client = NULL; in tls_process_client_finished()
1199 conn->verify.sha1_client = NULL; in tls_process_client_finished()
Dtlsv1_common.h239 struct crypto_hash *sha1_client; member