Searched refs:tmphash (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/wpa/src/eap_common/ |
H A D | ikev2_common.c | 59 u8 tmphash[IKEV2_MAX_HASH_LEN]; in ikev2_integ_hash() local 65 if (hmac_sha1(key, key_len, data, data_len, tmphash) < 0) in ikev2_integ_hash() 67 os_memcpy(hash, tmphash, 12); in ikev2_integ_hash() 72 if (hmac_md5(key, key_len, data, data_len, tmphash) < 0) in ikev2_integ_hash() 74 os_memcpy(hash, tmphash, 12); in ikev2_integ_hash()
|
/freebsd/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_vfy.c | 192 unsigned char tmphash[SHA_DIGEST_LENGTH], *keyhash; in ocsp_find_signer_sk() local 211 r = X509_pubkey_digest(x, md, tmphash, NULL); in ocsp_find_signer_sk() 215 if (memcmp(keyhash, tmphash, SHA_DIGEST_LENGTH) == 0) in ocsp_find_signer_sk()
|