Lines Matching defs:ctx
59 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc()
65 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec()
71 static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_crypt_ctr()
204 struct cast6_ctx *ctx; member
211 struct crypt_priv *ctx = priv; in encrypt_callback() local
228 struct crypt_priv *ctx = priv; in decrypt_callback() local
250 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_cast6_setkey() local
264 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
290 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
315 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_exit_tfm() local
328 struct cast6_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_cast6_setkey() local
353 struct cast6_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
363 struct cast6_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local