Lines Matching refs:cctx
983 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key() local
992 cctx->key_length = key_len; in camellia_set_key()
996 camellia_setup128(key, cctx->key_table); in camellia_set_key()
999 camellia_setup192(key, cctx->key_table); in camellia_set_key()
1002 camellia_setup256(key, cctx->key_table); in camellia_set_key()
1011 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local
1023 if (cctx->key_length == 16) in camellia_encrypt()
1028 camellia_do_encrypt(cctx->key_table, tmp, max); in camellia_encrypt()
1039 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local
1051 if (cctx->key_length == 16) in camellia_decrypt()
1056 camellia_do_decrypt(cctx->key_table, tmp, max); in camellia_decrypt()