diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1998-12-22 15:04:48 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1998-12-22 15:04:48 +0000 |
commit | 651d0aff98d28e2db146afa1790e9e22f3ef22db (patch) | |
tree | 064b04a2d7eddda845048c0278df8bbb068622f5 /crypto | |
parent | 31b8d8684441e6cd5138832bb1b2ddb10acd6ba6 (diff) |
Various cleanups and fixed by Marc and Ralf to start the OpenTLS project
Diffstat (limited to 'crypto')
89 files changed, 154 insertions, 2998 deletions
diff --git a/crypto/.cvsignore b/crypto/.cvsignore new file mode 100644 index 0000000000..a65b41774a --- /dev/null +++ b/crypto/.cvsignore @@ -0,0 +1 @@ +lib diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl index ab821e2ccb..f55d3594ec 100644 --- a/crypto/Makefile.ssl +++ b/crypto/Makefile.ssl @@ -54,7 +54,7 @@ top: all: date.h lib subdirs -date.h: ../Makefile.ssl ../VERSION +date.h: ../Makefile.ssl echo "#define DATE \"`date`\"" >date.h subdirs: diff --git a/crypto/asn1/.cvsignore b/crypto/asn1/.cvsignore new file mode 100644 index 0000000000..a65b41774a --- /dev/null +++ b/crypto/asn1/.cvsignore @@ -0,0 +1 @@ +lib diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c index bc34cc4fe0..117ccbfebb 100644 --- a/crypto/asn1/asn1_lib.c +++ b/crypto/asn1/asn1_lib.c @@ -69,7 +69,7 @@ static int asn1_get_length(); static void asn1_put_length(); #endif -char *ASN1_version="ASN1 part of SSLeay 0.9.1a 06-Jul-1998"; +char *ASN1_version="ASN.1 part of SSLeay 0.9.1c 22-Dec-1998"; int ASN1_check_infinite_end(p,len) unsigned char **p; diff --git a/crypto/bf/.cvsignore b/crypto/bf/.cvsignore new file mode 100644 index 0000000000..a65b41774a --- /dev/null +++ b/crypto/bf/.cvsignore @@ -0,0 +1 @@ +lib diff --git a/crypto/bf/bf_ecb.c b/crypto/bf/bf_ecb.c index 3b534ac038..96877271fd 100644 --- a/crypto/bf/bf_ecb.c +++ b/crypto/bf/bf_ecb.c @@ -64,7 +64,7 @@ * CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993) */ -char *BF_version="BlowFish part of SSLeay 0.9.1a 06-Jul-1998"; +char *BF_version="BlowFish part of SSLeay 0.9.1c 22-Dec-1998"; char *BF_options() { diff --git a/crypto/bio/.cvsignore b/crypto/bio/.cvsignore new file mode 100644 index 0000000000..a65b41774a --- /dev/null +++ b/crypto/bio/.cvsignore @@ -0,0 +1 @@ +lib diff --git a/crypto/bio/bio.err b/crypto/bio/bio.err index daef6430f8..e804f0d524 100644 --- a/crypto/bio/bio.err +++ b/crypto/bio/bio.err @@ -19,9 +19,8 @@ #define BIO_F_CONN_STATE 115 #define BIO_F_FILE_CTRL 116 #define BIO_F_MEM_WRITE 117 -#define BIO_F_SOCKS4A_STATE 118 -#define BIO_F_SSL_NEW 119 -#define BIO_F_WSASTARTUP 120 +#define BIO_F_SSL_NEW 118 +#define BIO_F_WSASTARTUP 119 /* Reason codes. */ #define BIO_R_ACCEPT_ERROR 100 @@ -40,14 +39,10 @@ #define BIO_R_NO_PORT_DEFINED 113 #define BIO_R_NO_PORT_SPECIFIED 114 #define BIO_R_NULL_PARAMETER 115 -#define BIO_R_SOCKS_ID_AND_IDENT_DID_NOT_MATCH 116 -#define BIO_R_SOCKS_REJECTED_CONNECTION 117 -#define BIO_R_SOCKS_UNABLE_TO_TALK_TO_IDENT_SERVER 118 -#define BIO_R_SOCKS_UNKNOWN_ERROR 119 -#define BIO_R_TAG_MISMATCH 120 -#define BIO_R_UNABLE_TO_BIND_SOCKET 121 -#define BIO_R_UNABLE_TO_CREATE_SOCKET 122 -#define BIO_R_UNABLE_TO_LISTEN_SOCKET 123 -#define BIO_R_UNINITALISED 124 -#define BIO_R_UNSUPPORTED_METHOD 125 -#define BIO_R_WSASTARTUP 126 +#define BIO_R_TAG_MISMATCH 116 +#define BIO_R_UNABLE_TO_BIND_SOCKET 117 +#define BIO_R_UNABLE_TO_CREATE_SOCKET 118 +#define BIO_R_UNABLE_TO_LISTEN_SOCKET 119 +#define BIO_R_UNINITALISED 120 +#define BIO_R_UNSUPPORTED_METHOD 121 +#define BIO_R_WSASTARTUP 122 diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index 35db3dffb1..8ddfedee51 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -683,8 +683,8 @@ int BIO_printf(); #define BIO_F_CONN_STATE 115 #define BIO_F_FILE_CTRL 116 #define BIO_F_MEM_WRITE 117 -#define BIO_F_SSL_NEW 119 -#define BIO_F_WSASTARTUP 120 +#define BIO_F_SSL_NEW 118 +#define BIO_F_WSASTARTUP 119 /* Reason codes. */ #define BIO_R_ACCEPT_ERROR 100 @@ -703,17 +703,13 @@ int BIO_printf(); #define BIO_R_NO_PORT_DEFINED 113 #define BIO_R_NO_PORT_SPECIFIED 114 #define BIO_R_NULL_PARAMETER 115 -#define BIO_R_SOCKS_ID_AND_IDENT_DID_NOT_MATCH 116 -#define BIO_R_SOCKS_REJECTED_CONNECTION 117 -#define BIO_R_SOCKS_UNABLE_TO_TALK_TO_IDENT_SERVER 118 -#define BIO_R_SOCKS_UNKNOWN_ERROR 119 -#define BIO_R_TAG_MISMATCH 120 -#define BIO_R_UNABLE_TO_BIND_SOCKET 121 -#define BIO_R_UNABLE_TO_CREATE_SOCKET 122 -#define BIO_R_UNABLE_TO_LISTEN_SOCKET 123 -#define BIO_R_UNINITALISED 124 -#define BIO_R_UNSUPPORTED_METHOD 125 -#define BIO_R_WSASTARTUP 126 +#define BIO_R_TAG_MISMATCH 116 +#define BIO_R_UNABLE_TO_BIND_SOCKET 117 +#define BIO_R_UNABLE_TO_CREATE_SOCKET 118 +#define BIO_R_UNABLE_TO_LISTEN_SOCKET 119 +#define BIO_R_UNINITALISED 120 +#define BIO_R_UNSUPPORTED_METHOD 121 +#define BIO_R_WSASTARTUP 122 #ifdef __cplusplus } diff --git a/crypto/bio/bio_err.c b/crypto/bio/bio_err.c index 01aac6e582..58a82867a3 100644 --- a/crypto/bio/bio_err.c +++ b/crypto/bio/bio_err.c @@ -81,7 +81,6 @@ static ERR_STRING_DATA BIO_str_functs[]= {ERR_PACK(0,BIO_F_CONN_STATE,0), "CONN_STATE"}, {ERR_PACK(0,BIO_F_FILE_CTRL,0), "FILE_CTRL"}, {ERR_PACK(0,BIO_F_MEM_WRITE,0), "MEM_WRITE"}, -{ERR_PACK(0,BIO_F_SOCKS4A_STATE,0), "SOCKS4A_STATE"}, {ERR_PACK(0,BIO_F_SSL_NEW,0), "SSL_NEW"}, {ERR_PACK(0,BIO_F_WSASTARTUP,0), "WSASTARTUP"}, {0,NULL}, @@ -105,10 +104,6 @@ static ERR_STRING_DATA BIO_str_reasons[]= {BIO_R_NO_PORT_DEFINED ,"no port defined"}, {BIO_R_NO_PORT_SPECIFIED ,"no port specified"}, {BIO_R_NULL_PARAMETER ,"null parameter"}, -{BIO_R_SOCKS_ID_AND_IDENT_DID_NOT_MATCH ,"socks id and ident did not match"}, -{BIO_R_SOCKS_REJECTED_CONNECTION ,"socks rejected connection"}, -{BIO_R_SOCKS_UNABLE_TO_TALK_TO_IDENT_SERVER,"socks unable to talk to ident server"}, -{BIO_R_SOCKS_UNKNOWN_ERROR ,"socks unknown error"}, {BIO_R_TAG_MISMATCH ,"tag mismatch"}, {BIO_R_UNABLE_TO_BIND_SOCKET ,"unable to bind socket"}, {BIO_R_UNABLE_TO_CREATE_SOCKET ,"unable to create socket"}, diff --git a/crypto/bn/.cvsignore b/crypto/bn/.cvsignore new file mode 100644 index 0000000000..a65b41774a --- /dev/null +++ b/crypto/bn/.cvsignore @@ -0,0 +1 @@ +lib diff --git a/crypto/bn/asm/......add.c b/crypto/bn/asm/......add.c deleted file mode 100644 index 60edeaa07e..0000000000 --- a/crypto/bn/asm/......add.c +++ /dev/null @@ -1,12 +0,0 @@ -#include <stdio.h> - { - unsigned long a[10],b[10],c[10]; - - a[0]=0xFFFFFFFF; - a[1]=0xFFFFFFFF; - b[0]=0xFFFFFFFF; - b[1]=0xFFFFFFFF; - - c[2]=bn_add_words(c,a,b,2); - printf("%08X %08X %08X\n",c[2],c[1],c[0]); - } diff --git a/crypto/bn/asm/a.out b/crypto/bn/asm/a.out Binary files differdeleted file mode 100644 index cc5094ff45..0000000000 --- a/crypto/bn/asm/a.out +++ /dev/null diff --git a/crypto/bn/bn.err b/crypto/bn/bn.err index ba5c9bc97e..ba51ca93b1 100644 --- a/crypto/bn/bn.err +++ b/crypto/bn/bn.err @@ -5,18 +5,20 @@ #define BN_F_BN_BLINDING_INVERT 101 #define BN_F_BN_BLINDING_NEW 102 #define BN_F_BN_BLINDING_UPDATE 103 -#define BN_F_BN_BN2DEC 104 -#define BN_F_BN_BN2HEX 105 -#define BN_F_BN_CTX_NEW 106 -#define BN_F_BN_DIV 107 -#define BN_F_BN_EXPAND2 108 -#define BN_F_BN_MOD_EXP_MONT 109 -#define BN_F_BN_MOD_INVERSE 110 -#define BN_F_BN_MOD_MUL_RECIPROCAL 111 -#define BN_F_BN_MPI2BN 112 -#define BN_F_BN_NEW 113 -#define BN_F_BN_RAND 114 -#define BN_F_BN_USUB 115 +#define BN_F_BN_BL_CTX_INIT 104 +#define BN_F_BN_BL_CTX_NEW 105 +#define BN_F_BN_BN2DEC 106 +#define BN_F_BN_BN2HEX 107 +#define BN_F_BN_CTX_NEW 108 +#define BN_F_BN_DIV 109 +#define BN_F_BN_EXPAND2 110 +#define BN_F_BN_MOD_EXP_MONT 111 +#define BN_F_BN_MOD_INVERSE 112 +#define BN_F_BN_MOD_MUL_RECIPROCAL 113 +#define BN_F_BN_MPI2BN 114 +#define BN_F_BN_NEW 115 +#define BN_F_BN_RAND 116 +#define BN_F_BN_USUB 117 /* Reason codes. */ #define BN_R_ARG2_LT_ARG3 100 diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index 2c14a1d582..90b438e589 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -79,7 +79,7 @@ extern "C" { #define BN_MUL_COMBA #define BN_SQR_COMBA -#undef BN_RECURSION +#define BN_RECURSION #define RECP_MUL_MOD #define MONT_MUL_MOD @@ -566,18 +566,20 @@ int BN_div_recp(); #define BN_F_BN_BLINDING_INVERT 101 #define BN_F_BN_BLINDING_NEW 102 #define BN_F_BN_BLINDING_UPDATE 103 -#define BN_F_BN_BN2DEC 104 -#define BN_F_BN_BN2HEX 105 -#define BN_F_BN_CTX_NEW 106 -#define BN_F_BN_DIV 107 -#define BN_F_BN_EXPAND2 108 -#define BN_F_BN_MOD_EXP_MONT 109 -#define BN_F_BN_MOD_INVERSE 110 -#define BN_F_BN_MOD_MUL_RECIPROCAL 111 -#define BN_F_BN_MPI2BN 112 -#define BN_F_BN_NEW 113 -#define BN_F_BN_RAND 114 -#define BN_F_BN_USUB 115 +#define BN_F_BN_BL_CTX_INIT 104 +#define BN_F_BN_BL_CTX_NEW 105 +#define BN_F_BN_BN2DEC 106 +#define BN_F_BN_BN2HEX 107 +#define BN_F_BN_CTX_NEW 108 +#define BN_F_BN_DIV 109 +#define BN_F_BN_EXPAND2 110 +#define BN_F_BN_MOD_EXP_MONT 111 +#define BN_F_BN_MOD_INVERSE 112 +#define BN_F_BN_MOD_MUL_RECIPROCAL 113 +#define BN_F_BN_MPI2BN 114 +#define BN_F_BN_NEW 115 +#define BN_F_BN_RAND 116 +#define BN_F_BN_USUB 117 /* Reason codes. */ #define BN_R_ARG2_LT_ARG3 100 diff --git a/crypto/bn/bn.org b/crypto/bn/bn.org index d8904d7efa..90b438e589 100644 --- a/crypto/bn/bn.org +++ b/crypto/bn/bn.org @@ -566,18 +566,20 @@ int BN_div_recp(); #define BN_F_BN_BLINDING_INVERT 101 #define BN_F_BN_BLINDING_NEW 102 #define BN_F_BN_BLINDING_UPDATE 103 -#define BN_F_BN_BN2DEC 104 -#define BN_F_BN_BN2HEX 105 -#define BN_F_BN_CTX_NEW 106 -#define BN_F_BN_DIV 107 -#define BN_F_BN_EXPAND2 108 -#define BN_F_BN_MOD_EXP_MONT 109 -#define BN_F_BN_MOD_INVERSE 110 -#define BN_F_BN_MOD_MUL_RECIPROCAL 111 -#define BN_F_BN_MPI2BN 112 -#define BN_F_BN_NEW 113 -#define BN_F_BN_RAND 114 -#define BN_F_BN_USUB 115 +#define BN_F_BN_BL_CTX_INIT 104 +#define BN_F_BN_BL_CTX_NEW 105 +#define BN_F_BN_BN2DEC 106 +#define BN_F_BN_BN2HEX 107 +#define BN_F_BN_CTX_NEW 108 +#define BN_F_BN_DIV 109 +#define BN_F_BN_EXPAND2 110 +#define BN_F_BN_MOD_EXP_MONT 111 +#define BN_F_BN_MOD_INVERSE 112 +#define BN_F_BN_MOD_MUL_RECIPROCAL 113 +#define BN_F_BN_MPI2BN 114 +#define BN_F_BN_NEW 115 +#define BN_F_BN_RAND 116 +#define BN_F_BN_USUB 117 /* Reason codes. */ #define BN_R_ARG2_LT_ARG3 100 diff --git a/crypto/bn/bn_err.c b/crypto/bn/bn_err.c index 4c29c1ac55..773d0efd66 100644 --- a/crypto/bn/bn_err.c +++ b/crypto/bn/bn_err.c @@ -67,6 +67,8 @@ static ERR_STRING_DATA BN_str_functs[]= {ERR_PACK(0,BN_F_BN_BLINDING_INVERT,0), "BN_BLINDING_invert"}, {ERR_PACK(0,BN_F_BN_BLINDING_NEW,0), "BN_BLINDING_new"}, {ERR_PACK(0,BN_F_BN_BLINDING_UPDATE,0), "BN_BLINDING_update"}, +{ERR_PACK(0,BN_F_BN_BL_CTX_INIT,0), "BN_BL_CTX_INIT"}, +{ERR_PACK(0,BN_F_BN_BL_CTX_NEW,0), "BN_BL_CTX_NEW"}, {ERR_PACK(0,BN_F_BN_BN2DEC,0), "BN_bn2dec"}, {ERR_PACK(0,BN_F_BN_BN2HEX,0), "BN_bn2hex"}, {ERR_PACK(0,BN_F_BN_CTX_NEW,0), "BN_CTX_new"}, diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c index 7ea216f919..9f3d0f3c5e 100644 |