diff options
author | markm <markm@FreeBSD.org> | 2000-02-24 13:20:15 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-02-24 13:20:15 +0000 |
commit | 3aaee576c1687794f25ad3ae51a5241e6ba7c7d4 (patch) | |
tree | e7208db8d03cb39652f860c2d4f6e44b1dce06e4 /crypto | |
parent | 4f25fdd79212ac0fc4ee3aec8b80d44345fe3a8e (diff) | |
download | FreeBSD-src-3aaee576c1687794f25ad3ae51a5241e6ba7c7d4.zip FreeBSD-src-3aaee576c1687794f25ad3ae51a5241e6ba7c7d4.tar.gz |
Get this to the same level of functionality as old libdes.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssl/crypto/des/des.h | 4 | ||||
-rw-r--r-- | crypto/openssl/crypto/des/des_crypt.man | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/crypto/openssl/crypto/des/des.h b/crypto/openssl/crypto/des/des.h index 67f90aa..9e15955 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 0ecc416..ed12ff9 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. |