Lines Matching defs:tfm
28 static int p8_aes_init(struct crypto_tfm *tfm)
30 const char *alg = crypto_tfm_alg_name(tfm);
32 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm);
45 tfm));
51 static void p8_aes_exit(struct crypto_tfm *tfm)
53 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm);
61 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key,
65 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm);
81 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
83 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm);
98 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
100 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm);