|
@@ -1,5 +1,7 @@
|
|
|
-`sigma-compiler` by Ian Goldberg, iang@uwaterloo.ca
|
|
|
|
|
-Version 0.2.3, 2026-08-04
|
|
|
|
|
|
|
+`sigma-compiler`
|
|
|
|
|
+Ian Goldberg, iang@uwaterloo.ca
|
|
|
|
|
+Michele Orrù, m@orru.net
|
|
|
|
|
+Version 0.3.0, 2026-11-10
|
|
|
|
|
|
|
|
This crate provides the `sigma_compiler!` macro as an easy interface
|
|
This crate provides the `sigma_compiler!` macro as an easy interface
|
|
|
to the [`sigma-proofs`](https://crates.io/crates/sigma-proofs) API
|
|
to the [`sigma-proofs`](https://crates.io/crates/sigma-proofs) API
|
|
@@ -23,7 +25,7 @@ The pieces are as follows:
|
|
|
structures and code associated with this sigma protocol.
|
|
structures and code associated with this sigma protocol.
|
|
|
- `<Grp>`: an optional indication of the mathematical group to use
|
|
- `<Grp>`: an optional indication of the mathematical group to use
|
|
|
(a set of `Point`s and associated `Scalar`s) for this sigma
|
|
(a set of `Point`s and associated `Scalar`s) for this sigma
|
|
|
- protocol. The group must implement the [`PrimeGroup`]
|
|
|
|
|
|
|
+ protocol. The group must implement the [`PrimeGroup`]
|
|
|
trait. If `<Grp>` is omitted, it defaults to assuming there is
|
|
trait. If `<Grp>` is omitted, it defaults to assuming there is
|
|
|
a group called `G` in the current scope.
|
|
a group called `G` in the current scope.
|
|
|
- `scalar_list` is a list of variables representing `Scalar`s.
|
|
- `scalar_list` is a list of variables representing `Scalar`s.
|
|
@@ -161,7 +163,7 @@ The pieces are as follows:
|
|
|
component statements are true; an `OR` statement is true when at
|
|
component statements are true; an `OR` statement is true when at
|
|
|
least one of its component statements is true; a `THRESH` statement
|
|
least one of its component statements is true; a `THRESH` statement
|
|
|
is true when at least `t` of its component statements are true.
|
|
is true when at least `t` of its component statements are true.
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
The macro creates a submodule with the name specified by
|
|
The macro creates a submodule with the name specified by
|
|
|
`proto_name`. This module contains:
|
|
`proto_name`. This module contains:
|