Lines Matching refs:cctx
984 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key() local
993 cctx->key_length = key_len; in camellia_set_key()
997 camellia_setup128(key, cctx->key_table); in camellia_set_key()
1000 camellia_setup192(key, cctx->key_table); in camellia_set_key()
1003 camellia_setup256(key, cctx->key_table); in camellia_set_key()
1012 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local
1024 if (cctx->key_length == 16) in camellia_encrypt()
1029 camellia_do_encrypt(cctx->key_table, tmp, max); in camellia_encrypt()
1040 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local
1052 if (cctx->key_length == 16) in camellia_decrypt()
1057 camellia_do_decrypt(cctx->key_table, tmp, max); in camellia_decrypt()