You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are few issues with it.
First:
How were the first random scalars derived? This is not defined in the standard. I've figured that you can get them by using seeded_random_scalars(SEED, DST, count) where SEED = "332e313431353932363533353839373933323338343632363433333833323739" and DST =
"BBS_BLS12381G1_XMD:SHA-256_SSWU_RO_H2G_HM2S_MOCK_RANDOM_SCALARS_DST_" but I had to make a few guesses to find that. I think this better be defined in the standard.
Second:
How second random scalars are derived, I don't know
I mean you may argue that how the random scalars are derived is not necessary to run the tests. But then why defining seeded_random_scalars function and saying that it is used to get random scalars. This function can not be used so the whole section about seeded_random_scalars is redundant
The text was updated successfully, but these errors were encountered:
NikZak
changed the title
test vectors inconsistency
test vectors: inconsistency in random scalars
Oct 8, 2024
Hi. When I look at section 8.4.5.2
or section 8.4.5.1
random scalars go as
When I look at section 8.4.5.3 random scalars are:
There are few issues with it.
First:
How were the first random scalars derived? This is not defined in the standard. I've figured that you can get them by using seeded_random_scalars(SEED, DST, count) where SEED = "332e313431353932363533353839373933323338343632363433333833323739" and DST =
"BBS_BLS12381G1_XMD:SHA-256_SSWU_RO_H2G_HM2S_MOCK_RANDOM_SCALARS_DST_" but I had to make a few guesses to find that. I think this better be defined in the standard.
Second:
How second random scalars are derived, I don't know
I mean you may argue that how the random scalars are derived is not necessary to run the tests. But then why defining
seeded_random_scalars
function and saying that it is used to get random scalars. This function can not be used so the whole section aboutseeded_random_scalars
is redundantThe text was updated successfully, but these errors were encountered: