aboutsummaryrefslogtreecommitdiff
path: root/nizk/stage1.go
diff options
context:
space:
mode:
Diffstat (limited to 'nizk/stage1.go')
-rw-r--r--nizk/stage1.go11
1 files changed, 8 insertions, 3 deletions
diff --git a/nizk/stage1.go b/nizk/stage1.go
index 7e28ca9..3d07224 100644
--- a/nizk/stage1.go
+++ b/nizk/stage1.go
@@ -8,18 +8,23 @@ import . "kesim.org/seal/common"
// for given Z, X, Y, R, C, A and B
type Stage1 struct {
- x *Scalar
- y *Scalar
- r *Scalar
+ x *Scalar
+ y *Scalar
+ r *Scalar
+
+ // Original Bid
α *Scalar
β *Scalar
bitSet bool
}
type Stage1Commitment struct {
+ // Original Commitment
A *Point
B *Point
C *Point
+
+ // New
R *Point
X *Point
Y *Point