Lines Matching defs:ctx
60 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc()
66 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec()
72 static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_crypt_ctr()
205 struct cast6_ctx *ctx; member
212 struct crypt_priv *ctx = priv; in encrypt_callback() local
229 struct crypt_priv *ctx = priv; in decrypt_callback() local
251 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_cast6_setkey() local
265 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
291 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
316 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_exit_tfm() local
329 struct cast6_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_cast6_setkey() local
354 struct cast6_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
364 struct cast6_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local