Lines Matching refs:tfm
173 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_tail() local
174 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_tail()
372 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey() local
373 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_genkey()
380 if (crypto_aead_ivsize(tfm) == 8) { in poly_genkey()
505 static int chachapoly_setauthsize(struct crypto_aead *tfm, in chachapoly_setauthsize() argument
514 static int chachapoly_init(struct crypto_aead *tfm) in chachapoly_init() argument
516 struct aead_instance *inst = aead_alg_instance(tfm); in chachapoly_init()
518 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in chachapoly_init()
537 align = crypto_aead_alignmask(tfm); in chachapoly_init()
540 tfm, in chachapoly_init()
552 static void chachapoly_exit(struct crypto_aead *tfm) in chachapoly_exit() argument
554 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in chachapoly_exit()