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