Lines Matching refs:tfm
37 static int camellia_set_key(struct crypto_tfm *tfm, const u8 *_in_key, in camellia_set_key() argument
40 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_set_key()
53 static int camellia_set_key_skcipher(struct crypto_skcipher *tfm, in camellia_set_key_skcipher() argument
56 return camellia_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in camellia_set_key_skcipher()
62 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() argument
64 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_encrypt()
71 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt() argument
73 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_decrypt()
90 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local
91 const struct camellia_sparc64_ctx *ctx = crypto_skcipher_ctx(tfm); in __ecb_crypt()
140 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local
141 const struct camellia_sparc64_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt()
169 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
170 const struct camellia_sparc64_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt()