Lines Matching refs:tfm
27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete() local
29 unsigned int digest_size = crypto_ahash_digestsize(tfm); in ccp_aes_cmac_complete()
58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update() local
59 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(tfm); in ccp_do_cmac_update()
63 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_do_cmac_update()
256 static int ccp_aes_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_aes_cmac_setkey() argument
259 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(tfm); in ccp_aes_cmac_setkey()
261 ccp_crypto_ahash_alg(crypto_ahash_tfm(tfm)); in ccp_aes_cmac_setkey()
335 static int ccp_aes_cmac_cra_init(struct crypto_tfm *tfm) in ccp_aes_cmac_cra_init() argument
337 struct ccp_ctx *ctx = crypto_tfm_ctx_dma(tfm); in ccp_aes_cmac_cra_init()
338 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_aes_cmac_cra_init()