Lines Matching refs:tfm
38 static int p8_aes_init(struct crypto_tfm *tfm) in p8_aes_init() argument
42 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_init()
44 if (!(alg = crypto_tfm_alg_name(tfm))) { in p8_aes_init()
62 tfm)); in p8_aes_init()
68 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit() argument
70 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_exit()
78 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() argument
82 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_setkey()
97 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt() argument
99 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_encrypt()
114 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_decrypt() argument
116 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_decrypt()