aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2000-02-24 13:20:15 +0000
committerMark Murray <markm@FreeBSD.org>2000-02-24 13:20:15 +0000
commitb98bf150796ad7aff76a8be4629a20e839ee2a3a (patch)
tree416293bb42447f3aaaf3edd443ab73f224389cfa /crypto/openssl
parent957428c77a2c7872a39d36c73e2a28c79bdf9dab (diff)
downloadsrc-b98bf150796ad7aff76a8be4629a20e839ee2a3a.tar.gz
src-b98bf150796ad7aff76a8be4629a20e839ee2a3a.zip
Notes
Diffstat (limited to 'crypto/openssl')
-rw-r--r--crypto/openssl/crypto/des/des.h4
-rw-r--r--crypto/openssl/crypto/des/des_crypt.man7
2 files changed, 8 insertions, 3 deletions
diff --git a/crypto/openssl/crypto/des/des.h b/crypto/openssl/crypto/des/des.h
index 67f90aaf172f..9e1595572f52 100644
--- a/crypto/openssl/crypto/des/des.h
+++ b/crypto/openssl/crypto/des/des.h
@@ -54,6 +54,7 @@
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
+ * $FreeBSD$
*/
#ifndef HEADER_DES_H
@@ -187,6 +188,9 @@ DES_LONG des_quad_cksum(const unsigned char *input,des_cblock output[],
long length,int out_count,des_cblock *seed);
void des_random_seed(des_cblock *key);
void des_random_key(des_cblock *ret);
+int des_new_random_key(des_cblock *key);
+void des_init_random_number_generator(des_cblock *seed);
+void des_rand_data(unsigned char *data, int size);
int des_read_password(des_cblock *key,const char *prompt,int verify);
int des_read_2passwords(des_cblock *key1,des_cblock *key2,
const char *prompt,int verify);
diff --git a/crypto/openssl/crypto/des/des_crypt.man b/crypto/openssl/crypto/des/des_crypt.man
index 0ecc416877fe..ed12ff9322e8 100644
--- a/crypto/openssl/crypto/des/des_crypt.man
+++ b/crypto/openssl/crypto/des/des_crypt.man
@@ -1,3 +1,4 @@
+.\" $FreeBSD$
.TH DES_CRYPT 3
.SH NAME
des_read_password, des_read_2password,
@@ -13,7 +14,7 @@ des_is_weak_key, crypt \- (non USA) DES encryption
.nf
.nj
.ft B
-#include <des.h>
+#include <openssl/des.h>
.PP
.B int des_read_password(key,prompt,verify)
des_cblock *key;
@@ -461,9 +462,9 @@ is a replacement for the normal system crypt.
It is much faster than the system crypt.
.PP
.SH FILES
-/usr/include/des.h
+/usr/include/openssl/des.h
.br
-/usr/lib/libdes.a
+/usr/lib/libcrypto.a
.PP
The encryption routines have been tested on 16bit, 32bit and 64bit
machines of various endian and even works under VMS.