diff options
Diffstat (limited to 'src/tests/data/kdf/hkdf.vec')
-rw-r--r-- | src/tests/data/kdf/hkdf.vec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tests/data/kdf/hkdf.vec b/src/tests/data/kdf/hkdf.vec index da63cd558..fc14e6b19 100644 --- a/src/tests/data/kdf/hkdf.vec +++ b/src/tests/data/kdf/hkdf.vec @@ -1,7 +1,7 @@ # SHA-1 and SHA-256 data from RFC 5869 # SHA-512 data from https://www.kullo.net/blog/hkdf-sha-512-test-vectors/ -[HKDF(SHA-1)] +[HKDF(HMAC(SHA-160))] Salt = 000102030405060708090A0B0C Label = F0F1F2F3F4F5F6F7F8F9 OutputLen = 42 @@ -22,7 +22,7 @@ OutputLen = 42 Secret = 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C Output = 2C91117204D745F3500D636A62F64F0AB3BAE548AA53D423B0D1F27EBBA6F5E5673A081D70CCE7ACFC48 -[HKDF(SHA-256)] +[HKDF(HMAC(SHA-256))] Salt = 000102030405060708090A0B0C Label = F0F1F2F3F4F5F6F7F8F9 OutputLen = 42 @@ -39,7 +39,7 @@ OutputLen = 42 Secret = 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B Output = 8DA4E775A563C18F715F802A063C5A31B8A11F5C5EE1879EC3454E5F3C738D2D9D201395FAA4B61A96C8 -[HKDF(SHA-512)] +[HKDF(HMAC(SHA-512))] Salt = 000102030405060708090A0B0C Label = F0F1F2F3F4F5F6F7F8F9 OutputLen = 42 @@ -66,7 +66,7 @@ OutputLen = 42 Secret = 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C Output = 1407D46013D98BC6DECEFCFEE55F0F90B0C7F63D68EB1A80EAF07E953CFC0A3A5240A155D6E4DAA965BB -[HKDF-Extract(SHA-1)] +[HKDF-Extract(HMAC(SHA-160))] Salt = 000102030405060708090A0B0C OutputLen = 20 Secret = 0B0B0B0B0B0B0B0B0B0B0B @@ -85,7 +85,7 @@ OutputLen = 20 Secret = 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C Output = 2ADCCADA18779E7C2077AD2EB19D3F3E731385DD -[HKDF-Extract(SHA-256)] +[HKDF-Extract(HMAC(SHA-256))] Salt = 000102030405060708090A0B0C OutputLen = 42 Secret = 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B @@ -101,7 +101,7 @@ OutputLen = 42 Secret = 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B Output = 19EF24A32C717B167F33A91D6F648BDF96596776AFDB6377AC434C1C293CCB04 -[HKDF-Extract(SHA-512)] +[HKDF-Extract(HMAC(SHA-512))] Salt = 000102030405060708090A0B0C OutputLen = 64 Secret = 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B @@ -125,7 +125,7 @@ OutputLen = 64 Secret = 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C Output = 5346B376BF3AA9F84F8F6ED5B1C4F489172E244DAC303D12F68ECC766EA600AA88495E7FB605803122FA136924A840B1F0719D2D5F68E29B242299D758ED680C -[HKDF-Expand(SHA-1)] +[HKDF-Expand(HMAC(SHA-160))] IKM = 0B0B0B0B0B0B0B0B0B0B0B XTS = 000102030405060708090A0B0C Salt = F0F1F2F3F4F5F6F7F8F9 @@ -146,7 +146,7 @@ OutputLen = 42 Secret = 2ADCCADA18779E7C2077AD2EB19D3F3E731385DD Output = 2C91117204D745F3500D636A62F64F0AB3BAE548AA53D423B0D1F27EBBA6F5E5673A081D70CCE7ACFC48 -[HKDF-Expand(SHA-256)] +[HKDF-Expand(HMAC(SHA-256))] Salt = F0F1F2F3F4F5F6F7F8F9 OutputLen = 42 Secret = 077709362C2E32DF0DDC3F0DC47BBA6390B6C73BB50F9C3122EC844AD7C2B3E5 @@ -161,7 +161,7 @@ OutputLen = 42 Secret = 19EF24A32C717B167F33A91D6F648BDF96596776AFDB6377AC434C1C293CCB04 Output = 8DA4E775A563C18F715F802A063C5A31B8A11F5C5EE1879EC3454E5F3C738D2D9D201395FAA4B61A96C8 -[HKDF-Expand(SHA-512)] +[HKDF-Expand(HMAC(SHA-512))] Salt = F0F1F2F3F4F5F6F7F8F9 OutputLen = 42 Secret = 665799823737DED04A88E47E54A5890BB2C3D247C7A4254A8E61350723590A26C36238127D8661B88CF80EF802D57E2F7CEBCF1E00E083848BE19929C61B4237 |