Lines Matching defs:tfm
202 aesni_rfc4106_gcm_ctx *aesni_rfc4106_gcm_ctx_get(struct crypto_aead *tfm) in aesni_rfc4106_gcm_ctx_get()
212 generic_gcmaes_ctx *generic_gcmaes_ctx_get(struct crypto_aead *tfm) in generic_gcmaes_ctx_get()
252 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()
259 static void aesni_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_encrypt()
272 static void aesni_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_decrypt()
285 static int aesni_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in aesni_skcipher_setkey()
293 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local
315 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local
337 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local
359 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
381 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local
437 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local
511 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_crypt() local
560 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xctr_crypt() local
650 static int generic_gcmaes_set_authsize(struct crypto_aead *tfm, in generic_gcmaes_set_authsize()
782 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_encrypt() local
801 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_decrypt() local
827 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt() local
855 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt() local
881 static int xts_aesni_setkey(struct crypto_skcipher *tfm, const u8 *key, in xts_aesni_setkey()
905 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_crypt() local
1156 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt() local
1173 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_decrypt() local