DES key derivation: reject weak keys #3259
Labels
bug
component-crypto
Crypto primitives and low-level interfaces
historical-reviewing
Currently reviewing (for legacy PR/issues)
priority-low
Low priority - this may not receive review soon
For DES,
psa_key_derivation_output_key
(formerlypsa_generator_import_key()
) should reject weak keys.This is a theoretical bug since the chance of generating a weak key is 2^{-52}. It's only a problem for compliance and DES is no longer compliant in the US.
The text was updated successfully, but these errors were encountered: