aboutsummaryrefslogtreecommitdiff
path: root/tests/Codec/Crypto/HKDFTests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Codec/Crypto/HKDFTests.hs')
-rw-r--r--tests/Codec/Crypto/HKDFTests.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Codec/Crypto/HKDFTests.hs b/tests/Codec/Crypto/HKDFTests.hs
index b3b2a28..44a41cd 100644
--- a/tests/Codec/Crypto/HKDFTests.hs
+++ b/tests/Codec/Crypto/HKDFTests.hs
@@ -91,7 +91,8 @@ testRFC5869 = testGroup "RFC 5869 examples"
]
where
t name hash ikm salt info len prk okm =
- testGroup name [ testCase "extract" $ HKDF.extract hash salt ikm @?= prk
+ testGroup name [ testCase "hkdf" $ HKDF.hkdf hash salt info len ikm @?= okm
+ , testCase "extract" $ HKDF.extract hash salt ikm @?= prk
, testCase "expand" $ HKDF.expand hash info len prk @?= okm
]