mirror of https://github.com/zcash/zips.git
Apply suggestions from code review
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
b441df0745
commit
eecee7c9d9
|
@ -1,7 +1,7 @@
|
|||
::
|
||||
|
||||
ZIP: 312
|
||||
Title: FROST for Spend Authorization Signatures
|
||||
Title: FROST for Spend Authorization Multisignatures
|
||||
Owners: Conrado Gouvea <conrado@zfnd.org>
|
||||
Chelsea Komlo <ckomlo@uwaterloo.ca>
|
||||
Deirdre Connolly <deirdre@zfnd.org>
|
||||
|
@ -167,7 +167,7 @@ A new helper function is defined, which generates a randomizer. The
|
|||
`commitment_list` values as described in [#frost-serialization]_.
|
||||
Implementations MAY choose another encoding as long as all values (the message,
|
||||
and the identifier, binding nonce and hiding nonce for each participant) are
|
||||
encoded.
|
||||
unambiguously encoded.
|
||||
|
||||
::
|
||||
|
||||
|
@ -188,7 +188,7 @@ encoded.
|
|||
rng_randomizer = G.RandomScalar()
|
||||
rng_randomizer_enc = G.SerializeScalar(rng_randomizer)
|
||||
signing_package_enc = encode_signing_package(commitment_list, msg)
|
||||
randomizer_input = random_bytes(rng_randomizer_enc || signing_package_enc)
|
||||
randomizer_input = rng_randomizer_enc || signing_package_enc
|
||||
return HR(randomizer_input)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue