Lines Matching defs:tfm
60 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey()
84 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local
119 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_setkey()
139 static void cbc_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) in cbc_encrypt_one()
153 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
179 static int cbc_init(struct crypto_tfm *tfm) in cbc_init()
188 static void cbc_exit(struct crypto_tfm *tfm) in cbc_exit()
197 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local
237 static int aesbs_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_xts_setkey()
255 static int xts_init(struct crypto_tfm *tfm) in xts_init()
264 static void xts_exit(struct crypto_tfm *tfm) in xts_exit()
275 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __xts_crypt() local