Lines Matching defs:ctx
48 static void serpent_decrypt_cbc_xway(void *ctx, u128 *dst, const u128 *src) in serpent_decrypt_cbc_xway()
62 static void serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_crypt_ctr()
73 static void serpent_crypt_ctr_xway(void *ctx, u128 *dst, const u128 *src, in serpent_crypt_ctr_xway()
186 struct serpent_ctx *ctx; member
193 struct crypt_priv *ctx = priv; in encrypt_callback() local
210 struct crypt_priv *ctx = priv; in decrypt_callback() local
232 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_setkey() local
247 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
273 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
298 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_exit_tfm() local
311 struct serpent_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_serpent_setkey() local
335 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
362 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local