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