Lines Matching refs:cctx
971 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key() local
980 cctx->key_length = key_len; in camellia_set_key()
984 camellia_setup128(key, cctx->key_table); in camellia_set_key()
987 camellia_setup192(key, cctx->key_table); in camellia_set_key()
990 camellia_setup256(key, cctx->key_table); in camellia_set_key()
999 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local
1011 if (cctx->key_length == 16) in camellia_encrypt()
1016 camellia_do_encrypt(cctx->key_table, tmp, max); in camellia_encrypt()
1027 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local
1039 if (cctx->key_length == 16) in camellia_decrypt()
1044 camellia_do_decrypt(cctx->key_table, tmp, max); in camellia_decrypt()