diff --git a/src/gtest/test_consensus.cpp b/src/gtest/test_consensus.cpp index ce08b7879..46dd730dd 100644 --- a/src/gtest/test_consensus.cpp +++ b/src/gtest/test_consensus.cpp @@ -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",