Lines Matching refs:tfm
117 static int adiantum_setkey(struct crypto_skcipher *tfm, const u8 *key, in adiantum_setkey() argument
120 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_setkey()
134 crypto_skcipher_get_flags(tfm) & in adiantum_setkey()
162 crypto_skcipher_get_flags(tfm) & in adiantum_setkey()
175 crypto_shash_set_flags(tctx->hash, crypto_skcipher_get_flags(tfm) & in adiantum_setkey()
221 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in adiantum_hash_header() local
222 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_hash_header()
250 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in adiantum_hash_message() local
251 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_hash_message()
259 hash_desc->tfm = tctx->hash; in adiantum_hash_message()
284 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in adiantum_finish() local
285 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_finish()
323 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in adiantum_crypt() local
324 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_crypt()
396 static int adiantum_init_tfm(struct crypto_skcipher *tfm) in adiantum_init_tfm() argument
398 struct skcipher_instance *inst = skcipher_alg_instance(tfm); in adiantum_init_tfm()
400 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_init_tfm()
436 crypto_skcipher_set_reqsize(tfm, in adiantum_init_tfm()
448 static void adiantum_exit_tfm(struct crypto_skcipher *tfm) in adiantum_exit_tfm() argument
450 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_exit_tfm()