Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/21/2000 23:56:02
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.