Lines Matching refs:tfm
47 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in tea_setkey() argument
50 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_setkey()
62 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_encrypt() argument
66 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_encrypt()
90 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_decrypt() argument
94 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_decrypt()
120 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in xtea_setkey() argument
123 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_setkey()
135 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_encrypt() argument
139 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_encrypt()
156 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_decrypt() argument
159 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_decrypt()
179 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_encrypt() argument
183 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_encrypt()
200 static void xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_decrypt() argument
203 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_decrypt()