Lines Matching defs:tfm
93 static inline struct aesni_xts_ctx *aes_xts_ctx(struct crypto_skcipher *tfm) in aes_xts_ctx()
116 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()
123 static void aesni_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_encrypt()
136 static void aesni_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_decrypt()
149 static int aesni_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in aesni_skcipher_setkey()
157 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local
179 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local
201 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local
223 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
245 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local
301 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local
359 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_crypt_aesni() local
391 static int xts_setkey_aesni(struct crypto_skcipher *tfm, const u8 *key, in xts_setkey_aesni()
422 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_crypt_slowpath() local
489 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_crypt() local
660 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_crypt() local
725 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xctr_crypt() local
917 aes_gcm_key_get(struct crypto_aead *tfm, int flags) in aes_gcm_key_get()
1147 static int generic_gcmaes_set_authsize(struct crypto_aead *tfm, in generic_gcmaes_set_authsize()
1179 static int gcm_setkey(struct crypto_aead *tfm, const u8 *raw_key, in gcm_setkey()
1327 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcm_crypt() local