Closed BasileiosKal closed 1 year ago
Note that the test vectors use variable length messages now (with one of the messages being empty). Addresses one of the comments in #223.
Discussed on the WG call of the 10th of July. Fixtures are cross validated. Mergin
Test vectors for #267 and #268.
Breaking changes from the PRs
From #267
hash_to_scalar
: removedcount
. There is no longer a loop and the input toexpand_message
is justmsg_octets
instead ofmsg_prime = msg_octets || I2OSP(count, 8)
creat_generators
: removedn
(and the check at step 8) and went fromI2OSP(n, 4)
toI2OSP(i, 8)
in the input toexpand_message
when calculatingv
.From #268
ciphersuite_id
: addedHM2S_
at the end (theMAP_TO_SCALAR_ID
of themap_to_scalar
operation).