Searched refs:sha1_cert (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_common.c | 214 verify->sha1_cert = 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() 249 if (verify->md5_cert && verify->sha1_cert) { in tls_verify_hash_add() 251 crypto_hash_update(verify->sha1_cert, buf, len); in tls_verify_hash_add() 271 crypto_hash_finish(verify->sha1_cert, NULL, NULL); in tls_verify_hash_free() 277 verify->sha1_cert = NULL; in tls_verify_hash_free()
|
D | tlsv1_client_write.c | 660 crypto_hash_finish(conn->verify.sha1_cert, NULL, NULL); in tls_write_client_certificate_verify() 661 conn->verify.sha1_cert = NULL; in tls_write_client_certificate_verify() 668 if (conn->verify.sha1_cert == NULL || in tls_write_client_certificate_verify() 669 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 670 conn->verify.sha1_cert = NULL; in tls_write_client_certificate_verify() 675 conn->verify.sha1_cert = NULL; in tls_write_client_certificate_verify()
|
D | tlsv1_server_read.c | 1005 crypto_hash_finish(conn->verify.sha1_cert, NULL, NULL); in tls_process_certificate_verify() 1006 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify() 1013 if (conn->verify.sha1_cert == NULL || in tls_process_certificate_verify() 1014 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify() 1015 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify() 1020 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify()
|
D | tlsv1_common.h | 245 struct crypto_hash *sha1_cert; member
|