Lines Matching refs:tfm
42 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in tea_setkey() argument
45 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_setkey()
57 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_encrypt() argument
61 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_encrypt()
85 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_decrypt() argument
89 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_decrypt()
115 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in xtea_setkey() argument
118 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_setkey()
130 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_encrypt() argument
134 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_encrypt()
151 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_decrypt() argument
154 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_decrypt()
174 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_encrypt() argument
178 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_encrypt()
195 static void xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_decrypt() argument
198 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_decrypt()