Skip to content

Commit 87cb84d

Browse files
committed
BIP Halfagg: Match BIP340 challenge input to hacspec
1 parent 949444a commit 87cb84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

half-aggregation.mediawiki

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ The algorithm ''VerifyAggregate(aggsig, pm_aggd<sub>0..u-1</sub>)'' is defined a
171171
** Let ''P<sub>i</sub> = lift_x(int(pk<sub>i</sub>))''; fail if that fails
172172
** Let ''r<sub>i</sub> = aggsig[i⋅32:(i+1)⋅32]''
173173
** Let ''R<sub>i</sub> = lift_x(int(r<sub>i</sub>))''; fail if that fails
174-
** 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''
174+
** Let ''e<sub>i</sub> = int(hash<sub>BIP0340/challenge</sub>(bytes(r<sub>i</sub>) || P<sub>i</sub> || m<sub>i</sub>)) mod n''
175175
** If ''i = 0'':
176176
*** Let ''z<sub>i</sub> = 1''
177177
** Else:

0 commit comments

Comments
 (0)