X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgogost%2Fgost3410%2F2012_test.go;h=cbccee63bade8fb37a2c7605848651b68d81c8db;hb=64f9decbd53306c271661bf70a232963f75365a3;hp=1814691ae210b09e33ef77f10dcb0fb1f0b4a3bc;hpb=3f0105abe94dc598a5aa321abb6437f5b492d675;p=gogost.git diff --git a/src/cypherpunks.ru/gogost/gost3410/2012_test.go b/src/cypherpunks.ru/gogost/gost3410/2012_test.go index 1814691..cbccee6 100644 --- a/src/cypherpunks.ru/gogost/gost3410/2012_test.go +++ b/src/cypherpunks.ru/gogost/gost3410/2012_test.go @@ -142,7 +142,14 @@ func TestGCL3Vectors(t *testing.T) { 0x60, 0xC9, 0x3B, 0xCB, 0xCD, 0x9C, 0x5C, 0x33, 0x17, 0xE1, 0x93, 0x44, 0xE1, 0x73, 0xAE, 0x36, } - c, err := NewCurve(p, q, a, b, x, y) + c, err := NewCurve( + bytes2big(p), + bytes2big(q), + bytes2big(a), + bytes2big(b), + bytes2big(x), + bytes2big(y), + ) if err != nil { t.FailNow() }