Home
last modified time | relevance | path

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

/hostap-3.6.0/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.c866 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL); in tls_write_server_finished()
867 conn->verify.sha1_server = NULL; in tls_write_server_finished()
872 if (conn->verify.sha1_server == NULL || in tls_write_server_finished()
873 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_write_server_finished()
875 conn->verify.sha1_server = NULL; in tls_write_server_finished()
880 conn->verify.sha1_server = NULL; in tls_write_server_finished()
Dtlsv1_client_read.c1401 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL); in tls_process_server_finished()
1402 conn->verify.sha1_server = NULL; in tls_process_server_finished()
1407 if (conn->verify.sha1_server == NULL || in tls_process_server_finished()
1408 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_process_server_finished()
1410 conn->verify.sha1_server = NULL; in tls_process_server_finished()
1415 conn->verify.sha1_server = NULL; in tls_process_server_finished()
Dtlsv1_common.h242 struct crypto_hash *sha1_server; member