mirror of https://github.com/gtank/ristretto255
Update ristretto255_test.go
Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
This commit is contained in:
parent
72e5a6cd76
commit
ef9acd2bbd
|
@ -146,7 +146,7 @@ func TestRistrettoSmallMultiplesTestVectors(t *testing.T) {
|
||||||
// Re-encode and check round trips
|
// Re-encode and check round trips
|
||||||
roundtripEncoding := decodedPoint.Encode(nil)
|
roundtripEncoding := decodedPoint.Encode(nil)
|
||||||
if !bytes.Equal(encoding, roundtripEncoding) {
|
if !bytes.Equal(encoding, roundtripEncoding) {
|
||||||
t.Errorf("decode<>encode roundtrip failed on test vector %d", i)
|
t.Errorf("#%d: decode<>encode roundtrip failed", i)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check that the test vector encodes i * B
|
// Check that the test vector encodes i * B
|
||||||
|
|
Loading…
Reference in New Issue