Lines Matching refs:tfm
781 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() argument
784 struct des_ctx *dctx = crypto_tfm_ctx(tfm); in des_setkey()
785 u32 *flags = &tfm->crt_flags; in des_setkey()
803 static void des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_encrypt() argument
805 struct des_ctx *ctx = crypto_tfm_ctx(tfm); in des_encrypt()
826 static void des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_decrypt() argument
828 struct des_ctx *ctx = crypto_tfm_ctx(tfm); in des_decrypt()
882 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey() argument
885 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_setkey()
886 u32 *flags = &tfm->crt_flags; in des3_ede_setkey()
892 static void des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_encrypt() argument
894 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_encrypt()
923 static void des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_decrypt() argument
925 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_decrypt()