Home
last modified time | relevance | path

Searched refs:hmac (Results 1 – 4 of 4) sorted by relevance

/drivers/crypto/qce/
Dsha.c173 const u32 *state, const u8 *buffer, bool hmac) in qce_import_common() argument
194 if (hmac) in qce_import_common()
211 bool hmac = IS_SHA_HMAC(flags); in qce_ahash_import() local
218 state->buffer, hmac); in qce_ahash_import()
223 state->buf, hmac); in qce_ahash_import()
/drivers/net/ethernet/3com/
Dtyphoon.c1342 u32 hmac; in typhoon_download_firmware() local
1378 hmac = le32_to_cpu(fHdr->hmacDigest[0]); in typhoon_download_firmware()
1379 iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_0); in typhoon_download_firmware()
1380 hmac = le32_to_cpu(fHdr->hmacDigest[1]); in typhoon_download_firmware()
1381 iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_1); in typhoon_download_firmware()
1382 hmac = le32_to_cpu(fHdr->hmacDigest[2]); in typhoon_download_firmware()
1383 iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_2); in typhoon_download_firmware()
1384 hmac = le32_to_cpu(fHdr->hmacDigest[3]); in typhoon_download_firmware()
1385 iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_3); in typhoon_download_firmware()
1386 hmac = le32_to_cpu(fHdr->hmacDigest[4]); in typhoon_download_firmware()
[all …]
/drivers/char/tpm/
Dtpm2-cmd.c402 const u8 *hmac, u16 hmac_len) in tpm2_buf_append_auth() argument
414 if (hmac && hmac_len) in tpm2_buf_append_auth()
415 tpm_buf_append(buf, hmac, hmac_len); in tpm2_buf_append_auth()
/drivers/crypto/
Dn2_core.c1363 struct n2_hmac_alg *hmac, *hmac_tmp; in __n2_unregister_algs() local
1370 list_for_each_entry_safe(hmac, hmac_tmp, &hmac_algs, derived.entry) { in __n2_unregister_algs()
1371 crypto_unregister_ahash(&hmac->derived.alg); in __n2_unregister_algs()
1372 list_del(&hmac->derived.entry); in __n2_unregister_algs()
1373 kfree(hmac); in __n2_unregister_algs()