diff options
| author | djm <> | 2005-04-29 05:37:32 +0000 |
|---|---|---|
| committer | djm <> | 2005-04-29 05:37:32 +0000 |
| commit | 588543a0946f1dbf0f1dd5135f8f6447486dc183 (patch) | |
| tree | f74e14f98abfec33221f0f2e15cc88a34a3df7e5 /src/lib/libcrypto/des | |
| parent | 00b426069b0dfa8f0d9b87308646e9684f45c515 (diff) | |
| download | openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.tar.gz openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.tar.bz2 openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.zip | |
import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/des')
| -rw-r--r-- | src/lib/libcrypto/des/FILES0 | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/des/Makefile | 314 | ||||
| -rw-r--r-- | src/lib/libcrypto/des/des_old.c | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/des/destest.c | 4 |
4 files changed, 318 insertions, 4 deletions
diff --git a/src/lib/libcrypto/des/FILES0 b/src/lib/libcrypto/des/FILES0 index 4c7ea2de7a..1c2e1f75b9 100644 --- a/src/lib/libcrypto/des/FILES0 +++ b/src/lib/libcrypto/des/FILES0 | |||
| @@ -8,7 +8,7 @@ README - What this package is. | |||
| 8 | VERSION - Which version this is and what was changed. | 8 | VERSION - Which version this is and what was changed. |
| 9 | KERBEROS - Kerberos version 4 notes. | 9 | KERBEROS - Kerberos version 4 notes. |
| 10 | Makefile.PL - An old makefile to build with perl5, not current. | 10 | Makefile.PL - An old makefile to build with perl5, not current. |
| 11 | Makefile.ssl - The SSLeay makefile | 11 | Makefile - The SSLeay makefile |
| 12 | Makefile.uni - The normal unix makefile. | 12 | Makefile.uni - The normal unix makefile. |
| 13 | GNUmakefile - The makefile for use with glibc. | 13 | GNUmakefile - The makefile for use with glibc. |
| 14 | makefile.bc - A Borland C makefile | 14 | makefile.bc - A Borland C makefile |
diff --git a/src/lib/libcrypto/des/Makefile b/src/lib/libcrypto/des/Makefile new file mode 100644 index 0000000000..655f2ea1a8 --- /dev/null +++ b/src/lib/libcrypto/des/Makefile | |||
| @@ -0,0 +1,314 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/des/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= des | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES=-I$(TOP) -I../../include | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile | ||
| 17 | AR= ar r | ||
| 18 | RANLIB= ranlib | ||
| 19 | DES_ENC= des_enc.o fcrypt_b.o | ||
| 20 | # or use | ||
| 21 | #DES_ENC= dx86-elf.o yx86-elf.o | ||
| 22 | |||
| 23 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 24 | ASFLAGS= $(INCLUDES) $(ASFLAG) | ||
| 25 | |||
| 26 | GENERAL=Makefile | ||
| 27 | TEST=destest.c | ||
| 28 | APPS= | ||
| 29 | |||
| 30 | LIB=$(TOP)/libcrypto.a | ||
| 31 | LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ | ||
| 32 | ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \ | ||
| 33 | fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \ | ||
| 34 | qud_cksm.c rand_key.c rpc_enc.c set_key.c \ | ||
| 35 | des_enc.c fcrypt_b.c \ | ||
| 36 | xcbc_enc.c \ | ||
| 37 | str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \ | ||
| 38 | read2pwd.c | ||
| 39 | |||
| 40 | LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \ | ||
| 41 | ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \ | ||
| 42 | enc_read.o enc_writ.o ofb64enc.o \ | ||
| 43 | ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \ | ||
| 44 | ${DES_ENC} \ | ||
| 45 | fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \ | ||
| 46 | ede_cbcm_enc.o des_old.o des_old2.o read2pwd.o | ||
| 47 | |||
| 48 | SRC= $(LIBSRC) | ||
| 49 | |||
| 50 | EXHEADER= des.h des_old.h | ||
| 51 | HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER) | ||
| 52 | |||
| 53 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 54 | |||
| 55 | top: | ||
| 56 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 57 | |||
| 58 | all: lib | ||
| 59 | |||
| 60 | lib: $(LIBOBJ) | ||
| 61 | $(AR) $(LIB) $(LIBOBJ) | ||
| 62 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 63 | @touch lib | ||
| 64 | |||
| 65 | des: des.o cbc3_enc.o lib | ||
| 66 | $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB) | ||
| 67 | |||
| 68 | # elf | ||
| 69 | asm/dx86-elf.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 70 | (cd asm; $(PERL) des-586.pl elf $(CFLAGS) > dx86-elf.s) | ||
| 71 | |||
| 72 | asm/yx86-elf.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 73 | (cd asm; $(PERL) crypt586.pl elf $(CFLAGS) > yx86-elf.s) | ||
| 74 | |||
| 75 | # a.out | ||
| 76 | asm/dx86-out.o: asm/dx86unix.cpp | ||
| 77 | $(CPP) -DOUT asm/dx86unix.cpp | as -o asm/dx86-out.o | ||
| 78 | |||
| 79 | asm/yx86-out.o: asm/yx86unix.cpp | ||
| 80 | $(CPP) -DOUT asm/yx86unix.cpp | as -o asm/yx86-out.o | ||
| 81 | |||
| 82 | # bsdi | ||
| 83 | asm/dx86bsdi.o: asm/dx86unix.cpp | ||
| 84 | $(CPP) -DBSDI asm/dx86unix.cpp | sed 's/ :/:/' | as -o asm/dx86bsdi.o | ||
| 85 | |||
| 86 | asm/yx86bsdi.o: asm/yx86unix.cpp | ||
| 87 | $(CPP) -DBSDI asm/yx86unix.cpp | sed 's/ :/:/' | as -o asm/yx86bsdi.o | ||
| 88 | |||
| 89 | asm/dx86unix.cpp: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 90 | (cd asm; $(PERL) des-586.pl cpp >dx86unix.cpp) | ||
| 91 | |||
| 92 | asm/yx86unix.cpp: asm/crypt586.pl ../perlasm/x86asm.pl | ||
| 93 | (cd asm; $(PERL) crypt586.pl cpp >yx86unix.cpp) | ||
| 94 | |||
| 95 | files: | ||
| 96 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | ||
| 97 | |||
| 98 | links: | ||
| 99 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 100 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 101 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 102 | |||
| 103 | install: installs | ||
| 104 | |||
| 105 | installs: | ||
| 106 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ | ||
| 107 | do \ | ||
| 108 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 109 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 110 | done; | ||
| 111 | |||
| 112 | tags: | ||
| 113 | ctags $(SRC) | ||
| 114 | |||
| 115 | tests: | ||
| 116 | |||
| 117 | lint: | ||
| 118 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 119 | |||
| 120 | depend: | ||
| 121 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) | ||
| 122 | |||
| 123 | dclean: | ||
| 124 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 125 | mv -f Makefile.new $(MAKEFILE) | ||
| 126 | |||
| 127 | clean: | ||
| 128 | rm -f asm/dx86unix.cpp asm/yx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff | ||
| 129 | |||
| 130 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 131 | |||
| 132 | cbc_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 133 | cbc_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 134 | cbc_cksm.o: ../../include/openssl/opensslconf.h | ||
| 135 | cbc_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 136 | cbc_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 137 | cbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 138 | cbc_cksm.o: cbc_cksm.c des_locl.h | ||
| 139 | cbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 140 | cbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 141 | cbc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 142 | cbc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 143 | cbc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 144 | cbc_enc.o: ../../include/openssl/ui_compat.h cbc_enc.c des_locl.h ncbc_enc.c | ||
| 145 | cfb64ede.o: ../../e_os.h ../../include/openssl/crypto.h | ||
| 146 | cfb64ede.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 147 | cfb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 148 | cfb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 149 | cfb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 150 | cfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 151 | cfb64ede.o: cfb64ede.c des_locl.h | ||
| 152 | cfb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 153 | cfb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 154 | cfb64enc.o: ../../include/openssl/opensslconf.h | ||
| 155 | cfb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 156 | cfb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 157 | cfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 158 | cfb64enc.o: cfb64enc.c des_locl.h | ||
| 159 | cfb_enc.o: ../../e_os.h ../../include/openssl/crypto.h | ||
| 160 | cfb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 161 | cfb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 162 | cfb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 163 | cfb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 164 | cfb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 165 | cfb_enc.o: cfb_enc.c des_locl.h | ||
| 166 | des_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 167 | des_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 168 | des_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 169 | des_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 170 | des_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 171 | des_enc.o: ../../include/openssl/ui_compat.h des_enc.c des_locl.h ncbc_enc.c | ||
| 172 | des_old.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 173 | des_old.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 174 | des_old.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 175 | des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 176 | des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 177 | des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 178 | des_old.o: ../../include/openssl/ui_compat.h des_old.c | ||
| 179 | des_old2.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 180 | des_old2.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 181 | des_old2.o: ../../include/openssl/opensslconf.h | ||
| 182 | des_old2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 183 | des_old2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 184 | des_old2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 185 | des_old2.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 186 | des_old2.o: des_old2.c | ||
| 187 | ecb3_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 188 | ecb3_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 189 | ecb3_enc.o: ../../include/openssl/opensslconf.h | ||
| 190 | ecb3_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 191 | ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 192 | ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 193 | ecb3_enc.o: des_locl.h ecb3_enc.c | ||
| 194 | ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
| 195 | ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 196 | ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 197 | ecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 198 | ecb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 199 | ecb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 200 | ecb_enc.o: des_locl.h des_ver.h ecb_enc.c spr.h | ||
| 201 | ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 202 | ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 203 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h | ||
| 204 | ede_cbcm_enc.o: ../../include/openssl/opensslv.h | ||
| 205 | ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 206 | ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 207 | ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c | ||
| 208 | enc_read.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 209 | enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 210 | enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 211 | enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 212 | enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 213 | enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 214 | enc_read.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 215 | enc_read.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 216 | enc_read.o: ../cryptlib.h des_locl.h enc_read.c | ||
| 217 | enc_writ.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 218 | enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 219 | enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 220 | enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 221 | enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 222 | enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 223 | enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 224 | enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 225 | enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 226 | enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c | ||
| 227 | fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 228 | fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 229 | fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 230 | fcrypt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 231 | fcrypt.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 232 | fcrypt.o: ../../include/openssl/ui_compat.h des_locl.h fcrypt.c | ||
| 233 | fcrypt_b.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 234 | fcrypt_b.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 235 | fcrypt_b.o: ../../include/openssl/opensslconf.h | ||
| 236 | fcrypt_b.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 237 | fcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 238 | fcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 239 | fcrypt_b.o: des_locl.h fcrypt_b.c | ||
| 240 | ofb64ede.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 241 | ofb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 242 | ofb64ede.o: ../../include/openssl/opensslconf.h | ||
| 243 | ofb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 244 | ofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 245 | ofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 246 | ofb64ede.o: des_locl.h ofb64ede.c | ||
| 247 | ofb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 248 | ofb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 249 | ofb64enc.o: ../../include/openssl/opensslconf.h | ||
| 250 | ofb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 251 | ofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 252 | ofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 253 | ofb64enc.o: des_locl.h ofb64enc.c | ||
| 254 | ofb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 255 | ofb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 256 | ofb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 257 | ofb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 258 | ofb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 259 | ofb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ofb_enc.c | ||
| 260 | pcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 261 | pcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 262 | pcbc_enc.o: ../../include/openssl/opensslconf.h | ||
| 263 | pcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 264 | pcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 265 | pcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 266 | pcbc_enc.o: des_locl.h pcbc_enc.c | ||
| 267 | qud_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 268 | qud_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 269 | qud_cksm.o: ../../include/openssl/opensslconf.h | ||
| 270 | qud_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 271 | qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 272 | qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 273 | qud_cksm.o: des_locl.h qud_cksm.c | ||
| 274 | rand_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 275 | rand_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 276 | rand_key.o: ../../include/openssl/opensslconf.h | ||
| 277 | rand_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 278 | rand_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 279 | rand_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 280 | rand_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 281 | rand_key.o: rand_key.c | ||
| 282 | read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 283 | read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 284 | read2pwd.o: ../../include/openssl/opensslconf.h | ||
| 285 | read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 286 | read2pwd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 287 | read2pwd.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 288 | read2pwd.o: read2pwd.c | ||
| 289 | rpc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 290 | rpc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 291 | rpc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 292 | rpc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 293 | rpc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 294 | rpc_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h rpc_des.h | ||
| 295 | rpc_enc.o: rpc_enc.c | ||
| 296 | set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 297 | set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 298 | set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 299 | set_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 300 | set_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 301 | set_key.o: ../../include/openssl/ui_compat.h des_locl.h set_key.c | ||
| 302 | str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 303 | str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 304 | str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 305 | str2key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 306 | str2key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 307 | str2key.o: ../../include/openssl/ui_compat.h des_locl.h str2key.c | ||
| 308 | xcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 309 | xcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 310 | xcbc_enc.o: ../../include/openssl/opensslconf.h | ||
| 311 | xcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 312 | xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 313 | xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 314 | xcbc_enc.o: des_locl.h xcbc_enc.c | ||
diff --git a/src/lib/libcrypto/des/des_old.c b/src/lib/libcrypto/des/des_old.c index 7e4cd7180d..88e9802aad 100644 --- a/src/lib/libcrypto/des/des_old.c +++ b/src/lib/libcrypto/des/des_old.c | |||
| @@ -84,7 +84,7 @@ void _ossl_old_des_ecb3_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock | |||
| 84 | des_key_schedule ks1,des_key_schedule ks2, | 84 | des_key_schedule ks1,des_key_schedule ks2, |
| 85 | des_key_schedule ks3, int enc) | 85 | des_key_schedule ks3, int enc) |
| 86 | { | 86 | { |
| 87 | DES_ecb3_encrypt((const_DES_cblock *)input, output, | 87 | DES_ecb3_encrypt((const unsigned char *)input, (unsigned char *)output, |
| 88 | (DES_key_schedule *)ks1, (DES_key_schedule *)ks2, | 88 | (DES_key_schedule *)ks1, (DES_key_schedule *)ks2, |
| 89 | (DES_key_schedule *)ks3, enc); | 89 | (DES_key_schedule *)ks3, enc); |
| 90 | } | 90 | } |
diff --git a/src/lib/libcrypto/des/destest.c b/src/lib/libcrypto/des/destest.c index 3983ac8e5f..e3e9d77f14 100644 --- a/src/lib/libcrypto/des/destest.c +++ b/src/lib/libcrypto/des/destest.c | |||
| @@ -439,8 +439,8 @@ int main(int argc, char *argv[]) | |||
| 439 | memcpy(in,plain_data[i],8); | 439 | memcpy(in,plain_data[i],8); |
| 440 | memset(out,0,8); | 440 | memset(out,0,8); |
| 441 | memset(outin,0,8); | 441 | memset(outin,0,8); |
| 442 | des_ecb2_encrypt(&in,&out,ks,ks2,DES_ENCRYPT); | 442 | des_ecb2_encrypt(in,out,ks,ks2,DES_ENCRYPT); |
| 443 | des_ecb2_encrypt(&out,&outin,ks,ks2,DES_DECRYPT); | 443 | des_ecb2_encrypt(out,outin,ks,ks2,DES_DECRYPT); |
| 444 | 444 | ||
| 445 | if (memcmp(out,cipher_ecb2[i],8) != 0) | 445 | if (memcmp(out,cipher_ecb2[i],8) != 0) |
| 446 | { | 446 | { |
