-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SP800-56C rev 1 HKDF test spec #1048
Comments
SP800-56C rev 1 HKDF testing successfully completed - vsID 365582 |
Can you elaborate on this about the byte vs bit value? the value |
Am Mittwoch, 28. Oktober 2020, 19:35:09 CET schrieb Russ Hammett:
Hi Russ,
> description of `l` missing - note, looking at the expected value, this
> field seems to be a byte value and not a bit value
Can you elaborate on this about the byte vs bit value? the value `l` itself
as registered and in the vector set information should represent the number
of bits to derive keying material for, represented as an int. When
"plugged into" fixed info that same int value that represents the number of
bits to derive should be represented as a 32 bit bitstring. So an `l` of
512 becomes "00000400" as the "portion" of the fixed info that represents
`l` (assuming that `l` is included as a part of the fixed info).
I registered an l of 2048. Then I pulled a sample file that showed 4096 hex
characters for the dkm == 2048 bytes. I also generated 2048 bytes dkm in my
response file and that was accepted.
This indicates that l is a byte value.
Ciao
Stephan
|
Thanks @smuellerDD I'll make an update to the specification to account for |
This change will be on demo from release v1.1.0.14 after the scheduled maintenance. |
Confirmed, working. |
This change is on production in release v1.1.0.14 |
…expecting the key length in bytes * usnistgov/ACVP#1048
The HKDF test spec may need a bit of love.
Chapter on test vectors:
algorithmID not present
description of
l
missing - note, looking at the expected value, this field seems to be a byte value and not a bit valueThe text was updated successfully, but these errors were encountered: