Home
last modified time | relevance | path

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

/drivers/crypto/qce/
Dsha.c177 const u32 *state, const u8 *buffer, bool hmac) in qce_import_common() argument
198 if (hmac) in qce_import_common()
215 bool hmac = IS_SHA_HMAC(flags); in qce_ahash_import() local
222 state->buffer, hmac); in qce_ahash_import()
227 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/staging/lustre/lustre/obdclass/
Dcapa.c259 int capa_hmac(__u8 *hmac, struct lustre_capa *capa, __u8 *key) in capa_hmac() argument
286 ll_crypto_hmac(tfm, key, &keylen, &sl, sl.length, hmac); in capa_hmac()
/drivers/staging/lustre/lustre/include/
Dlustre_capa.h190 int capa_hmac(__u8 *hmac, struct lustre_capa *capa, __u8 *key);
/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()