Lines Matching defs:tfm
209 aesni_rfc4106_gcm_ctx *aesni_rfc4106_gcm_ctx_get(struct crypto_aead *tfm) in aesni_rfc4106_gcm_ctx_get()
215 generic_gcmaes_ctx *generic_gcmaes_ctx_get(struct crypto_aead *tfm) in generic_gcmaes_ctx_get()
226 static inline struct aesni_xts_ctx *aes_xts_ctx(struct crypto_skcipher *tfm) in aes_xts_ctx()
251 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()
258 static void aesni_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_encrypt()
271 static void aesni_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_decrypt()
284 static int aesni_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in aesni_skcipher_setkey()
292 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local
314 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local
336 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local
358 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
380 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local
436 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local
510 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_crypt() local
559 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xctr_crypt() local
649 static int generic_gcmaes_set_authsize(struct crypto_aead *tfm, in generic_gcmaes_set_authsize()
781 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_encrypt() local
800 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_decrypt() local
826 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt() local
854 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt() local
880 static int xts_aesni_setkey(struct crypto_skcipher *tfm, const u8 *key, in xts_aesni_setkey()
903 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_crypt() local
1154 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt() local
1171 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_decrypt() local