aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/kdf/kdf1_iso18033.vec
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/data/kdf/kdf1_iso18033.vec')
-rw-r--r--src/tests/data/kdf/kdf1_iso18033.vec24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/tests/data/kdf/kdf1_iso18033.vec b/src/tests/data/kdf/kdf1_iso18033.vec
new file mode 100644
index 000000000..389ae9b0b
--- /dev/null
+++ b/src/tests/data/kdf/kdf1_iso18033.vec
@@ -0,0 +1,24 @@
+
+# Test vectors from ISO 18033-2
+
+# C.5.1
+
+[KDF1-18033(SHA-1)]
+Secret = D6E168C5F256A2DCFF7EF12FACD390F393C7A88D
+OutputLen = 107
+Output = C325EBBB41A82551D5D0AD4834870A05EF3918C8CAAE38873F07DCA43127A4DEE36A6CA5970F6C06926037DE7DF79C4915D83FF705821D2C46A1FA7BB81B73E27176FEB7FD3A45E40B843F1AAEBCCB1EF4FA7EE3B9B491A342F43EAAA435EFDED41E0A3A6EC2EFF1F2ED95
+
+Secret = B711F58766B5D696513538F03036F30E0FC11CE1CAAE38873F07DCA43127A4DEE36A6CA5970F6C06926037DE7DF79C4915D83FF705821D2C46A1FA7BB81B73E27176FEB7FD3A45E40B843F1AAEBCCB1FD4AE168ACA94F8D062951EDEC1469BFEB97B79490FA58AD1D3CCB4
+OutputLen = 20
+Output = 281D7CB2D7D5531ED1F9382152D9BE9A89A1DF09
+
+# C.5.3
+
+[KDF1-18033(SHA-256)]
+Secret = D6E168C5F256A2DCFF7EF12FACD390F393C7A88D
+OutputLen = 20
+Output = 0742BA966813AF75536BB6149CC44FC256FD6406
+
+Secret = 09248DA92DCF5CA8360AE7F18533A19C6BA8E99ADF79665BC31DC5A62F70535E52C53015B9D37D412FF3C1193439599E1B628774C50D9CCB78D82C425E4521EE47B8C36A4BCFFE8B8112A89312FC04432A6DB6F05118F9946C80230CD9222E0146F2CBD5251CC388A62359
+OutputLen = 20
+Output = 6F0195F38EED2417AA6EB7A365245073E58711DB \ No newline at end of file