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 | 516 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()
|
D | tlsv1_server_read.c | 894 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()
|
D | tlsv1_common.h | 243 struct crypto_hash *sha1_cert; member
|