Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   thorpej
Date:           Thu Jun 22 06:56:01 UTC 2000

Added Files:
        basesrc/lib/libcrypto [netbsd-1-5]: rnd_keys.c

Log Message:
Pull up rev. 1.1:
Add cleaned up versions of des_set_random_generator_seed(),
des_new_random_key(), and des_init_random_number_generator()
from the crypto-us libdes.

While I'm here, fix a serious bug in des_init_random_number_generator()
whereby the accumlated data to be hashed was zero'd *before* actually
being hashed.  NOTE: The bug only affects people who are not using the
rnd(4) in-kernel random number generator, and it is worth noting that
the resulting keys are not always the same, but are likely easy to
determine.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1.2.1 basesrc/lib/libcrypto/rnd_keys.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index