diff --git a/.github/workflows/circom.yml b/.github/workflows/circom.yml index dbcaace..f73f82e 100644 --- a/.github/workflows/circom.yml +++ b/.github/workflows/circom.yml @@ -48,5 +48,5 @@ jobs: - name: Build witness for aes-gcm run: | - build-circuit circuits/aes-gcm-fold/aes-gctr-fold.circom aes-fold.bin -l node_modules + build-circuit circuits/aes-gctr-fold/aes-gctr-fold.circom aes-fold.bin -l node_modules diff --git a/circuits/aes-gcm/aes-gctr-fold.circom b/circuits/aes-gcm/aes-gctr-fold.circom index 32ea444..2498ba5 100644 --- a/circuits/aes-gcm/aes-gctr-fold.circom +++ b/circuits/aes-gcm/aes-gctr-fold.circom @@ -14,7 +14,7 @@ template AESGCTRFOLD(INPUT_LEN) { // step_in[0..INPUT_LEN] => accumulate plaintext blocks // step_in[INPUT_LEN..INPUT_LEN*2] => accumulate ciphertext blocks - // step_in[INPUT_LEN*2..INPUT_LEN*2+4] => lastCounter + // step_in[INPUT_LEN*2..INPUT_LEN*2+4] => accumulate counter signal input step_in[DATA_BYTES]; signal output step_out[DATA_BYTES]; signal counter;