CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/07/22 12:09:20
Modified files:
lib/libssl/src/crypto/des: rand_key.c
Log message:
In DES_random_key(), force the generated key to the odd parity before checking
it is not one of the weak and semi-weak keys.
Even though the probability of generating a weak key with incorrect parity is
abysmally small, there is no reason to be correct (although, if you're in a
need for fresh DES keys nowadays, you should seriously consider switching to
a stronger symmetric cipher algorithm).
ok beck@