Searched refs:ihash (Results 1 – 3 of 3) sorted by relevance
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_auth/hmacsha256/ |
| H A D | auth_hmacsha256.c | 84 unsigned char ihash[32]; in crypto_auth_hmacsha256_final() local 86 crypto_hash_sha256_final(&state->ictx, ihash); in crypto_auth_hmacsha256_final() 87 crypto_hash_sha256_update(&state->octx, ihash, 32); in crypto_auth_hmacsha256_final() 90 sodium_memzero((void *) ihash, sizeof ihash); in crypto_auth_hmacsha256_final()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_auth/hmacsha512/ |
| H A D | auth_hmacsha512.c | 84 unsigned char ihash[64]; in crypto_auth_hmacsha512_final() local 86 crypto_hash_sha512_final(&state->ictx, ihash); in crypto_auth_hmacsha512_final() 87 crypto_hash_sha512_update(&state->octx, ihash, 64); in crypto_auth_hmacsha512_final() 90 sodium_memzero((void *) ihash, sizeof ihash); in crypto_auth_hmacsha512_final()
|
| /f-stack/freebsd/crypto/ccp/ |
| H A D | ccp_hardware.c | 1207 char ihash[SHA2_512_HASH_LEN /* max hash len */]; in ccp_do_hmac_done() local 1223 ccp_sha_copy_result(ihash, s->hmac.res, s->hmac.auth_mode); in ccp_do_hmac_done() 1226 (u_char *)ihash, " "); in ccp_do_hmac_done() 1228 axf->Update(&auth_ctx, ihash, axf->hashsize); in ccp_do_hmac_done() 1233 ihash); in ccp_do_hmac_done() 1234 if (timingsafe_bcmp(s->hmac.res, ihash, s->hmac.hash_len) != 0) in ccp_do_hmac_done()
|