diff options
author | Krzysztof Kwiatkowski <[email protected]> | 2017-05-03 21:56:47 +0100 |
---|---|---|
committer | Krzysztof Kwiatkowski <[email protected]> | 2017-05-03 21:57:19 +0100 |
commit | 7278ed34d50c3288f93e5da550ba33361c075faa (patch) | |
tree | ce25d80a297d0d8eb49bda7dd74ba58b33579f52 | |
parent | 25c4af4af162fc2bf047b0afb451b6dc76f4a33d (diff) |
KDF SP800-56A: Add test vectors with 0 length salt to improve coverage
-rw-r--r-- | src/tests/data/kdf/sp800_56a.vec | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/tests/data/kdf/sp800_56a.vec b/src/tests/data/kdf/sp800_56a.vec index ae791be93..22e2b4fcb 100644 --- a/src/tests/data/kdf/sp800_56a.vec +++ b/src/tests/data/kdf/sp800_56a.vec @@ -1699,6 +1699,24 @@ Secret = 68DF88B87221B19AD7447200098BD5765C82D322FF906E4F21D4D35936428AE40F73E56 Label = 87DFAAB36AA6482FA98EF9B1B6D8933FE5C690D128DFF2AC3BB949B133BD54B5 Output = 5F167A5DF56C1FFB63351075A6CAFF23926599FB2D29ED0C90C50F16455E23D9C48CE6C7DE9BA2ACE54D807D49AE0DDA5E53 +OutputLen = 32 +Salt = +Secret = 7FC2A2CBC7B6BFE8FEB55F1B10CF09D47CD03223F2C1CEAC4B85E59E915FD2FF364654470785FBDE +Label = B72373D09DED6B30753E2508FDA3C2F66EEBD493A90B81548A2F631F76E45F82 +Output = 637ACC176A019A209C95B6E07CD7CD561A601303C90DC572015363F2DF1C992F + +OutputLen = 32 +Salt = 00000000000000000000000000000000 +Secret = 7FC2A2CBC7B6BFE8FEB55F1B10CF09D47CD03223F2C1CEAC4B85E59E915FD2FF364654470785FBDE +Label = B72373D09DED6B30753E2508FDA3C2F66EEBD493A90B81548A2F631F76E45F82 +Output = 637ACC176A019A209C95B6E07CD7CD561A601303C90DC572015363F2DF1C992F + +OutputLen = 32 +Salt = +Secret = 7FC2A2CBC7B6BFE8FEB55F1B10CF09D47CD03223F2C1CEAC4B85E59E915FD2FF364654470785FBDE +Label = B72373D09DED6B30753E2508FDA3C2F66EEBD493A90B81548A2F631F76E45F82 +Output = 637ACC176A019A209C95B6E07CD7CD561A601303C90DC572015363F2DF1C992F + [SP800-56A(HMAC(SHA-224))] OutputLen = 4 Salt = C767F6D57C1F68860197E6634B7D82C4 @@ -1982,6 +2000,18 @@ Secret = 30DDE77740C32DB7F495BA8D60F3430DCDE88B3732F753E63BBBDCC55460E8AE Label = 4424B9B55006BD07940E988986A705ABDEE48CE382698915A1507C898B7717E2 Output = 6BB4CB06D7B8CA867E35ED739CF0E4C51F2AC962D5A168AD8793914DE39B9453D4D9396E8309D51DC4B178F787C52E324794 +OutputLen = 32 +Salt = 00000000000000000000000000000000 +Secret = E7B512BF21024B91F05A5DED0486859F651D93E860EBEE3D6BF3EBD4C80FCDAD735A54E677ED51B3 +Label = 04F745554B8A476B757E868F92D785C744F09DF8CDDBB78F4268863B4592F9F2 +Output = 0366D8600C738F5D32747693C4CE9FE9B443E38137C88D82204F067020FFE6BD + +OutputLen = 32 +Salt = +Secret = E7B512BF21024B91F05A5DED0486859F651D93E860EBEE3D6BF3EBD4C80FCDAD735A54E677ED51B3 +Label = 04F745554B8A476B757E868F92D785C744F09DF8CDDBB78F4268863B4592F9F2 +Output = 0366D8600C738F5D32747693C4CE9FE9B443E38137C88D82204F067020FFE6BD + [SP800-56A(HMAC(SHA-256))] OutputLen = 4 Salt = C767F6D57C1F68860197E6634B7D82C4 @@ -2265,6 +2295,19 @@ Secret = 9954B07527CF034799DE8DA951CDCC7F997FE2447C03607778619103FA4AD818AB33799 Label = 316824BBB4A91C7F190FBC87A903CB5280984C9F7021B9A37F531E9BEB65369A Output = EA041F617DE62C6E1A96895C833998431D4E7DD5BDF34256E585590A8FD63734A4F787DBF560FE1A23157A987D4BAD275374 +OutputLen = 32 +Salt = +Secret = A8863B7EB7CADD66C616DFEA7C646F0F507A37819F615A7229E80EC38C524971E1961211F024A976 +Label = 69F4C64716B4ED6ACA174C34E95AC10A1E9B710FE46A49FD44978101CB172BA6 +Output = 6B9BDC2303195C79F2D831B19BDFB1E6074632C81F77247854155A3D595B4EEF + +OutputLen = 32 +Salt = 00000000000000000000000000000000 +Secret = A8863B7EB7CADD66C616DFEA7C646F0F507A37819F615A7229E80EC38C524971E1961211F024A976 +Label = 69F4C64716B4ED6ACA174C34E95AC10A1E9B710FE46A49FD44978101CB172BA6 +Output = 6B9BDC2303195C79F2D831B19BDFB1E6074632C81F77247854155A3D595B4EEF + + [SP800-56A(HMAC(SHA-384))] OutputLen = 4 Salt = C767F6D57C1F68860197E6634B7D82C4 @@ -2548,6 +2591,18 @@ Secret = A972DFA6682D92875380FF13E7EB927881F2DFEC8FD7D33FF4E6BA8D9F126D87273C338 Label = 90BD921D4B807C366240BBE737779BA3956A8E4E98379BC90D786223B3EE11DC Output = DFEFC5C422DB6E4B2BA3895ED7749F90B437729AA9C06B7A8501C55785A46499BFB9DF674193A2FDE8601FF2FE636240EBB1 +OutputLen = 32 +Salt = 00000000000000000000000000000000 +Secret = BA3C69B809B25770858598BF70D6314E4462EC7BD01B8358F57DD6143C836B6E1493F531B5BE055C +Label = 3DE8AAF14257E2ED4DF572D0BA91CC301205BD26B598EA45FD11879BB7147B36 +Output = 4C4141C3FED3580B5DC7C386092D39E0AB12B2AC29B045CC9241A620FE9CA8AA + +OutputLen = 32 +Salt = +Secret = BA3C69B809B25770858598BF70D6314E4462EC7BD01B8358F57DD6143C836B6E1493F531B5BE055C +Label = 3DE8AAF14257E2ED4DF572D0BA91CC301205BD26B598EA45FD11879BB7147B36 +Output = 4C4141C3FED3580B5DC7C386092D39E0AB12B2AC29B045CC9241A620FE9CA8AA + [SP800-56A(HMAC(SHA-512))] OutputLen = 4 Salt = C767F6D57C1F68860197E6634B7D82C4 @@ -2831,3 +2886,8 @@ Secret = 3F4D4CA74C46AEA4FCBD8B5BB752A86D3651A82EFD76D17078FCEA9FF258264C0B65CB1 Label = E0BC94FAC3F6B34EF8002F0EA7EC0B6AACD17FBDA64C92C34DD1E2703B6B3742 Output = D105B8E5D103FA30A5666863FFCF335E1150722AE34FDDCB133395B94E4815F32E1A6B3E8D65166346667FAB04F9F43E92CB +OutputLen = 32 +Salt = +Secret = 00A09DE3E7E8A6C552969A4A7E7BA0FC854425D62EA325FBC9DBF3FA1C198E794936CA4C2543408F +Label = 76F3043FA2E9D17455E6390A405B97580297C77E0F9E50E65D917B3E3097824A +Output = 00E92369E7D32619EE6987AB5BC606A727D32595B4BE4662BB4AF5D6E917DAAE |