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

HMAC testing with pre-computed key blocks #1505

Open
jvdsn opened this issue Apr 23, 2024 · 1 comment
Open

HMAC testing with pre-computed key blocks #1505

jvdsn opened this issue Apr 23, 2024 · 1 comment

Comments

@jvdsn
Copy link
Contributor

jvdsn commented Apr 23, 2024

FIPS 198-1, Section 6 specifies that:

Conceptually, the intermediate results of the compression function on the B-byte blocks
(K0 ⊕ ipad) and (K0 ⊕ opad) can be precomputed once, at the time of generation of the
key K, or before its first use.

It would be useful if ACVP could include a test (e.g. maybe an option in the HMAC capabilities registration) for these pre-computed key blocks. Then, instead of providing a key, the ACVP server provides the pre-computed key blocks to the IUT.

@jbrock24
Copy link
Collaborator

@jvdsn, thanks for the suggestion, I'll run it by Chris and find out what can be done. Thanks!

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

2 participants