Lines Matching refs:tfm
166 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() argument
169 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_set_key()
170 u32 *flags = &tfm->crt_flags; in aes_set_key()
199 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() argument
201 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt()
206 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() argument
208 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt()
219 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt()
248 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt()
279 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt()
308 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt()
356 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_crypt()