File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -678,6 +678,8 @@ impl Bootstrap {
678
678
self . copy_file ( & src_path, & rsa_path, "modpow65537_4096.blob" ) ;
679
679
self . copy_file ( & src_path, & ec_path, "ec_add_256.blob" ) ;
680
680
self . copy_file ( & src_path, & ec_path, "ec_double_256.blob" ) ;
681
+ self . copy_file ( & src_path, & ec_path, "ec_add_384.blob" ) ;
682
+ self . copy_file ( & src_path, & ec_path, "ec_double_384.blob" ) ;
681
683
self . copy_file ( & src_path, & zkos_bigint_v1compat, "modmul_256.blob" ) ;
682
684
self . copy_file ( & src_path, & zkos_bigint_v1compat, "mul_256.blob" ) ;
683
685
}
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ BLOBS = [
59
59
"modpow65537_4096" ,
60
60
"ec_double_256" ,
61
61
"ec_add_256" ,
62
+ "ec_double_384" ,
63
+ "ec_add_384" ,
62
64
"extfield_deg2_add_256" ,
63
65
"extfield_deg2_add_384" ,
64
66
"extfield_deg2_mul_256" ,
@@ -99,6 +101,20 @@ genrule(
99
101
cmd = "$(location //zirgen/circuit/bigint:bigint2c) --program=ec_add --bitwidth 256 > $(OUTS)"
100
102
)
101
103
104
+ genrule (
105
+ name = "ec_double_384" ,
106
+ outs = ["ec_double_384.blob" ],
107
+ exec_tools = [":bigint2c" ],
108
+ cmd = "$(location //zirgen/circuit/bigint:bigint2c) --program=ec_double --bitwidth 384 > $(OUTS)"
109
+ )
110
+
111
+ genrule (
112
+ name = "ec_add_384" ,
113
+ outs = ["ec_add_384.blob" ],
114
+ exec_tools = [":bigint2c" ],
115
+ cmd = "$(location //zirgen/circuit/bigint:bigint2c) --program=ec_add --bitwidth 384 > $(OUTS)"
116
+ )
117
+
102
118
genrule (
103
119
name = "extfield_deg2_add_256" ,
104
120
outs = ["extfield_deg2_add_256.blob" ],
You can’t perform that action at this time.
0 commit comments