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.c516 crypto_hash_finish(conn->verify.sha1_cert, NULL, NULL); in tls_write_client_certificate_verify()
517 conn->verify.sha1_cert = NULL; in tls_write_client_certificate_verify()
526 if (conn->verify.sha1_cert == NULL || in tls_write_client_certificate_verify()
527 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify()
528 conn->verify.sha1_cert = NULL; in tls_write_client_certificate_verify()
533 conn->verify.sha1_cert = NULL; in tls_write_client_certificate_verify()
Dtlsv1_server_read.c894 crypto_hash_finish(conn->verify.sha1_cert, NULL, NULL); in tls_process_certificate_verify()
895 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify()
904 if (conn->verify.sha1_cert == NULL || in tls_process_certificate_verify()
905 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify()
906 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify()
911 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify()
Dtlsv1_common.h243 struct crypto_hash *sha1_cert; member