Lines Matching defs:tfm
131 static int skcipher_aes_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in skcipher_aes_setkey()
139 static int __maybe_unused xts_set_key(struct crypto_skcipher *tfm, in xts_set_key()
156 static int __maybe_unused essiv_cbc_set_key(struct crypto_skcipher *tfm, in essiv_cbc_set_key()
175 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local
195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local
216 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt_walk() local
245 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt_walk() local
273 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local
330 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local
385 static int __maybe_unused essiv_cbc_init_tfm(struct crypto_skcipher *tfm) in essiv_cbc_init_tfm()
394 static void __maybe_unused essiv_cbc_exit_tfm(struct crypto_skcipher *tfm) in essiv_cbc_exit_tfm()
403 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in essiv_cbc_encrypt() local
425 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in essiv_cbc_decrypt() local
447 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local
486 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_encrypt() local
558 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_decrypt() local
727 static int cbcmac_setkey(struct crypto_shash *tfm, const u8 *in_key, in cbcmac_setkey()
744 static int cmac_setkey(struct crypto_shash *tfm, const u8 *in_key, in cmac_setkey()
768 static int xcbc_setkey(struct crypto_shash *tfm, const u8 *in_key, in xcbc_setkey()