Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 2 of 2) sorted by relevance

/crypto/
Dccm.c21 struct crypto_ahash_spawn mac; member
25 struct crypto_ahash *mac; member
92 struct crypto_ahash *mac = ctx->mac; in crypto_ccm_setkey() local
102 crypto_ahash_clear_flags(mac, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey()
103 crypto_ahash_set_flags(mac, crypto_aead_get_flags(aead) & in crypto_ccm_setkey()
105 return crypto_ahash_setkey(mac, key, keylen); in crypto_ccm_setkey()
199 ahash_request_set_tfm(ahreq, ctx->mac); in crypto_ccm_auth()
398 struct crypto_ahash *mac; in crypto_ccm_init_tfm() local
403 mac = crypto_spawn_ahash(&ictx->mac); in crypto_ccm_init_tfm()
404 if (IS_ERR(mac)) in crypto_ccm_init_tfm()
[all …]
DKconfig601 xcbc-mac/xcbc-mac-spec.pdf