Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_common.c213 verify->sha1_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init()
217 verify->sha1_server == NULL || verify->sha1_cert == NULL) { in tls_verify_hash_init()
245 if (verify->md5_server && verify->sha1_server) { in tls_verify_hash_add()
247 crypto_hash_update(verify->sha1_server, buf, len); in tls_verify_hash_add()
270 crypto_hash_finish(verify->sha1_server, NULL, NULL); in tls_verify_hash_free()
276 verify->sha1_server = NULL; in tls_verify_hash_free()
Dtlsv1_server_write.c863 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL); in tls_write_server_finished()
864 conn->verify.sha1_server = NULL; in tls_write_server_finished()
869 if (conn->verify.sha1_server == NULL || in tls_write_server_finished()
870 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_write_server_finished()
872 conn->verify.sha1_server = NULL; in tls_write_server_finished()
877 conn->verify.sha1_server = NULL; in tls_write_server_finished()
Dtlsv1_client_read.c1396 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL); in tls_process_server_finished()
1397 conn->verify.sha1_server = NULL; in tls_process_server_finished()
1402 if (conn->verify.sha1_server == NULL || in tls_process_server_finished()
1403 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_process_server_finished()
1405 conn->verify.sha1_server = NULL; in tls_process_server_finished()
1410 conn->verify.sha1_server = NULL; in tls_process_server_finished()
Dtlsv1_common.h242 struct crypto_hash *sha1_server; member