Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_common.c214 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()
Dtlsv1_client_write.c660 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()
Dtlsv1_server_read.c1005 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()
Dtlsv1_common.h245 struct crypto_hash *sha1_cert; member