Test Curve25519.toPublic
This commit is contained in:
parent
ac7eaac523
commit
7472caf838
@ -16,6 +16,8 @@ katTests :: [TestTree]
|
||||
katTests =
|
||||
[ testCase "0" (aliceMultBob @=? B.convert (Curve25519.dh alicePublic bobPrivate))
|
||||
, testCase "1" (aliceMultBob @=? B.convert (Curve25519.dh bobPublic alicePrivate))
|
||||
, testCase "2" (alicePublic @=? Curve25519.toPublic alicePrivate)
|
||||
, testCase "3" (bobPublic @=? Curve25519.toPublic bobPrivate)
|
||||
]
|
||||
|
||||
tests = testGroup "Curve25519"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user