Skip to content

Commit

Permalink
chore: remove unused circuit material (#72)
Browse files Browse the repository at this point in the history
* remove: extra HTTP material

* remove: aes

* fix: tests

* remove: old `circuits.json`

* cleanup: JSON

* Delete json_nivc.circom

* Delete extractor.circom

* remove: unneeded utils

* remove: more utils

* consolidate bytes

* fix: build
  • Loading branch information
Autoparallel authored Dec 5, 2024
1 parent 08edfb7 commit d21568d
Show file tree
Hide file tree
Showing 55 changed files with 341 additions and 5,990 deletions.
4 changes: 2 additions & 2 deletions builds/target_1024b/http_verification_1024b.circom
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pragma circom 2.1.9;

include "../../circuits/http/nivc/http_nivc.circom";
include "../../circuits/http/verification.circom";

component main { public [step_in] } = HttpNIVC(1024, 25);
component main { public [step_in] } = HTTPVerification(1024, 25);
218 changes: 2 additions & 216 deletions circuits.json
Original file line number Diff line number Diff line change
@@ -1,218 +1,4 @@
{
"value_number_test": {
"file": "main/json_value_number_test",
"template": "ExtractNumValue",
"params": [
12,
1,
1,
0,
2
]
},
"json-parser": {
"file": "json/parser/parser",
"template": "Parser",
"params": [
157,
13
]
},
"value_string_test": {
"file": "main/json_value_string_test",
"template": "ExtractStringValue",
"params": [
12,
1,
1,
0,
1
]
},
"spotify_test": {
"file": "main/json_spotify_test",
"template": "ExtractStringValue",
"params": [
85,
5,
4,
0,
5,
1,
0,
2,
7,
3,
4,
4,
12
]
},
"http-parser": {
"file": "http/parser/parser",
"template": "Parser",
"params": [
60
]
},
"spotify_top_artists_test": {
"file": "main/http_spotify_top_artists_test",
"template": "LockHTTPResponse",
"params": [
203,
85,
8,
3,
2,
12,
31
]
},
"value_array_number_test": {
"file": "main/json_value_array_number_test",
"template": "ExtractNumValue",
"params": [
73,
2,
1,
0,
2,
1,
4
]
},
"value_array_object_test": {
"file": "main/json_value_array_object_test",
"template": "ExtractNumValue",
"params": [
29,
4,
1,
0,
0,
1,
1,
2,
0,
3,
1
]
},
"value_string": {
"file": "main/json_value_string",
"template": "ExtractStringValue",
"params": [
12,
1,
1,
0,
1
]
},
"two_keys_test": {
"file": "main/json_two_keys_test",
"template": "ExtractStringValue",
"params": [
40,
1,
4,
0,
3
]
},
"get_request_test": {
"file": "main/http_get_request_test",
"template": "LockHTTPRequest",
"params": [
60,
3,
4,
8,
6,
16,
4,
9
]
},
"value_array_nested_test": {
"file": "main/json_value_array_nested_test",
"template": "ExtractNumValue",
"params": [
24,
3,
1,
0,
0,
1,
0,
2,
1
]
},
"spotify_top_artists": {
"file": "main/extended_spotify_top_artists",
"template": "HttpJson",
"params": [
203,
85,
8,
3,
2,
12,
31,
5,
4,
0,
5,
1,
0,
2,
7,
3,
4,
4,
12
]
},
"value_object_test": {
"file": "main/json_value_object_test",
"template": "ExtractStringValue",
"params": [
134,
3,
1,
0,
1,
1,
1
]
},
"value_array_string_test": {
"file": "main/json_value_array_string_test",
"template": "ExtractStringValue",
"params": [
73,
2,
1,
0,
1,
1,
2
]
},
"get_response_test": {
"file": "main/http_get_response_test",
"template": "LockHTTPResponse",
"params": [
89,
18,
8,
3,
2,
12,
16
]
},
"plaintext_authentication_1024b": {
"file": "chacha20/nivc/chacha20_nivc",
"template": "ChaCha20_NIVC",
Expand All @@ -221,8 +7,8 @@
]
},
"http_verification_1024b": {
"file": "http/nivc/http_nivc",
"template": "HttpNIVC",
"file": "http/verification",
"template": "HTTPVerification",
"params": [
1024,
25
Expand Down
145 changes: 0 additions & 145 deletions circuits/aes-gcm/aes-gcm.circom

This file was deleted.

Loading

0 comments on commit d21568d

Please sign in to comment.