Lines Matching refs:tfm
150 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in bfin_crypto_crc_init() local
151 struct bfin_crypto_crc_ctx *crc_ctx = crypto_ahash_ctx(tfm); in bfin_crypto_crc_init()
180 crypto_ahash_digestsize(tfm)); in bfin_crypto_crc_init()
437 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in bfin_crypto_crc_final() local
438 struct bfin_crypto_crc_ctx *crc_ctx = crypto_ahash_ctx(tfm); in bfin_crypto_crc_final()
450 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in bfin_crypto_crc_finup() local
451 struct bfin_crypto_crc_ctx *crc_ctx = crypto_ahash_ctx(tfm); in bfin_crypto_crc_finup()
473 static int bfin_crypto_crc_setkey(struct crypto_ahash *tfm, const u8 *key, in bfin_crypto_crc_setkey() argument
476 struct bfin_crypto_crc_ctx *crc_ctx = crypto_ahash_ctx(tfm); in bfin_crypto_crc_setkey()
480 crypto_ahash_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); in bfin_crypto_crc_setkey()
489 static int bfin_crypto_crc_cra_init(struct crypto_tfm *tfm) in bfin_crypto_crc_cra_init() argument
491 struct bfin_crypto_crc_ctx *crc_ctx = crypto_tfm_ctx(tfm); in bfin_crypto_crc_cra_init()
494 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm), in bfin_crypto_crc_cra_init()
500 static void bfin_crypto_crc_cra_exit(struct crypto_tfm *tfm) in bfin_crypto_crc_cra_exit() argument