test: Minor tweaks to comments in LibsodiumPubkeyValidation

This commit is contained in:
Jack Grigg 2020-03-04 06:54:58 +13:00
parent 0f12f47f58
commit 162dac1a45
1 changed files with 4 additions and 3 deletions

View File

@ -25,9 +25,10 @@ TEST(ConsensusTests, LibsodiumPubkeyValidation) {
// small order; this is currently part of our consensus rules.
// libsodium >= 1.0.16 rejects all pubkeys with small order.
//
// These test vectors were generated by finding pairs of points (A, p) both
// in the eight-torsion subgroup such that R = B + p and R = [1] B - [k] A
// (where k = SHA512(bytes(R) || bytes(A) || message) as in Ed25519).
// These test vectors were generated by finding pairs of points (A, P) both
// in the eight-torsion subgroup such that R = B + P and R = [1] B - [k] A
// (where SHA512(bytes(R) || bytes(A) || message) represents k in
// little-endian order, as in Ed25519).
TestLibsodiumEd25519SignatureVerification(
"Test vector 1",
"zcash ed25519 libsodium compatibility",