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.c202 verify->sha1_cert = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init()
205 verify->sha1_server == NULL || verify->sha1_cert == NULL) { in tls_verify_hash_init()
237 if (verify->md5_cert && verify->sha1_cert) { in tls_verify_hash_add()
239 crypto_hash_update(verify->sha1_cert, buf, len); in tls_verify_hash_add()
259 crypto_hash_finish(verify->sha1_cert, NULL, NULL); in tls_verify_hash_free()
265 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.c892 crypto_hash_finish(conn->verify.sha1_cert, NULL, NULL); in tls_process_certificate_verify()
893 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify()
902 if (conn->verify.sha1_cert == NULL || in tls_process_certificate_verify()
903 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify()
904 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify()
909 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify()
Dtlsv1_common.h243 struct crypto_hash *sha1_cert; member