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()
59 crypto_cipher_get_flags((struct crypto_cipher *) tfm)); in p8_aes_init()
65 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit() argument
67 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_exit()
75 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() argument
79 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_setkey()
92 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt() argument
94 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_encrypt()
107 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_decrypt() argument
109 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_decrypt()