|
|
@ -502,10 +502,11 @@ void testMsgToG1(const T& mapto) |
|
|
|
const char *y; |
|
|
|
const char *y; |
|
|
|
} tbl[] = { |
|
|
|
} tbl[] = { |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
// generated by draft-irtf-cfrg-hash-to-curve/poc/suite_bls12381g1.sage
|
|
|
|
"asdf", |
|
|
|
"asdf", |
|
|
|
"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_", |
|
|
|
"BLS_SIG_BLS12381G1_XMD:SHA-256_SSWU_RO_POP_", |
|
|
|
"bc73d15443009a8ff2ddce864136d892274dd8365c60d0d2d44cc543387348e366a8f1e1401427e37743c29ed2c939a", |
|
|
|
"a72df17570d0eb81260042edbea415ad49bdb94a1bc1ce9d1bf147d0d48268170764bb513a3b994d662e1faba137106", |
|
|
|
"101e26428a1b78c05458cb1cc37d2d87876ad3437096d2827f376702d4451667fe1fa82e82795495d33d466133ed1862", |
|
|
|
"122b77eca1ed58795b7cd456576362f4f7bd7a572a29334b4817898a42414d31e9c0267f2dc481a4daf8bcf4a460322", |
|
|
|
}, |
|
|
|
}, |
|
|
|
// https://www.ietf.org/id/draft-irtf-cfrg-hash-to-curve-09.txt
|
|
|
|
// https://www.ietf.org/id/draft-irtf-cfrg-hash-to-curve-09.txt
|
|
|
|
// H.9.1. BLS12381G1_XMD:SHA-256_SSWU_RO_
|
|
|
|
// H.9.1. BLS12381G1_XMD:SHA-256_SSWU_RO_
|
|
|
|