Home
last modified time | relevance | path

Searched refs:ihash (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_auth/hmacsha256/
H A Dauth_hmacsha256.c84 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()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_auth/hmacsha512/
H A Dauth_hmacsha512.c84 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()
/freebsd/crypto/openssl/crypto/ct/
H A Dct_vfy.c49 if (sct->entry_type == CT_LOG_ENTRY_TYPE_PRECERT && sctx->ihash == NULL) in sct_ctx_update()
65 if (!EVP_DigestUpdate(ctx, sctx->ihash, sctx->ihashlen)) in sct_ctx_update()
103 (sct->entry_type == CT_LOG_ENTRY_TYPE_PRECERT && sctx->ihash == NULL)) { in SCT_CTX_verify()
H A Dct_sct_ctx.c51 OPENSSL_free(sctx->ihash); in SCT_CTX_free()
255 return ct_public_key_hash(sctx, pubkey, &sctx->ihash, &sctx->ihashlen); in SCT_CTX_set1_issuer_pubkey()
H A Dct_local.h93 unsigned char *ihash; member
/freebsd/sys/dev/ffec/
H A Dif_ffec.c995 uint64_t ghash, ihash; in ffec_setup_rxfilter()
1021 ihash = 0xffffffffffffffffLLU; in ffec_setup_rxfilter()
1023 ihash = 0; in ffec_setup_rxfilter()
1025 WR4(sc, FEC_IAUR_REG, (uint32_t)(ihash >> 32)); in ffec_setup_rxfilter()
1026 WR4(sc, FEC_IALR_REG, (uint32_t)ihash); in ffec_setup_rxfilter()
994 uint64_t ghash, ihash; ffec_setup_rxfilter() local
/freebsd/sys/crypto/ccp/
H A Dccp_hardware.c1205 char ihash[SHA2_512_HASH_LEN /* max hash len */]; in ccp_do_hmac_done() local
1221 ccp_sha_copy_result(ihash, s->hmac.res, s->hmac.auth_mode); in ccp_do_hmac_done()
1224 (u_char *)ihash, " "); in ccp_do_hmac_done()
1226 axf->Update(&auth_ctx, ihash, axf->hashsize); in ccp_do_hmac_done()
1231 ihash); in ccp_do_hmac_done()
1232 if (timingsafe_bcmp(s->hmac.res, ihash, s->hmac.hash_len) != 0) in ccp_do_hmac_done()