Lines Matching refs:cctx
963 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key() local
969 cctx->key_length = key_len; in camellia_set_key()
973 camellia_setup128(key, cctx->key_table); in camellia_set_key()
976 camellia_setup192(key, cctx->key_table); in camellia_set_key()
979 camellia_setup256(key, cctx->key_table); in camellia_set_key()
988 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local
998 if (cctx->key_length == 16) in camellia_encrypt()
1003 camellia_do_encrypt(cctx->key_table, tmp, max); in camellia_encrypt()
1014 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local
1024 if (cctx->key_length == 16) in camellia_decrypt()
1029 camellia_do_decrypt(cctx->key_table, tmp, max); in camellia_decrypt()