Closed EdSmith-Viasat closed 3 years ago
Hi @EdSmith-Viasat, sorry for the slow reply. The minimum L value shouldn't be limited to 512-bits. We'll look into this. It seems like the proper bound should be minimum 112 bits
@livebe01 Is there any update on this issue?
Working on this now. Apologies on the delay.
This Fix is now on Demo
UL gets the following error when they try to generate test vectors for the SP800-56Cr1 One-Step KDF: “KAS-KDF-OneStep-Sp800-56Cr1: Provided 'l' value of 256 does not meet the minimum l value of 512 for the function SHA2_D512.". The algorithm in Section 4.1 of SP800-56Cr1 (and SP800-56Cr2) is:
We are using a SP800-56Cr1 KDF to derive 256-bit DerivedKeyingMaterial. We’re using a SHA-512 hash as the function “H”, as allowed by Option 1 in Section 4.1. Although the specification limits max_H_inputBits to the output size of the hash function why is the minimum L value limited to 512-bits when using the SHA2_D512 function?