Lines Matching refs:tfm
146 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, in crypto_gcm_setauthsize() argument
519 static int crypto_gcm_init_tfm(struct crypto_aead *tfm) in crypto_gcm_init_tfm() argument
521 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_gcm_init_tfm()
523 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_init_tfm()
541 align = crypto_aead_alignmask(tfm); in crypto_gcm_init_tfm()
543 crypto_aead_set_reqsize(tfm, in crypto_gcm_init_tfm()
557 static void crypto_gcm_exit_tfm(struct crypto_aead *tfm) in crypto_gcm_exit_tfm() argument
559 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_exit_tfm()
787 static int crypto_rfc4106_init_tfm(struct crypto_aead *tfm) in crypto_rfc4106_init_tfm() argument
789 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4106_init_tfm()
791 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_init_tfm()
804 tfm, in crypto_rfc4106_init_tfm()
812 static void crypto_rfc4106_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4106_exit_tfm() argument
814 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_exit_tfm()
985 static int crypto_rfc4543_init_tfm(struct crypto_aead *tfm) in crypto_rfc4543_init_tfm() argument
987 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4543_init_tfm()
990 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4543_init_tfm()
1011 tfm, in crypto_rfc4543_init_tfm()
1023 static void crypto_rfc4543_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4543_exit_tfm() argument
1025 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4543_exit_tfm()