From 26fc847fcb8e06aea62c6fede67d6f1c04443435 Mon Sep 17 00:00:00 2001 From: Sambhav Dusad Date: Thu, 12 Dec 2024 09:54:48 +0530 Subject: [PATCH] fix: add 512b circuits back (#84) * add 512B back * update package version --- builds/target_512b/http_verification_512b.circom | 5 +++++ builds/target_512b/json_extract_value_512b.circom | 5 +++++ builds/target_512b/json_mask_array_index_512b.circom | 5 +++++ builds/target_512b/json_mask_object_512b.circom | 5 +++++ builds/target_512b/plaintext_authentication_512b.circom | 5 +++++ package.json | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 builds/target_512b/http_verification_512b.circom create mode 100644 builds/target_512b/json_extract_value_512b.circom create mode 100644 builds/target_512b/json_mask_array_index_512b.circom create mode 100644 builds/target_512b/json_mask_object_512b.circom create mode 100644 builds/target_512b/plaintext_authentication_512b.circom diff --git a/builds/target_512b/http_verification_512b.circom b/builds/target_512b/http_verification_512b.circom new file mode 100644 index 0000000..43fdad5 --- /dev/null +++ b/builds/target_512b/http_verification_512b.circom @@ -0,0 +1,5 @@ +pragma circom 2.1.9; + +include "../../circuits/http/verification.circom"; + +component main { public [step_in] } = HTTPVerification(512, 10); diff --git a/builds/target_512b/json_extract_value_512b.circom b/builds/target_512b/json_extract_value_512b.circom new file mode 100644 index 0000000..600cc0a --- /dev/null +++ b/builds/target_512b/json_extract_value_512b.circom @@ -0,0 +1,5 @@ +pragma circom 2.1.9; + +include "../../circuits/json/nivc/extractor.circom"; + +component main { public [step_in] } = MaskExtractFinal(512, 50); \ No newline at end of file diff --git a/builds/target_512b/json_mask_array_index_512b.circom b/builds/target_512b/json_mask_array_index_512b.circom new file mode 100644 index 0000000..ec72dc7 --- /dev/null +++ b/builds/target_512b/json_mask_array_index_512b.circom @@ -0,0 +1,5 @@ +pragma circom 2.1.9; + +include "../../circuits/json/nivc/masker.circom"; + +component main { public [step_in] } = JsonMaskArrayIndexNIVC(512, 10); \ No newline at end of file diff --git a/builds/target_512b/json_mask_object_512b.circom b/builds/target_512b/json_mask_object_512b.circom new file mode 100644 index 0000000..3bd0e31 --- /dev/null +++ b/builds/target_512b/json_mask_object_512b.circom @@ -0,0 +1,5 @@ +pragma circom 2.1.9; + +include "../../circuits/json/nivc/masker.circom"; + +component main { public [step_in] } = JsonMaskObjectNIVC(512, 10, 10); diff --git a/builds/target_512b/plaintext_authentication_512b.circom b/builds/target_512b/plaintext_authentication_512b.circom new file mode 100644 index 0000000..f0c99ff --- /dev/null +++ b/builds/target_512b/plaintext_authentication_512b.circom @@ -0,0 +1,5 @@ +pragma circom 2.1.9; + +include "../../circuits/chacha20/nivc/chacha20_nivc.circom"; + +component main { public [step_in] } = ChaCha20_NIVC(512); \ No newline at end of file diff --git a/package.json b/package.json index 051a8ee..b32afdc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "web-prover-circuits", "description": "ZK Circuits for WebProofs", - "version": "0.6.0", + "version": "0.6.1", "license": "Apache-2.0", "repository": { "type": "git",