Searched refs:sha1_server (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_common.c | 213 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()
|
D | tlsv1_server_write.c | 739 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL); in tls_write_server_finished() 740 conn->verify.sha1_server = NULL; in tls_write_server_finished() 745 if (conn->verify.sha1_server == NULL || in tls_write_server_finished() 746 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_write_server_finished() 748 conn->verify.sha1_server = NULL; in tls_write_server_finished() 753 conn->verify.sha1_server = NULL; in tls_write_server_finished()
|
D | tlsv1_client_read.c | 935 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL); in tls_process_server_finished() 936 conn->verify.sha1_server = NULL; in tls_process_server_finished() 941 if (conn->verify.sha1_server == NULL || in tls_process_server_finished() 942 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_process_server_finished() 944 conn->verify.sha1_server = NULL; in tls_process_server_finished() 949 conn->verify.sha1_server = NULL; in tls_process_server_finished()
|
D | tlsv1_common.h | 240 struct crypto_hash *sha1_server; member
|