Skip to content
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

KDFs: allow for a fixed sized fixed info #1407

Open
smuellerDD opened this issue Jan 24, 2023 · 9 comments
Open

KDFs: allow for a fixed sized fixed info #1407

smuellerDD opened this issue Jan 24, 2023 · 9 comments
Assignees

Comments

@smuellerDD
Copy link
Contributor

According to the SP800-56 series, uPartyInfo and vPartyInfo is required, but there is no requirement about the size other than it must be non-NULL.

However, SP800-56A rev 3 section 5.8.2.1.1 it is required that the components forming the fixed info are either a fixed length bit string or has a form of datalen||data.

When requesting a HKDF test vector with the demo server uPartyInfo||vPartyInfo||literal, we find that the party info strings are not always 32 bytes, but sometimes more.

For the implementation we currently work with we need a fixed size of the party info.

Thus, would it be possible to either allow the vector request to specify the size of the party info or to change the ACVP server to produce always fixed sized party info?

@livebe01
Copy link
Collaborator

Thanks @smuellerDD, just to be clear, you're running up against this issue when registering the KDA / HKDF / SP800-56Cr1 or KDA / HKDF / SP800-56Cr2 algorithms?

@smuellerDD
Copy link
Contributor Author

smuellerDD commented Jan 25, 2023 via email

@smuellerDD
Copy link
Contributor Author

As a vendor is asking for it, may I inquire the status?

@livebe01
Copy link
Collaborator

livebe01 commented Feb 6, 2023

Hi @smuellerDD, sorry. Covid ran through our house and stole a week of our lives. I'm looking at this.

@livebe01
Copy link
Collaborator

livebe01 commented Feb 7, 2023

I think we'd like to address your need with a version of the KDA testing that removes the fixedInfo from the scope of the testing as requested in usnistgov/ACVP-Server#136. We'll work to get this out in an upcoming release ASAP.

@livebe01 livebe01 self-assigned this Feb 7, 2023
@smuellerDD
Copy link
Contributor Author

May I ask for the status of it considering that we have a vendor asking for this. He cannot verify his KDF implementation without it.

@livebe01
Copy link
Collaborator

Yes, I've worked on a feature that will address this off and on, but it is not ready. I will send you an email regarding accomplishing this testing via a custom vector set so that we're not holding this up any longer.

@Viharrai
Copy link

We are in a similar situation and look forward to the fix.

@livebe01
Copy link
Collaborator

K, thanks @Viharrai. Can you send me an email at livebe01 at nist dot gov?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants