Lines Matching refs:hash
54 u8 hash[SHA1_MAC_LEN]; in ocsp_responder_id_match() local
58 if (sha1_vector(1, addr, len, hash) < 0) in ocsp_responder_id_match()
60 return os_memcmp(hash, key_hash, SHA1_MAC_LEN) == 0; in ocsp_responder_id_match()
68 size_t data_len, u8 *hash) in ocsp_hash_data() argument
75 if (sha1_vector(1, addr, len, hash) < 0) in ocsp_hash_data()
77 wpa_hexdump(MSG_MSGDUMP, "OCSP: Hash (SHA1)", hash, 20); in ocsp_hash_data()
82 if (sha256_vector(1, addr, len, hash) < 0) in ocsp_hash_data()
84 wpa_hexdump(MSG_MSGDUMP, "OCSP: Hash (SHA256)", hash, 32); in ocsp_hash_data()
89 if (sha384_vector(1, addr, len, hash) < 0) in ocsp_hash_data()
91 wpa_hexdump(MSG_MSGDUMP, "OCSP: Hash (SHA384)", hash, 48); in ocsp_hash_data()
96 if (sha512_vector(1, addr, len, hash) < 0) in ocsp_hash_data()
98 wpa_hexdump(MSG_MSGDUMP, "OCSP: Hash (SHA512)", hash, 64); in ocsp_hash_data()
123 u8 hash[64]; in tls_process_ocsp_single_response() local
176 issuer->subject_dn_len, hash); in tls_process_ocsp_single_response()
178 os_memcmp(name_hash, hash, hash_len) != 0) { in tls_process_ocsp_single_response()
181 hash, hash_len); in tls_process_ocsp_single_response()
198 issuer->public_key_len, hash); in tls_process_ocsp_single_response()
200 os_memcmp(key_hash, hash, hash_len) != 0) { in tls_process_ocsp_single_response()
203 hash, hash_len); in tls_process_ocsp_single_response()