Lines Matching refs:cctx
971 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key() local
977 cctx->key_length = key_len; in camellia_set_key()
981 camellia_setup128(key, cctx->key_table); in camellia_set_key()
984 camellia_setup192(key, cctx->key_table); in camellia_set_key()
987 camellia_setup256(key, cctx->key_table); in camellia_set_key()
996 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local
1008 if (cctx->key_length == 16) in camellia_encrypt()
1013 camellia_do_encrypt(cctx->key_table, tmp, max); in camellia_encrypt()
1024 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local
1036 if (cctx->key_length == 16) in camellia_decrypt()
1041 camellia_do_decrypt(cctx->key_table, tmp, max); in camellia_decrypt()