Source-Changes-HG archive

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

[src/netbsd-1-5]: src/crypto/dist/openssl/crypto/des Pull up rev. 1.3:



details:   https://anonhg.NetBSD.org/src/rev/81d9d0b87b19
branches:  netbsd-1-5
changeset: 488226:81d9d0b87b19
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jun 22 14:01:38 2000 +0000

description:
Pull up rev. 1.3:
Add prototypes for des_set_random_generator_seed(),
des_new_random_key(), and des_init_random_number_generator().

diffstat:

 crypto/dist/openssl/crypto/des/des.h |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 41294591d70e -r 81d9d0b87b19 crypto/dist/openssl/crypto/des/des.h
--- a/crypto/dist/openssl/crypto/des/des.h      Thu Jun 22 11:08:13 2000 +0000
+++ b/crypto/dist/openssl/crypto/des/des.h      Thu Jun 22 14:01:38 2000 +0000
@@ -207,6 +207,13 @@
 /* Extra functions from Mark Murray <mark%grondar.za@localhost> */
 void des_cblock_print_file(const_des_cblock *cb, FILE *fp);
 
+/* The following functions are not in the normal unix build or the
+ * SSLeay build.  When using the SSLeay build, use RAND_seed()
+ * and RAND_bytes() instead. */
+int des_new_random_key(des_cblock *key);
+void des_init_random_number_generator(des_cblock *key);
+void des_set_random_generator_seed(des_cblock *key);
+
 /* The following definitions provide compatibility with the MIT Kerberos
  * library. The des_key_schedule structure is not binary compatible. */
 



Home | Main Index | Thread Index | Old Index