Skip to content

Commit 0042364

Browse files
authored
Merge pull request #8 from rage-proof/patch-1
fix some typos
2 parents d0aa47f + e3b925d commit 0042364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

half-aggregation.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The algorithm ''VerifyAggregate(aggsig, pm_aggd<sub>0..u-1</sub>)'' is defined a
168168
** Let ''R<sub>i</sub> = lift_x(int(r<sub>i</sub>))''; fail if that fails
169169
** Let ''e<sub>i</sub> = int(hash<sub>BIP0340/challenge</sub>(bytes(r<sub>i</sub>) || pk<sub>i</sub> || m<sub>i</sub>)) mod n''
170170
** Let ''z<sub>i</sub> = int(hash<sub>HalfAgg/randomizer</sub>(r<sub>0</sub> || pk<sub>0</sub> || m<sub>0</sub> || ... || r<sub>i</sub> || pk<sub>i</sub> || m<sub>i</sub>)) mod n''
171-
* Let ''s = int(sig[u⋅32:(u+1)⋅32]); fail if ''s &ge; p''
171+
* Let ''s = int(aggsig[u⋅32:(u+1)⋅32]); fail if ''s &ge; n''
172172
* Fail if ''s⋅G &ne; z<sub>0</sub>⋅(R<sub>0</sub> + e<sub>0</sub>⋅P<sub>0</sub>) + ... + z<sub>u-1</sub>⋅(R<sub>u-1</sub> + e<sub>u-1</sub>⋅P<sub>u-1</sub>)''
173173
* Return success iff no failure occurred before reaching this point.
174174

0 commit comments

Comments
 (0)