diff options
| author | cvs2svn <admin@example.com> | 2002-09-05 12:51:53 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2002-09-05 12:51:53 +0000 |
| commit | d6e0927a98d2b936d171fcdf2ac1c56b694a3705 (patch) | |
| tree | c76a93032161bb7aba600dc59798f7100c8ff8eb /src/lib/libcrypto | |
| parent | 5514995a9d5ed91db089875adb509c7781357c0e (diff) | |
| download | openbsd-OPENSSL_0_9_7_BETA1.tar.gz openbsd-OPENSSL_0_9_7_BETA1.tar.bz2 openbsd-OPENSSL_0_9_7_BETA1.zip | |
This commit was manufactured by cvs2git to create tag 'OPENSSL_0_9_7_BETA1'.OPENSSL_0_9_7_BETA1
Diffstat (limited to 'src/lib/libcrypto')
56 files changed, 11173 insertions, 1059 deletions
diff --git a/src/lib/libcrypto/Attic/Makefile b/src/lib/libcrypto/Attic/Makefile deleted file mode 100644 index eb49323ad5..0000000000 --- a/src/lib/libcrypto/Attic/Makefile +++ /dev/null | |||
| @@ -1,133 +0,0 @@ | |||
| 1 | LIB= crypto | ||
| 2 | CFLAGS+= -DNO_IDEA -DTERMIOS -DL_ENDIAN -DANSI_SOURCE | ||
| 3 | CFLAGS+= -I${.CURDIR}/../include | ||
| 4 | SRCS+= cryptlib.c mem.c cversion.c ex_data.c cpt_err.c | ||
| 5 | CFLAGS+= -I${.CURDIR}/md2 | ||
| 6 | SRCS+= md2_dgst.c md2_one.c | ||
| 7 | CFLAGS+= -I${.CURDIR}/md5 | ||
| 8 | SRCS+= md5_dgst.c md5_one.c | ||
| 9 | CFLAGS+= -I${.CURDIR}/sha | ||
| 10 | SRCS+= sha_dgst.c sha1dgst.c sha_one.c sha1_one.c | ||
| 11 | CFLAGS+= -I${.CURDIR}/mdc2 | ||
| 12 | SRCS+= mdc2dgst.c mdc2_one.c | ||
| 13 | CFLAGS+= -I${.CURDIR}/hmac | ||
| 14 | SRCS+= hmac.c | ||
| 15 | CFLAGS+= -I${.CURDIR}/ripemd | ||
| 16 | SRCS+= rmd_dgst.c rmd_one.c | ||
| 17 | CFLAGS+= -I${.CURDIR}/des | ||
| 18 | SRCS+= set_key.c ecb_enc.c cbc_enc.c ecb3_enc.c | ||
| 19 | SRCS+= cfb64enc.c cfb64ede.c cfb_enc.c ofb64ede.c | ||
| 20 | SRCS+= enc_read.c enc_writ.c ofb64enc.c ofb_enc.c | ||
| 21 | SRCS+= str2key.c pcbc_enc.c qud_cksm.c rand_key.c | ||
| 22 | SRCS+= read2pwd.c fcrypt.c xcbc_enc.c read_pwd.c | ||
| 23 | SRCS+= rpc_enc.c cbc_cksm.c supp.c | ||
| 24 | CFLAGS+= -I${.CURDIR}/rc2 | ||
| 25 | SRCS+= rc2_ecb.c rc2_skey.c rc2_cbc.c rc2cfb64.c | ||
| 26 | SRCS+= rc2ofb64.c | ||
| 27 | CFLAGS+= -I${.CURDIR}/rc4 | ||
| 28 | SRCS+= rc4_skey.c | ||
| 29 | CFLAGS+= -I${.CURDIR}/rc5 | ||
| 30 | SRCS+= rc5_skey.c rc5_ecb.c rc5cfb64.c rc5cfb64.c | ||
| 31 | SRCS+= rc5ofb64.c | ||
| 32 | CFLAGS+= -I${.CURDIR}/idea | ||
| 33 | SRCS+= i_cbc.c i_cfb64.c i_ofb64.c i_ecb.c | ||
| 34 | SRCS+= i_skey.c | ||
| 35 | CFLAGS+= -I${.CURDIR}/bf | ||
| 36 | SRCS+= bf_skey.c bf_ecb.c bf_cfb64.c bf_ofb64.c | ||
| 37 | CFLAGS+= -I${.CURDIR}/cast | ||
| 38 | SRCS+= c_skey.c c_ecb.c c_cfb64.c c_ofb64.c | ||
| 39 | CFLAGS+= -I${.CURDIR}/bn | ||
| 40 | SRCS+= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_mod.c | ||
| 41 | SRCS+= bn_mul.c bn_print.c bn_rand.c bn_shift.c bn_sub.c | ||
| 42 | SRCS+= bn_word.c bn_blind.c bn_gcd.c bn_prime.c bn_err.c | ||
| 43 | SRCS+= bn_sqr.c bn_recp.c bn_mont.c bn_mpi.c | ||
| 44 | CFLAGS+= -I${.CURDIR}/rsa | ||
| 45 | SRCS+= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c | ||
| 46 | SRCS+= rsa_saos.c rsa_err.c rsa_pk1.c rsa_ssl.c | ||
| 47 | SRCS+= rsa_none.c | ||
| 48 | CFLAGS+= -I${.CURDIR}/dsa | ||
| 49 | SRCS+= dsa_gen.c dsa_key.c dsa_lib.c dsa_vrf.c | ||
| 50 | SRCS+= dsa_sign.c dsa_err.c | ||
| 51 | CFLAGS+= -I${.CURDIR}/dh | ||
| 52 | SRCS+= dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c | ||
| 53 | CFLAGS+= -I${.CURDIR}/buffer | ||
| 54 | SRCS+= buffer.c buf_err.c | ||
| 55 | CFLAGS+= -I${.CURDIR}/bio | ||
| 56 | SRCS+= bio_lib.c bio_cb.c bio_err.c bss_mem.c | ||
| 57 | SRCS+= bss_null.c bss_fd.c bss_file.c bss_sock.c | ||
| 58 | SRCS+= bss_conn.c bf_null.c bf_buff.c | ||
| 59 | SRCS+= b_print.c b_dump.c b_sock.c bss_acpt.c | ||
| 60 | SRCS+= bf_nbio.c | ||
| 61 | CFLAGS+= -I${.CURDIR}/stack | ||
| 62 | SRCS+= stack.c | ||
| 63 | CFLAGS+= -I${.CURDIR}/lhash | ||
| 64 | SRCS+= lhash.c lh_stats.c | ||
| 65 | CFLAGS+= -I${.CURDIR}/rand | ||
| 66 | SRCS+= md_rand.c randfile.c | ||
| 67 | CFLAGS+= -I${.CURDIR}/err | ||
| 68 | SRCS+= err.c err_all.c err_prn.c | ||
| 69 | CFLAGS+= -I${.CURDIR}/objects | ||
| 70 | SRCS+= obj_dat.c obj_lib.c obj_err.c | ||
| 71 | CFLAGS+= -I${.CURDIR}/evp | ||
| 72 | SRCS+= encode.c digest.c evp_enc.c evp_key.c | ||
| 73 | SRCS+= e_ecb_d.c e_cbc_d.c e_cfb_d.c e_ofb_d.c | ||
| 74 | SRCS+= e_ecb_i.c e_cbc_i.c e_cfb_i.c e_ofb_i.c | ||
| 75 | SRCS+= e_ecb_3d.c e_cbc_3d.c e_rc4.c names.c | ||
| 76 | SRCS+= e_cfb_3d.c e_ofb_3d.c e_xcbc_d.c e_ecb_r2.c | ||
| 77 | SRCS+= e_cbc_r2.c e_cfb_r2.c e_ofb_r2.c e_ecb_bf.c | ||
| 78 | SRCS+= e_cbc_bf.c e_cfb_bf.c e_ofb_bf.c e_ecb_c.c | ||
| 79 | SRCS+= e_cbc_c.c e_cfb_c.c e_ofb_c.c e_ecb_r5.c | ||
| 80 | SRCS+= e_cbc_r5.c e_cfb_r5.c e_ofb_r5.c m_null.c | ||
| 81 | SRCS+= m_md2.c m_md5.c m_sha.c m_sha1.c m_dss.c | ||
| 82 | SRCS+= m_dss1.c m_mdc2.c m_ripemd.c p_open.c | ||
| 83 | SRCS+= p_seal.c p_sign.c p_verify.c p_lib.c p_enc.c | ||
| 84 | SRCS+= p_dec.c bio_md.c bio_b64.c bio_enc.c | ||
| 85 | SRCS+= evp_err.c e_null.c c_all.c evp_lib.c | ||
| 86 | CFLAGS+= -I${.CURDIR}/pem | ||
| 87 | SRCS+= pem_sign.c pem_seal.c pem_info.c pem_lib.c | ||
| 88 | SRCS+= pem_all.c pem_err.c | ||
| 89 | CFLAGS+= -I${.CURDIR}/asn1 | ||
| 90 | SRCS+= a_object.c a_bitstr.c a_utctm.c a_int.c | ||
| 91 | SRCS+= a_octet.c a_print.c a_type.c a_set.c | ||
| 92 | SRCS+= a_dup.c a_d2i_fp.c a_i2d_fp.c a_sign.c | ||
| 93 | SRCS+= a_digest.c a_verify.c x_algor.c x_val.c | ||
| 94 | SRCS+= x_pubkey.c x_sig.c x_req.c x_attrib.c | ||
| 95 | SRCS+= x_name.c x_cinf.c x_x509.c x_crl.c | ||
| 96 | SRCS+= x_info.c x_spki.c d2i_r_pr.c i2d_r_pr.c | ||
| 97 | SRCS+= d2i_r_pu.c i2d_r_pu.c d2i_s_pr.c i2d_s_pr.c | ||
| 98 | SRCS+= d2i_s_pu.c i2d_s_pu.c d2i_pu.c d2i_pr.c | ||
| 99 | SRCS+= i2d_pu.c i2d_pr.c t_req.c t_x509.c | ||
| 100 | SRCS+= t_pkey.c p7_i_s.c p7_signi.c p7_signd.c | ||
| 101 | SRCS+= p7_recip.c p7_enc_c.c p7_evp.c p7_dgst.c | ||
| 102 | SRCS+= p7_s_e.c p7_enc.c p7_lib.c f_int.c | ||
| 103 | SRCS+= f_string.c i2d_dhp.c i2d_dsap.c d2i_dhp.c | ||
| 104 | SRCS+= d2i_dsap.c n_pkey.c a_hdr.c x_pkey.c | ||
| 105 | SRCS+= a_bool.c x_exten.c asn1_par.c asn1_lib.c | ||
| 106 | SRCS+= asn1_err.c a_meth.c a_bytes.c evp_asn1.c | ||
| 107 | CFLAGS+= -I${.CURDIR}/x509 | ||
| 108 | SRCS+= x509_def.c x509_d2.c x509_r2x.c x509_cmp.c | ||
| 109 | SRCS+= x509_obj.c x509_req.c x509_vfy.c x509_set.c | ||
| 110 | SRCS+= x509rset.c x509_err.c x509name.c x509_v3.c | ||
| 111 | SRCS+= x509_ext.c x509pack.c x509type.c x509_lu.c | ||
| 112 | SRCS+= x_all.c x509_txt.c by_file.c by_dir.c | ||
| 113 | SRCS+= v3_net.c v3_x509.c | ||
| 114 | CFLAGS+= -I${.CURDIR}/conf | ||
| 115 | SRCS+= conf.c conf_err.c | ||
| 116 | CFLAGS+= -I${.CURDIR}/txt_db | ||
| 117 | SRCS+= txt_db.c | ||
| 118 | CFLAGS+= -I${.CURDIR}/pkcs7 | ||
| 119 | SRCS+= pk7_lib.c pkcs7err.c pk7_doit.c | ||
| 120 | |||
| 121 | .PATH: ${.CURDIR}/md2 ${.CURDIR}/md5 ${.CURDIR}/sha ${.CURDIR}/mdc2 \ | ||
| 122 | ${.CURDIR}/hmac ${.CURDIR}/ripemd ${.CURDIR}/des ${.CURDIR}/rc2 \ | ||
| 123 | ${.CURDIR}/rc4 ${.CURDIR}/rc5 ${.CURDIR}/idea ${.CURDIR}/bf \ | ||
| 124 | ${.CURDIR}/cast ${.CURDIR}/bn ${.CURDIR}/rsa ${.CURDIR}/dsa \ | ||
| 125 | ${.CURDIR}/dh ${.CURDIR}/buffer ${.CURDIR}/bio ${.CURDIR}/stack \ | ||
| 126 | ${.CURDIR}/lhash ${.CURDIR}/rand ${.CURDIR}/err ${.CURDIR}/objects \ | ||
| 127 | ${.CURDIR}/evp ${.CURDIR}/pem ${.CURDIR}/asn1 ${.CURDIR}/asn1 \ | ||
| 128 | ${.CURDIR}/x509 ${.CURDIR}/conf txt_db/txt_db.c ${.CURDIR}/pkcs7 \ | ||
| 129 | ${.CURDIR}/txt_db | ||
| 130 | |||
| 131 | .include <bsd.lib.mk> | ||
| 132 | |||
| 133 | |||
diff --git a/src/lib/libcrypto/Makefile.ssl b/src/lib/libcrypto/Makefile.ssl new file mode 100644 index 0000000000..dd755f49fb --- /dev/null +++ b/src/lib/libcrypto/Makefile.ssl | |||
| @@ -0,0 +1,214 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= crypto | ||
| 6 | TOP= .. | ||
| 7 | CC= cc | ||
| 8 | INCLUDE= -I. -I$(TOP) -I../include | ||
| 9 | INCLUDES= -I.. -I../.. -I../../include | ||
| 10 | CFLAG= -g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP= /usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | RM= rm -f | ||
| 19 | AR= ar r | ||
| 20 | |||
| 21 | PEX_LIBS= | ||
| 22 | EX_LIBS= | ||
| 23 | |||
| 24 | CFLAGS= $(INCLUDE) $(CFLAG) | ||
| 25 | |||
| 26 | |||
| 27 | LIBS= | ||
| 28 | |||
| 29 | SDIRS= md2 md5 sha mdc2 hmac ripemd \ | ||
| 30 | des rc2 rc4 rc5 idea bf cast \ | ||
| 31 | bn ec rsa dsa dh dso engine aes \ | ||
| 32 | buffer bio stack lhash rand err objects \ | ||
| 33 | evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5 | ||
| 34 | |||
| 35 | GENERAL=Makefile README crypto-lib.com install.com | ||
| 36 | |||
| 37 | LIB= $(TOP)/libcrypto.a | ||
| 38 | SHARED_LIB= libcrypto$(SHLIB_EXT) | ||
| 39 | LIBSRC= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c | ||
| 40 | LIBOBJ= cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o | ||
| 41 | |||
| 42 | SRC= $(LIBSRC) | ||
| 43 | |||
| 44 | EXHEADER= crypto.h tmdiff.h opensslv.h opensslconf.h ebcdic.h symhacks.h \ | ||
| 45 | ossl_typ.h | ||
| 46 | HEADER= cryptlib.h buildinf.h md32_common.h o_time.h $(EXHEADER) | ||
| 47 | |||
| 48 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 49 | |||
| 50 | top: | ||
| 51 | @(cd ..; $(MAKE) DIRS=$(DIR) all) | ||
| 52 | |||
| 53 | all: buildinf.h lib subdirs shared | ||
| 54 | |||
| 55 | buildinf.h: ../Makefile.ssl | ||
| 56 | ( echo "#ifndef MK1MF_BUILD"; \ | ||
| 57 | echo ' /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */'; \ | ||
| 58 | echo ' #define CFLAGS "$(CC) $(CFLAG)"'; \ | ||
| 59 | echo ' #define PLATFORM "$(PLATFORM)"'; \ | ||
| 60 | echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ | ||
| 61 | echo '#endif' ) >buildinf.h | ||
| 62 | |||
| 63 | testapps: | ||
| 64 | if echo ${SDIRS} | fgrep ' des '; \ | ||
| 65 | then cd des && $(MAKE) CC='$(CC)' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' des; fi | ||
| 66 | cd pkcs7 && $(MAKE) CC='$(CC)' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' testapps | ||
| 67 | |||
| 68 | subdirs: | ||
| 69 | @for i in $(SDIRS) ;\ | ||
| 70 | do \ | ||
| 71 | (cd $$i && echo "making all in crypto/$$i..." && \ | ||
| 72 | $(MAKE) CC='$(CC)' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' all ) || exit 1; \ | ||
| 73 | done; | ||
| 74 | |||
| 75 | files: | ||
| 76 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 77 | @for i in $(SDIRS) ;\ | ||
| 78 | do \ | ||
| 79 | (cd $$i && echo "making 'files' in crypto/$$i..." && \ | ||
| 80 | $(MAKE) PERL='${PERL}' files ); \ | ||
| 81 | done; | ||
| 82 | |||
| 83 | links: | ||
| 84 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 85 | @$(PERL) $(TOP)/util/mklink.pl ../include/openssl $(EXHEADER) | ||
| 86 | @$(PERL) $(TOP)/util/mklink.pl ../test $(TEST) | ||
| 87 | @$(PERL) $(TOP)/util/mklink.pl ../apps $(APPS) | ||
| 88 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 89 | @for i in $(SDIRS); do \ | ||
| 90 | (cd $$i && echo "making links in crypto/$$i..." && \ | ||
| 91 | $(MAKE) CC='$(CC)' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' AR='${AR}' PERL='${PERL}' links ); \ | ||
| 92 | done; | ||
| 93 | |||
| 94 | lib: $(LIBOBJ) | ||
| 95 | $(AR) $(LIB) $(LIBOBJ) | ||
| 96 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 97 | @touch lib | ||
| 98 | |||
| 99 | shared: | ||
| 100 | if [ -n "$(SHARED_LIBS)" ]; then \ | ||
| 101 | (cd ..; make $(SHARED_LIB)); \ | ||
| 102 | fi | ||
| 103 | |||
| 104 | libs: | ||
| 105 | @for i in $(SDIRS) ;\ | ||
| 106 | do \ | ||
| 107 | (cd $$i && echo "making libs in crypto/$$i..." && \ | ||
| 108 | $(MAKE) CC='$(CC)' CFLAG='${CFLAG}' INSTALL_PREFIX='${INSTALL_PREFIX}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' AR='${AR}' lib ); \ | ||
| 109 | done; | ||
| 110 | |||
| 111 | tests: | ||
| 112 | @for i in $(SDIRS) ;\ | ||
| 113 | do \ | ||
| 114 | (cd $$i && echo "making tests in crypto/$$i..." && \ | ||
| 115 | $(MAKE) CC='$(CC)' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' AR='${AR}' tests ); \ | ||
| 116 | done; | ||
| 117 | |||
| 118 | install: | ||
| 119 | @for i in $(EXHEADER) ;\ | ||
| 120 | do \ | ||
| 121 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 122 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 123 | done; | ||
| 124 | @for i in $(SDIRS) ;\ | ||
| 125 | do \ | ||
| 126 | (cd $$i && echo "making install in crypto/$$i..." && \ | ||
| 127 | $(MAKE) CC='$(CC)' CFLAG='${CFLAG}' INSTALL_PREFIX='${INSTALL_PREFIX}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' install ); \ | ||
| 128 | done; | ||
| 129 | |||
| 130 | lint: | ||
| 131 | @for i in $(SDIRS) ;\ | ||
| 132 | do \ | ||
| 133 | (cd $$i && echo "making lint in crypto/$$i..." && \ | ||
| 134 | $(MAKE) CC='$(CC)' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' lint ); \ | ||
| 135 | done; | ||
| 136 | |||
| 137 | depend: | ||
| 138 | if [ ! -f buildinf.h ]; then touch buildinf.h; fi # fake buildinf.h if it does not exist | ||
| 139 | $(MAKEDEPEND) $(INCLUDE) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 140 | if [ ! -s buildinf.h ]; then rm buildinf.h; fi | ||
| 141 | @for i in $(SDIRS) ;\ | ||
| 142 | do \ | ||
| 143 | (cd $$i && echo "making depend in crypto/$$i..." && \ | ||
| 144 | $(MAKE) MAKEFILE='${MAKEFILE}' INCLUDES='${INCLUDES}' DEPFLAG='${DEPFLAG}' depend ); \ | ||
| 145 | done; | ||
| 146 | |||
| 147 | clean: | ||
| 148 | rm -f buildinf.h *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 149 | @for i in $(SDIRS) ;\ | ||
| 150 | do \ | ||
| 151 | (cd $$i && echo "making clean in crypto/$$i..." && \ | ||
| 152 | $(MAKE) CC='$(CC)' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' clean ); \ | ||
| 153 | done; | ||
| 154 | |||
| 155 | dclean: | ||
| 156 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 157 | mv -f Makefile.new $(MAKEFILE) | ||
| 158 | @for i in $(SDIRS) ;\ | ||
| 159 | do \ | ||
| 160 | (cd $$i && echo "making dclean in crypto/$$i..." && \ | ||
| 161 | $(MAKE) PERL='${PERL}' CC='$(CC)' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' dclean ); \ | ||
| 162 | done; | ||
| 163 | |||
| 164 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 165 | |||
| 166 | cpt_err.o: ../include/openssl/bio.h ../include/openssl/crypto.h | ||
| 167 | cpt_err.o: ../include/openssl/e_os2.h ../include/openssl/err.h | ||
| 168 | cpt_err.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h | ||
| 169 | cpt_err.o: ../include/openssl/opensslv.h ../include/openssl/safestack.h | ||
| 170 | cpt_err.o: ../include/openssl/stack.h ../include/openssl/symhacks.h cpt_err.c | ||
| 171 | cryptlib.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h | ||
| 172 | cryptlib.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 173 | cryptlib.o: ../include/openssl/err.h ../include/openssl/lhash.h | ||
| 174 | cryptlib.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 175 | cryptlib.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 176 | cryptlib.o: ../include/openssl/symhacks.h cryptlib.c cryptlib.h | ||
| 177 | cversion.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h | ||
| 178 | cversion.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 179 | cversion.o: ../include/openssl/err.h ../include/openssl/lhash.h | ||
| 180 | cversion.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 181 | cversion.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 182 | cversion.o: ../include/openssl/symhacks.h buildinf.h cryptlib.h cversion.c | ||
| 183 | ebcdic.o: ../include/openssl/opensslconf.h ebcdic.c | ||
| 184 | ex_data.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h | ||
| 185 | ex_data.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 186 | ex_data.o: ../include/openssl/err.h ../include/openssl/lhash.h | ||
| 187 | ex_data.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 188 | ex_data.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 189 | ex_data.o: ../include/openssl/symhacks.h cryptlib.h ex_data.c | ||
| 190 | mem.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h | ||
| 191 | mem.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 192 | mem.o: ../include/openssl/err.h ../include/openssl/lhash.h | ||
| 193 | mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 194 | mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 195 | mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c | ||
| 196 | mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h | ||
| 197 | mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 198 | mem_dbg.o: ../include/openssl/err.h ../include/openssl/lhash.h | ||
| 199 | mem_dbg.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 200 | mem_dbg.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 201 | mem_dbg.o: ../include/openssl/symhacks.h cryptlib.h mem_dbg.c | ||
| 202 | o_time.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h o_time.c | ||
| 203 | o_time.o: o_time.h | ||
| 204 | tmdiff.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h | ||
| 205 | tmdiff.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 206 | tmdiff.o: ../include/openssl/err.h ../include/openssl/lhash.h | ||
| 207 | tmdiff.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 208 | tmdiff.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 209 | tmdiff.o: ../include/openssl/symhacks.h ../include/openssl/tmdiff.h cryptlib.h | ||
| 210 | tmdiff.o: tmdiff.c | ||
| 211 | uid.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 212 | uid.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 213 | uid.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 214 | uid.o: ../include/openssl/symhacks.h uid.c | ||
diff --git a/src/lib/libcrypto/aes/Makefile.ssl b/src/lib/libcrypto/aes/Makefile.ssl new file mode 100644 index 0000000000..c189ce0824 --- /dev/null +++ b/src/lib/libcrypto/aes/Makefile.ssl | |||
| @@ -0,0 +1,103 @@ | |||
| 1 | # | ||
| 2 | # crypto/aes/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= aes | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP= /usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | # CFLAGS= -mpentiumpro $(INCLUDES) $(CFLAG) -O3 -fexpensive-optimizations -funroll-loops -fforce-addr | ||
| 21 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 22 | |||
| 23 | GENERAL=Makefile | ||
| 24 | #TEST=aestest.c | ||
| 25 | TEST= | ||
| 26 | APPS= | ||
| 27 | |||
| 28 | LIB=$(TOP)/libcrypto.a | ||
| 29 | LIBSRC=aes_core.c aes_misc.c aes_ecb.c aes_cbc.c aes_cfb.c aes_ofb.c aes_ctr.c | ||
| 30 | LIBOBJ=aes_core.o aes_misc.o aes_ecb.o aes_cbc.o aes_cfb.o aes_ofb.o aes_ctr.o | ||
| 31 | |||
| 32 | SRC= $(LIBSRC) | ||
| 33 | |||
| 34 | EXHEADER= aes.h | ||
| 35 | HEADER= aes_locl.h $(EXHEADER) | ||
| 36 | |||
| 37 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | $(LIBOBJ): $(LIBSRC) | ||
| 50 | |||
| 51 | files: | ||
| 52 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 53 | |||
| 54 | links: | ||
| 55 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 56 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 57 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 58 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 59 | |||
| 60 | install: installs | ||
| 61 | |||
| 62 | installs: | ||
| 63 | @for i in $(EXHEADER) ; \ | ||
| 64 | do \ | ||
| 65 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 66 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 67 | done; | ||
| 68 | |||
| 69 | tags: | ||
| 70 | ctags $(SRC) | ||
| 71 | |||
| 72 | tests: | ||
| 73 | |||
| 74 | lint: | ||
| 75 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 76 | |||
| 77 | depend: | ||
| 78 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 79 | |||
| 80 | dclean: | ||
| 81 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 82 | mv -f Makefile.new $(MAKEFILE) | ||
| 83 | |||
| 84 | clean: | ||
| 85 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 86 | |||
| 87 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 88 | |||
| 89 | aes_cbc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h | ||
| 90 | aes_cbc.o: ../../include/openssl/opensslconf.h aes_cbc.c aes_locl.h | ||
| 91 | aes_cfb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h | ||
| 92 | aes_cfb.o: ../../include/openssl/opensslconf.h aes_cfb.c aes_locl.h | ||
| 93 | aes_core.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h | ||
| 94 | aes_core.o: ../../include/openssl/opensslconf.h aes_core.c aes_locl.h | ||
| 95 | aes_ctr.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h | ||
| 96 | aes_ctr.o: ../../include/openssl/opensslconf.h aes_ctr.c aes_locl.h | ||
| 97 | aes_ecb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h | ||
| 98 | aes_ecb.o: ../../include/openssl/opensslconf.h aes_ecb.c aes_locl.h | ||
| 99 | aes_misc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h | ||
| 100 | aes_misc.o: ../../include/openssl/opensslconf.h | ||
| 101 | aes_misc.o: ../../include/openssl/opensslv.h aes_locl.h aes_misc.c | ||
| 102 | aes_ofb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h | ||
| 103 | aes_ofb.o: ../../include/openssl/opensslconf.h aes_locl.h aes_ofb.c | ||
diff --git a/src/lib/libcrypto/asn1/Makefile.ssl b/src/lib/libcrypto/asn1/Makefile.ssl new file mode 100644 index 0000000000..09d4cb4896 --- /dev/null +++ b/src/lib/libcrypto/asn1/Makefile.ssl | |||
| @@ -0,0 +1,886 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/asn1/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= asn1 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile README | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= a_object.c a_bitstr.c a_utctm.c a_gentm.c a_time.c a_int.c a_octet.c \ | ||
| 27 | a_print.c a_type.c a_set.c a_dup.c a_d2i_fp.c a_i2d_fp.c \ | ||
| 28 | a_enum.c a_utf8.c a_sign.c a_digest.c a_verify.c a_mbstr.c a_strex.c \ | ||
| 29 | x_algor.c x_val.c x_pubkey.c x_sig.c x_req.c x_attrib.c x_bignum.c \ | ||
| 30 | x_long.c x_name.c x_x509.c x_x509a.c x_crl.c x_info.c x_spki.c nsseq.c \ | ||
| 31 | d2i_pu.c d2i_pr.c i2d_pu.c i2d_pr.c\ | ||
| 32 | t_req.c t_x509.c t_x509a.c t_crl.c t_pkey.c t_spki.c t_bitst.c \ | ||
| 33 | tasn_new.c tasn_fre.c tasn_enc.c tasn_dec.c tasn_utl.c tasn_typ.c \ | ||
| 34 | f_int.c f_string.c n_pkey.c \ | ||
| 35 | f_enum.c a_hdr.c x_pkey.c a_bool.c x_exten.c \ | ||
| 36 | asn1_par.c asn1_lib.c asn1_err.c a_meth.c a_bytes.c a_strnid.c \ | ||
| 37 | evp_asn1.c asn_pack.c p5_pbe.c p5_pbev2.c p8_pkey.c asn_moid.c | ||
| 38 | LIBOBJ= a_object.o a_bitstr.o a_utctm.o a_gentm.o a_time.o a_int.o a_octet.o \ | ||
| 39 | a_print.o a_type.o a_set.o a_dup.o a_d2i_fp.o a_i2d_fp.o \ | ||
| 40 | a_enum.o a_utf8.o a_sign.o a_digest.o a_verify.o a_mbstr.o a_strex.o \ | ||
| 41 | x_algor.o x_val.o x_pubkey.o x_sig.o x_req.o x_attrib.o x_bignum.o \ | ||
| 42 | x_long.o x_name.o x_x509.o x_x509a.o x_crl.o x_info.o x_spki.o nsseq.o \ | ||
| 43 | d2i_pu.o d2i_pr.o i2d_pu.o i2d_pr.o \ | ||
| 44 | t_req.o t_x509.o t_x509a.o t_crl.o t_pkey.o t_spki.o t_bitst.o \ | ||
| 45 | tasn_new.o tasn_fre.o tasn_enc.o tasn_dec.o tasn_utl.o tasn_typ.o \ | ||
| 46 | f_int.o f_string.o n_pkey.o \ | ||
| 47 | f_enum.o a_hdr.o x_pkey.o a_bool.o x_exten.o \ | ||
| 48 | asn1_par.o asn1_lib.o asn1_err.o a_meth.o a_bytes.o a_strnid.o \ | ||
| 49 | evp_asn1.o asn_pack.o p5_pbe.o p5_pbev2.o p8_pkey.o asn_moid.o | ||
| 50 | |||
| 51 | SRC= $(LIBSRC) | ||
| 52 | |||
| 53 | EXHEADER= asn1.h asn1_mac.h asn1t.h | ||
| 54 | HEADER= $(EXHEADER) | ||
| 55 | |||
| 56 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 57 | |||
| 58 | top: | ||
| 59 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 60 | |||
| 61 | test: test.c | ||
| 62 | cc -g -I../../include -c test.c | ||
| 63 | cc -g -I../../include -o test test.o -L../.. -lcrypto | ||
| 64 | |||
| 65 | pk: pk.c | ||
| 66 | cc -g -I../../include -c pk.c | ||
| 67 | cc -g -I../../include -o pk pk.o -L../.. -lcrypto | ||
| 68 | |||
| 69 | all: lib | ||
| 70 | |||
| 71 | lib: $(LIBOBJ) | ||
| 72 | $(AR) $(LIB) $(LIBOBJ) | ||
| 73 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 74 | @touch lib | ||
| 75 | |||
| 76 | files: | ||
| 77 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 78 | |||
| 79 | links: | ||
| 80 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 81 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 82 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 83 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 84 | |||
| 85 | install: | ||
| 86 | @for i in $(EXHEADER) ; \ | ||
| 87 | do \ | ||
| 88 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 89 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 90 | done; | ||
| 91 | |||
| 92 | tags: | ||
| 93 | ctags $(SRC) | ||
| 94 | |||
| 95 | tests: | ||
| 96 | |||
| 97 | lint: | ||
| 98 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 99 | |||
| 100 | depend: | ||
| 101 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 102 | |||
| 103 | dclean: | ||
| 104 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 105 | mv -f Makefile.new $(MAKEFILE) | ||
| 106 | |||
| 107 | clean: | ||
| 108 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 109 | |||
| 110 | |||
| 111 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 112 | |||
| 113 | a_bitstr.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 114 | a_bitstr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 115 | a_bitstr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 116 | a_bitstr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 117 | a_bitstr.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 118 | a_bitstr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 119 | a_bitstr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 120 | a_bitstr.o: ../../include/openssl/symhacks.h ../cryptlib.h a_bitstr.c | ||
| 121 | a_bool.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 122 | a_bool.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 123 | a_bool.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 124 | a_bool.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 125 | a_bool.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 126 | a_bool.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 127 | a_bool.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 128 | a_bool.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 129 | a_bool.o: ../cryptlib.h a_bool.c | ||
| 130 | a_bytes.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 131 | a_bytes.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 132 | a_bytes.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 133 | a_bytes.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 134 | a_bytes.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 135 | a_bytes.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 136 | a_bytes.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 137 | a_bytes.o: ../../include/openssl/symhacks.h ../cryptlib.h a_bytes.c | ||
| 138 | a_d2i_fp.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 139 | a_d2i_fp.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | ||
| 140 | a_d2i_fp.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 141 | a_d2i_fp.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 142 | a_d2i_fp.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 143 | a_d2i_fp.o: ../../include/openssl/opensslconf.h | ||
| 144 | a_d2i_fp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 145 | a_d2i_fp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 146 | a_d2i_fp.o: ../../include/openssl/symhacks.h ../cryptlib.h a_d2i_fp.c | ||
| 147 | a_digest.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 148 | a_digest.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 149 | a_digest.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 150 | a_digest.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 151 | a_digest.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 152 | a_digest.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 153 | a_digest.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 154 | a_digest.o: ../../include/openssl/opensslconf.h | ||
| 155 | a_digest.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 156 | a_digest.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 157 | a_digest.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 158 | a_digest.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 159 | a_digest.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 160 | a_digest.o: ../cryptlib.h a_digest.c | ||
| 161 | a_dup.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 162 | a_dup.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 163 | a_dup.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 164 | a_dup.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 165 | a_dup.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 166 | a_dup.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 167 | a_dup.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 168 | a_dup.o: ../cryptlib.h a_dup.c | ||
| 169 | a_enum.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 170 | a_enum.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 171 | a_enum.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 172 | a_enum.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 173 | a_enum.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 174 | a_enum.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 175 | a_enum.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 176 | a_enum.o: ../cryptlib.h a_enum.c | ||
| 177 | a_gentm.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 178 | a_gentm.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 179 | a_gentm.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 180 | a_gentm.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 181 | a_gentm.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 182 | a_gentm.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 183 | a_gentm.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 184 | a_gentm.o: ../../include/openssl/symhacks.h ../cryptlib.h ../o_time.h a_gentm.c | ||
| 185 | a_hdr.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 186 | a_hdr.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | ||
| 187 | a_hdr.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 188 | a_hdr.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 189 | a_hdr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 190 | a_hdr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 191 | a_hdr.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 192 | a_hdr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 193 | a_hdr.o: ../cryptlib.h a_hdr.c | ||
| 194 | a_i2d_fp.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 195 | a_i2d_fp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 196 | a_i2d_fp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 197 | a_i2d_fp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 198 | a_i2d_fp.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 199 | a_i2d_fp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 200 | a_i2d_fp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 201 | a_i2d_fp.o: ../../include/openssl/symhacks.h ../cryptlib.h a_i2d_fp.c | ||
| 202 | a_int.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 203 | a_int.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 204 | a_int.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 205 | a_int.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 206 | a_int.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 207 | a_int.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 208 | a_int.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 209 | a_int.o: ../cryptlib.h a_int.c | ||
| 210 | a_mbstr.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 211 | a_mbstr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 212 | a_mbstr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 213 | a_mbstr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 214 | a_mbstr.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 215 | a_mbstr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 216 | a_mbstr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 217 | a_mbstr.o: ../../include/openssl/symhacks.h ../cryptlib.h a_mbstr.c | ||
| 218 | a_meth.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 219 | a_meth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 220 | a_meth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 221 | a_meth.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 222 | a_meth.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 223 | a_meth.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 224 | a_meth.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 225 | a_meth.o: ../cryptlib.h a_meth.c | ||
| 226 | a_object.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 227 | a_object.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 228 | a_object.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 229 | a_object.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 230 | a_object.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 231 | a_object.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 232 | a_object.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 233 | a_object.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 234 | a_object.o: ../../include/openssl/symhacks.h ../cryptlib.h a_object.c | ||
| 235 | a_octet.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 236 | a_octet.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 237 | a_octet.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 238 | a_octet.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 239 | a_octet.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 240 | a_octet.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 241 | a_octet.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 242 | a_octet.o: ../../include/openssl/symhacks.h ../cryptlib.h a_octet.c | ||
| 243 | a_print.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 244 | a_print.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 245 | a_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 246 | a_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 247 | a_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 248 | a_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 249 | a_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 250 | a_print.o: ../../include/openssl/symhacks.h ../cryptlib.h a_print.c | ||
| 251 | a_set.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 252 | a_set.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | ||
| 253 | a_set.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 254 | a_set.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 255 | a_set.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 256 | a_set.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 257 | a_set.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 258 | a_set.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 259 | a_set.o: ../cryptlib.h a_set.c | ||
| 260 | a_sign.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 261 | a_sign.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 262 | a_sign.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 263 | a_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 264 | a_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 265 | a_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 266 | a_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 267 | a_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 268 | a_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 269 | a_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 270 | a_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 271 | a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 272 | a_sign.o: ../cryptlib.h a_sign.c | ||
| 273 | a_strex.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 274 | a_strex.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 275 | a_strex.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 276 | a_strex.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 277 | a_strex.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 278 | a_strex.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 279 | a_strex.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 280 | a_strex.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 281 | a_strex.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 282 | a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 283 | a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 284 | a_strex.o: ../../include/openssl/x509_vfy.h a_strex.c charmap.h | ||
| 285 | a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 286 | a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 287 | a_strnid.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 288 | a_strnid.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 289 | a_strnid.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 290 | a_strnid.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 291 | a_strnid.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 292 | a_strnid.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 293 | a_strnid.o: ../../include/openssl/symhacks.h ../cryptlib.h a_strnid.c | ||
| 294 | a_time.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 295 | a_time.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 296 | a_time.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 297 | a_time.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 298 | a_time.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 299 | a_time.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 300 | a_time.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 301 | a_time.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 302 | a_time.o: ../cryptlib.h ../o_time.h a_time.c | ||
| 303 | a_type.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 304 | a_type.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 305 | a_type.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 306 | a_type.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 307 | a_type.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 308 | a_type.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 309 | a_type.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 310 | a_type.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 311 | a_type.o: ../cryptlib.h a_type.c | ||
| 312 | a_utctm.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 313 | a_utctm.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 314 | a_utctm.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 315 | a_utctm.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 316 | a_utctm.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 317 | a_utctm.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 318 | a_utctm.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 319 | a_utctm.o: ../../include/openssl/symhacks.h ../cryptlib.h ../o_time.h a_utctm.c | ||
| 320 | a_utf8.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 321 | a_utf8.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 322 | a_utf8.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 323 | a_utf8.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 324 | a_utf8.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 325 | a_utf8.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 326 | a_utf8.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 327 | a_utf8.o: ../cryptlib.h a_utf8.c | ||
| 328 | a_verify.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 329 | a_verify.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 330 | a_verify.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 331 | a_verify.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 332 | a_verify.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 333 | a_verify.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 334 | a_verify.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 335 | a_verify.o: ../../include/openssl/opensslconf.h | ||
| 336 | a_verify.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 337 | a_verify.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 338 | a_verify.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 339 | a_verify.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 340 | a_verify.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 341 | a_verify.o: ../cryptlib.h a_verify.c | ||
| 342 | asn1_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 343 | asn1_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 344 | asn1_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 345 | asn1_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 346 | asn1_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 347 | asn1_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 348 | asn1_err.o: ../../include/openssl/symhacks.h asn1_err.c | ||
| 349 | asn1_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 350 | asn1_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 351 | asn1_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 352 | asn1_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 353 | asn1_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 354 | asn1_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 355 | asn1_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 356 | asn1_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h asn1_lib.c | ||
| 357 | asn1_par.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 358 | asn1_par.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 359 | asn1_par.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 360 | asn1_par.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 361 | asn1_par.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 362 | asn1_par.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 363 | asn1_par.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 364 | asn1_par.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 365 | asn1_par.o: ../../include/openssl/symhacks.h ../cryptlib.h asn1_par.c | ||
| 366 | asn_moid.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 367 | asn_moid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 368 | asn_moid.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 369 | asn_moid.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 370 | asn_moid.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h | ||
| 371 | asn_moid.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 372 | asn_moid.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 373 | asn_moid.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 374 | asn_moid.o: ../../include/openssl/opensslconf.h | ||
| 375 | asn_moid.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 376 | asn_moid.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 377 | asn_moid.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 378 | asn_moid.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 379 | asn_moid.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 380 | asn_moid.o: ../cryptlib.h asn_moid.c | ||
| 381 | asn_pack.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 382 | asn_pack.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 383 | asn_pack.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 384 | asn_pack.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 385 | asn_pack.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 386 | asn_pack.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 387 | asn_pack.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 388 | asn_pack.o: ../../include/openssl/symhacks.h ../cryptlib.h asn_pack.c | ||
| 389 | d2i_pr.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 390 | d2i_pr.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 391 | d2i_pr.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 392 | d2i_pr.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 393 | d2i_pr.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 394 | d2i_pr.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 395 | d2i_pr.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 396 | d2i_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 397 | d2i_pr.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 398 | d2i_pr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 399 | d2i_pr.o: ../cryptlib.h d2i_pr.c | ||
| 400 | d2i_pu.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 401 | d2i_pu.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 402 | d2i_pu.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 403 | d2i_pu.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 404 | d2i_pu.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 405 | d2i_pu.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 406 | d2i_pu.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 407 | d2i_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 408 | d2i_pu.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 409 | d2i_pu.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 410 | d2i_pu.o: ../cryptlib.h d2i_pu.c | ||
| 411 | evp_asn1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 412 | evp_asn1.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | ||
| 413 | evp_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 414 | evp_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 415 | evp_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 416 | evp_asn1.o: ../../include/openssl/opensslconf.h | ||
| 417 | evp_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 418 | evp_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 419 | evp_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h evp_asn1.c | ||
| 420 | f_enum.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 421 | f_enum.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 422 | f_enum.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 423 | f_enum.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 424 | f_enum.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 425 | f_enum.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 426 | f_enum.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 427 | f_enum.o: ../cryptlib.h f_enum.c | ||
| 428 | f_int.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 429 | f_int.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 430 | f_int.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 431 | f_int.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 432 | f_int.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 433 | f_int.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 434 | f_int.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 435 | f_int.o: ../cryptlib.h f_int.c | ||
| 436 | f_string.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 437 | f_string.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 438 | f_string.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 439 | f_string.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 440 | f_string.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 441 | f_string.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 442 | f_string.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 443 | f_string.o: ../../include/openssl/symhacks.h ../cryptlib.h f_string.c | ||
| 444 | i2d_pr.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 445 | i2d_pr.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 446 | i2d_pr.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 447 | i2d_pr.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 448 | i2d_pr.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 449 | i2d_pr.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 450 | i2d_pr.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 451 | i2d_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 452 | i2d_pr.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 453 | i2d_pr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 454 | i2d_pr.o: ../cryptlib.h i2d_pr.c | ||
| 455 | i2d_pu.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 456 | i2d_pu.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 457 | i2d_pu.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 458 | i2d_pu.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 459 | i2d_pu.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 460 | i2d_pu.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 461 | i2d_pu.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 462 | i2d_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 463 | i2d_pu.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 464 | i2d_pu.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 465 | i2d_pu.o: ../cryptlib.h i2d_pu.c | ||
| 466 | n_pkey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 467 | n_pkey.o: ../../include/openssl/asn1_mac.h ../../include/openssl/asn1t.h | ||
| 468 | n_pkey.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 469 | n_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 470 | n_pkey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 471 | n_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 472 | n_pkey.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 473 | n_pkey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 474 | n_pkey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 475 | n_pkey.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 476 | n_pkey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 477 | n_pkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 478 | n_pkey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 479 | n_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h n_pkey.c | ||
| 480 | nsseq.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 481 | nsseq.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 482 | nsseq.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 483 | nsseq.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 484 | nsseq.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h | ||
| 485 | nsseq.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 486 | nsseq.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 487 | nsseq.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 488 | nsseq.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 489 | nsseq.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 490 | nsseq.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 491 | nsseq.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h nsseq.c | ||
| 492 | p5_pbe.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 493 | p5_pbe.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 494 | p5_pbe.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 495 | p5_pbe.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 496 | p5_pbe.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 497 | p5_pbe.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 498 | p5_pbe.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 499 | p5_pbe.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 500 | p5_pbe.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 501 | p5_pbe.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 502 | p5_pbe.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 503 | p5_pbe.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 504 | p5_pbe.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 505 | p5_pbe.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p5_pbe.c | ||
| 506 | p5_pbev2.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 507 | p5_pbev2.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 508 | p5_pbev2.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 509 | p5_pbev2.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 510 | p5_pbev2.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 511 | p5_pbev2.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 512 | p5_pbev2.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 513 | p5_pbev2.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 514 | p5_pbev2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 515 | p5_pbev2.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 516 | p5_pbev2.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 517 | p5_pbev2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 518 | p5_pbev2.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 519 | p5_pbev2.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p5_pbev2.c | ||
| 520 | p8_pkey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 521 | p8_pkey.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 522 | p8_pkey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 523 | p8_pkey.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 524 | p8_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 525 | p8_pkey.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 526 | p8_pkey.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 527 | p8_pkey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 528 | p8_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 529 | p8_pkey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 530 | p8_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 531 | p8_pkey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 532 | p8_pkey.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 533 | p8_pkey.o: ../cryptlib.h p8_pkey.c | ||
| 534 | t_bitst.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 535 | t_bitst.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 536 | t_bitst.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 537 | t_bitst.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 538 | t_bitst.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 539 | t_bitst.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 540 | t_bitst.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 541 | t_bitst.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 542 | t_bitst.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 543 | t_bitst.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 544 | t_bitst.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 545 | t_bitst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 546 | t_bitst.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 547 | t_bitst.o: ../../include/openssl/x509v3.h ../cryptlib.h t_bitst.c | ||
| 548 | t_crl.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 549 | t_crl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 550 | t_crl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 551 | t_crl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 552 | t_crl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 553 | t_crl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 554 | t_crl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 555 | t_crl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 556 | t_crl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 557 | t_crl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 558 | t_crl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 559 | t_crl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 560 | t_crl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 561 | t_crl.o: ../cryptlib.h t_crl.c | ||
| 562 | t_pkey.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 563 | t_pkey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 564 | t_pkey.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 565 | t_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 566 | t_pkey.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 567 | t_pkey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 568 | t_pkey.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rsa.h | ||
| 569 | t_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 570 | t_pkey.o: ../../include/openssl/symhacks.h ../cryptlib.h t_pkey.c | ||
| 571 | t_req.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 572 | t_req.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 573 | t_req.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 574 | t_req.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 575 | t_req.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 576 | t_req.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 577 | t_req.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 578 | t_req.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 579 | t_req.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 580 | t_req.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 581 | t_req.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 582 | t_req.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 583 | t_req.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 584 | t_req.o: ../cryptlib.h t_req.c | ||
| 585 | t_spki.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 586 | t_spki.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 587 | t_spki.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 588 | t_spki.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 589 | t_spki.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 590 | t_spki.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 591 | t_spki.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 592 | t_spki.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 593 | t_spki.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 594 | t_spki.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 595 | t_spki.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 596 | t_spki.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 597 | t_spki.o: ../cryptlib.h t_spki.c | ||
| 598 | t_x509.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 599 | t_x509.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 600 | t_x509.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 601 | t_x509.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 602 | t_x509.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 603 | t_x509.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 604 | t_x509.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 605 | t_x509.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 606 | t_x509.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 607 | t_x509.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 608 | t_x509.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 609 | t_x509.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 610 | t_x509.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 611 | t_x509.o: ../cryptlib.h t_x509.c | ||
| 612 | t_x509a.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 613 | t_x509a.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 614 | t_x509a.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 615 | t_x509a.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 616 | t_x509a.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 617 | t_x509a.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 618 | t_x509a.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 619 | t_x509a.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 620 | t_x509a.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 621 | t_x509a.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 622 | t_x509a.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 623 | t_x509a.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 624 | t_x509a.o: ../../include/openssl/x509_vfy.h ../cryptlib.h t_x509a.c | ||
| 625 | tasn_dec.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 626 | tasn_dec.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 627 | tasn_dec.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 628 | tasn_dec.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 629 | tasn_dec.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 630 | tasn_dec.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 631 | tasn_dec.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 632 | tasn_dec.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 633 | tasn_dec.o: ../../include/openssl/symhacks.h tasn_dec.c | ||
| 634 | tasn_enc.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 635 | tasn_enc.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 636 | tasn_enc.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 637 | tasn_enc.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 638 | tasn_enc.o: ../../include/openssl/opensslconf.h | ||
| 639 | tasn_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 640 | tasn_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 641 | tasn_enc.o: ../../include/openssl/symhacks.h tasn_enc.c | ||
| 642 | tasn_fre.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 643 | tasn_fre.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 644 | tasn_fre.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 645 | tasn_fre.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 646 | tasn_fre.o: ../../include/openssl/opensslconf.h | ||
| 647 | tasn_fre.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 648 | tasn_fre.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 649 | tasn_fre.o: ../../include/openssl/symhacks.h tasn_fre.c | ||
| 650 | tasn_new.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 651 | tasn_new.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 652 | tasn_new.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 653 | tasn_new.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 654 | tasn_new.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 655 | tasn_new.o: ../../include/openssl/opensslconf.h | ||
| 656 | tasn_new.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 657 | tasn_new.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 658 | tasn_new.o: ../../include/openssl/symhacks.h tasn_new.c | ||
| 659 | tasn_typ.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 660 | tasn_typ.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 661 | tasn_typ.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 662 | tasn_typ.o: ../../include/openssl/opensslconf.h | ||
| 663 | tasn_typ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 664 | tasn_typ.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 665 | tasn_typ.o: ../../include/openssl/symhacks.h tasn_typ.c | ||
| 666 | tasn_utl.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 667 | tasn_utl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 668 | tasn_utl.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 669 | tasn_utl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 670 | tasn_utl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 671 | tasn_utl.o: ../../include/openssl/opensslconf.h | ||
| 672 | tasn_utl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 673 | tasn_utl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 674 | tasn_utl.o: ../../include/openssl/symhacks.h tasn_utl.c | ||
| 675 | x_algor.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 676 | x_algor.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 677 | x_algor.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 678 | x_algor.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 679 | x_algor.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h | ||
| 680 | x_algor.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 681 | x_algor.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 682 | x_algor.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 683 | x_algor.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 684 | x_algor.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 685 | x_algor.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 686 | x_algor.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 687 | x_algor.o: x_algor.c | ||
| 688 | x_attrib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 689 | x_attrib.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 690 | x_attrib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 691 | x_attrib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 692 | x_attrib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 693 | x_attrib.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 694 | x_attrib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 695 | x_attrib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 696 | x_attrib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 697 | x_attrib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 698 | x_attrib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 699 | x_attrib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 700 | x_attrib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 701 | x_attrib.o: ../cryptlib.h x_attrib.c | ||
| 702 | x_bignum.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 703 | x_bignum.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 704 | x_bignum.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 705 | x_bignum.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 706 | x_bignum.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 707 | x_bignum.o: ../../include/openssl/opensslconf.h | ||
| 708 | x_bignum.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 709 | x_bignum.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 710 | x_bignum.o: ../../include/openssl/symhacks.h ../cryptlib.h x_bignum.c | ||
| 711 | x_crl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 712 | x_crl.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 713 | x_crl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 714 | x_crl.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 715 | x_crl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 716 | x_crl.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 717 | x_crl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 718 | x_crl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 719 | x_crl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 720 | x_crl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 721 | x_crl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 722 | x_crl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 723 | x_crl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 724 | x_crl.o: ../cryptlib.h x_crl.c | ||
| 725 | x_exten.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 726 | x_exten.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 727 | x_exten.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 728 | x_exten.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 729 | x_exten.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h | ||
| 730 | x_exten.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 731 | x_exten.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 732 | x_exten.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 733 | x_exten.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 734 | x_exten.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 735 | x_exten.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 736 | x_exten.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 737 | x_exten.o: x_exten.c | ||
| 738 | x_info.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 739 | x_info.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 740 | x_info.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 741 | x_info.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 742 | x_info.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 743 | x_info.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 744 | x_info.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 745 | x_info.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 746 | x_info.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 747 | x_info.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 748 | x_info.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 749 | x_info.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 750 | x_info.o: ../cryptlib.h x_info.c | ||
| 751 | x_long.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 752 | x_long.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 753 | x_long.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 754 | x_long.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 755 | x_long.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 756 | x_long.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 757 | x_long.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 758 | x_long.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 759 | x_long.o: ../cryptlib.h x_long.c | ||
| 760 | x_name.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 761 | x_name.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 762 | x_name.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 763 | x_name.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 764 | x_name.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 765 | x_name.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 766 | x_name.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 767 | x_name.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 768 | x_name.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 769 | x_name.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 770 | x_name.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 771 | x_name.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 772 | x_name.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 773 | x_name.o: ../cryptlib.h x_name.c | ||
| 774 | x_pkey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 775 | x_pkey.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | ||
| 776 | x_pkey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 777 | x_pkey.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 778 | x_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 779 | x_pkey.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 780 | x_pkey.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 781 | x_pkey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 782 | x_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 783 | x_pkey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 784 | x_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 785 | x_pkey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 786 | x_pkey.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 787 | x_pkey.o: ../cryptlib.h x_pkey.c | ||
| 788 | x_pubkey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 789 | x_pubkey.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 790 | x_pubkey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 791 | x_pubkey.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 792 | x_pubkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 793 | x_pubkey.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 794 | x_pubkey.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 795 | x_pubkey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 796 | x_pubkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 797 | x_pubkey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 798 | x_pubkey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 799 | x_pubkey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 800 | x_pubkey.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 801 | x_pubkey.o: ../cryptlib.h x_pubkey.c | ||
| 802 | x_req.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 803 | x_req.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 804 | x_req.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 805 | x_req.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 806 | x_req.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 807 | x_req.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 808 | x_req.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 809 | x_req.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 810 | x_req.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 811 | x_req.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 812 | x_req.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 813 | x_req.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 814 | x_req.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 815 | x_req.o: ../cryptlib.h x_req.c | ||
| 816 | x_sig.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 817 | x_sig.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 818 | x_sig.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 819 | x_sig.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 820 | x_sig.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 821 | x_sig.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 822 | x_sig.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 823 | x_sig.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 824 | x_sig.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 825 | x_sig.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 826 | x_sig.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 827 | x_sig.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 828 | x_sig.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 829 | x_sig.o: ../cryptlib.h x_sig.c | ||
| 830 | x_spki.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 831 | x_spki.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 832 | x_spki.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 833 | x_spki.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 834 | x_spki.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 835 | x_spki.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 836 | x_spki.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 837 | x_spki.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 838 | x_spki.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 839 | x_spki.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 840 | x_spki.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 841 | x_spki.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 842 | x_spki.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 843 | x_spki.o: ../cryptlib.h x_spki.c | ||
| 844 | x_val.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 845 | x_val.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 846 | x_val.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 847 | x_val.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 848 | x_val.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 849 | x_val.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 850 | x_val.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 851 | x_val.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 852 | x_val.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 853 | x_val.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 854 | x_val.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 855 | x_val.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 856 | x_val.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 857 | x_val.o: ../cryptlib.h x_val.c | ||
| 858 | x_x509.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 859 | x_x509.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 860 | x_x509.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 861 | x_x509.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 862 | x_x509.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 863 | x_x509.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 864 | x_x509.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 865 | x_x509.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 866 | x_x509.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 867 | x_x509.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 868 | x_x509.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 869 | x_x509.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 870 | x_x509.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 871 | x_x509.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 872 | x_x509.o: ../cryptlib.h x_x509.c | ||
| 873 | x_x509a.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 874 | x_x509a.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 875 | x_x509a.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 876 | x_x509a.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 877 | x_x509a.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 878 | x_x509a.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 879 | x_x509a.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 880 | x_x509a.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 881 | x_x509a.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 882 | x_x509a.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 883 | x_x509a.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 884 | x_x509a.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 885 | x_x509a.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 886 | x_x509a.o: ../cryptlib.h x_x509a.c | ||
diff --git a/src/lib/libcrypto/asn1/f.c b/src/lib/libcrypto/asn1/f.c new file mode 100644 index 0000000000..82bccdfd51 --- /dev/null +++ b/src/lib/libcrypto/asn1/f.c | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | /* crypto/asn1/f.c */ | ||
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | ||
| 3 | * All rights reserved. | ||
| 4 | * | ||
| 5 | * This package is an SSL implementation written | ||
| 6 | * by Eric Young (eay@cryptsoft.com). | ||
| 7 | * The implementation was written so as to conform with Netscapes SSL. | ||
| 8 | * | ||
| 9 | * This library is free for commercial and non-commercial use as long as | ||
| 10 | * the following conditions are aheared to. The following conditions | ||
| 11 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
| 12 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
| 13 | * included with this distribution is covered by the same copyright terms | ||
| 14 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
| 15 | * | ||
| 16 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
| 17 | * the code are not to be removed. | ||
| 18 | * If this package is used in a product, Eric Young should be given attribution | ||
| 19 | * as the author of the parts of the library used. | ||
| 20 | * This can be in the form of a textual message at program startup or | ||
| 21 | * in documentation (online or textual) provided with the package. | ||
| 22 | * | ||
| 23 | * Redistribution and use in source and binary forms, with or without | ||
| 24 | * modification, are permitted provided that the following conditions | ||
| 25 | * are met: | ||
| 26 | * 1. Redistributions of source code must retain the copyright | ||
| 27 | * notice, this list of conditions and the following disclaimer. | ||
| 28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 29 | * notice, this list of conditions and the following disclaimer in the | ||
| 30 | * documentation and/or other materials provided with the distribution. | ||
| 31 | * 3. All advertising materials mentioning features or use of this software | ||
| 32 | * must display the following acknowledgement: | ||
| 33 | * "This product includes cryptographic software written by | ||
| 34 | * Eric Young (eay@cryptsoft.com)" | ||
| 35 | * The word 'cryptographic' can be left out if the rouines from the library | ||
| 36 | * being used are not cryptographic related :-). | ||
| 37 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
| 38 | * the apps directory (application code) you must include an acknowledgement: | ||
| 39 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
| 40 | * | ||
| 41 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
| 42 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 43 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 44 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
| 45 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 46 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 47 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 49 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 50 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 51 | * SUCH DAMAGE. | ||
| 52 | * | ||
| 53 | * The licence and distribution terms for any publically available version or | ||
| 54 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
| 55 | * copied and put under another distribution licence | ||
| 56 | * [including the GNU Public Licence.] | ||
| 57 | */ | ||
| 58 | #include <stdio.h> | ||
| 59 | #include <openssl/asn1.h> | ||
| 60 | #include <openssl/err.h> | ||
| 61 | |||
| 62 | main() | ||
| 63 | { | ||
| 64 | ASN1_TYPE *at; | ||
| 65 | char buf[512]; | ||
| 66 | int n; | ||
| 67 | long l; | ||
| 68 | |||
| 69 | at=ASN1_TYPE_new(); | ||
| 70 | |||
| 71 | n=ASN1_TYPE_set_int_octetstring(at,98736,"01234567",8); | ||
| 72 | printf("%d\n",n); | ||
| 73 | n=ASN1_TYPE_get_int_octetstring(at,&l,buf,8); | ||
| 74 | buf[8]='\0'; | ||
| 75 | printf("%ld %d %d\n",l,n,buf[8]); | ||
| 76 | buf[8]='\0'; | ||
| 77 | printf("%s\n",buf); | ||
| 78 | ERR_load_crypto_strings(); | ||
| 79 | ERR_print_errors_fp(stderr); | ||
| 80 | } | ||
diff --git a/src/lib/libcrypto/asn1/x_cinf.c b/src/lib/libcrypto/asn1/x_cinf.c new file mode 100644 index 0000000000..339a110eef --- /dev/null +++ b/src/lib/libcrypto/asn1/x_cinf.c | |||
| @@ -0,0 +1,201 @@ | |||
| 1 | /* crypto/asn1/x_cinf.c */ | ||
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | ||
| 3 | * All rights reserved. | ||
| 4 | * | ||
| 5 | * This package is an SSL implementation written | ||
| 6 | * by Eric Young (eay@cryptsoft.com). | ||
| 7 | * The implementation was written so as to conform with Netscapes SSL. | ||
| 8 | * | ||
| 9 | * This library is free for commercial and non-commercial use as long as | ||
| 10 | * the following conditions are aheared to. The following conditions | ||
| 11 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
| 12 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
| 13 | * included with this distribution is covered by the same copyright terms | ||
| 14 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
| 15 | * | ||
| 16 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
| 17 | * the code are not to be removed. | ||
| 18 | * If this package is used in a product, Eric Young should be given attribution | ||
| 19 | * as the author of the parts of the library used. | ||
| 20 | * This can be in the form of a textual message at program startup or | ||
| 21 | * in documentation (online or textual) provided with the package. | ||
| 22 | * | ||
| 23 | * Redistribution and use in source and binary forms, with or without | ||
| 24 | * modification, are permitted provided that the following conditions | ||
| 25 | * are met: | ||
| 26 | * 1. Redistributions of source code must retain the copyright | ||
| 27 | * notice, this list of conditions and the following disclaimer. | ||
| 28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 29 | * notice, this list of conditions and the following disclaimer in the | ||
| 30 | * documentation and/or other materials provided with the distribution. | ||
| 31 | * 3. All advertising materials mentioning features or use of this software | ||
| 32 | * must display the following acknowledgement: | ||
| 33 | * "This product includes cryptographic software written by | ||
| 34 | * Eric Young (eay@cryptsoft.com)" | ||
| 35 | * The word 'cryptographic' can be left out if the rouines from the library | ||
| 36 | * being used are not cryptographic related :-). | ||
| 37 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
| 38 | * the apps directory (application code) you must include an acknowledgement: | ||
| 39 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
| 40 | * | ||
| 41 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
| 42 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 43 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 44 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
| 45 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 46 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 47 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 49 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 50 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 51 | * SUCH DAMAGE. | ||
| 52 | * | ||
| 53 | * The licence and distribution terms for any publically available version or | ||
| 54 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
| 55 | * copied and put under another distribution licence | ||
| 56 | * [including the GNU Public Licence.] | ||
| 57 | */ | ||
| 58 | |||
| 59 | #include <stdio.h> | ||
| 60 | #include "cryptlib.h" | ||
| 61 | #include <openssl/asn1_mac.h> | ||
| 62 | #include <openssl/x509.h> | ||
| 63 | |||
| 64 | int i2d_X509_CINF(X509_CINF *a, unsigned char **pp) | ||
| 65 | { | ||
| 66 | int v1=0,v2=0; | ||
| 67 | M_ASN1_I2D_vars(a); | ||
| 68 | |||
| 69 | M_ASN1_I2D_len_EXP_opt(a->version,i2d_ASN1_INTEGER,0,v1); | ||
| 70 | M_ASN1_I2D_len(a->serialNumber, i2d_ASN1_INTEGER); | ||
| 71 | M_ASN1_I2D_len(a->signature, i2d_X509_ALGOR); | ||
| 72 | M_ASN1_I2D_len(a->issuer, i2d_X509_NAME); | ||
| 73 | M_ASN1_I2D_len(a->validity, i2d_X509_VAL); | ||
| 74 | M_ASN1_I2D_len(a->subject, i2d_X509_NAME); | ||
| 75 | M_ASN1_I2D_len(a->key, i2d_X509_PUBKEY); | ||
| 76 | M_ASN1_I2D_len_IMP_opt(a->issuerUID, i2d_ASN1_BIT_STRING); | ||
| 77 | M_ASN1_I2D_len_IMP_opt(a->subjectUID, i2d_ASN1_BIT_STRING); | ||
| 78 | M_ASN1_I2D_len_EXP_SEQUENCE_opt_type(X509_EXTENSION,a->extensions, | ||
| 79 | i2d_X509_EXTENSION,3, | ||
| 80 | V_ASN1_SEQUENCE,v2); | ||
| 81 | |||
| 82 | M_ASN1_I2D_seq_total(); | ||
| 83 | |||
| 84 | M_ASN1_I2D_put_EXP_opt(a->version,i2d_ASN1_INTEGER,0,v1); | ||
| 85 | M_ASN1_I2D_put(a->serialNumber, i2d_ASN1_INTEGER); | ||
| 86 | M_ASN1_I2D_put(a->signature, i2d_X509_ALGOR); | ||
| 87 | M_ASN1_I2D_put(a->issuer, i2d_X509_NAME); | ||
| 88 | M_ASN1_I2D_put(a->validity, i2d_X509_VAL); | ||
| 89 | M_ASN1_I2D_put(a->subject, i2d_X509_NAME); | ||
| 90 | M_ASN1_I2D_put(a->key, i2d_X509_PUBKEY); | ||
| 91 | M_ASN1_I2D_put_IMP_opt(a->issuerUID, i2d_ASN1_BIT_STRING,1); | ||
| 92 | M_ASN1_I2D_put_IMP_opt(a->subjectUID, i2d_ASN1_BIT_STRING,2); | ||
| 93 | M_ASN1_I2D_put_EXP_SEQUENCE_opt_type(X509_EXTENSION,a->extensions, | ||
| 94 | i2d_X509_EXTENSION,3, | ||
| 95 | V_ASN1_SEQUENCE,v2); | ||
| 96 | |||
| 97 | M_ASN1_I2D_finish(); | ||
| 98 | } | ||
| 99 | |||
| 100 | X509_CINF *d2i_X509_CINF(X509_CINF **a, unsigned char **pp, long length) | ||
| 101 | { | ||
| 102 | int ver=0; | ||
| 103 | M_ASN1_D2I_vars(a,X509_CINF *,X509_CINF_new); | ||
| 104 | |||
| 105 | M_ASN1_D2I_Init(); | ||
| 106 | M_ASN1_D2I_start_sequence(); | ||
| 107 | /* we have the optional version field */ | ||
| 108 | if (M_ASN1_next == (V_ASN1_CONTEXT_SPECIFIC | V_ASN1_CONSTRUCTED | 0)) | ||
| 109 | { | ||
| 110 | M_ASN1_D2I_get_EXP_opt(ret->version,d2i_ASN1_INTEGER,0); | ||
| 111 | if (ret->version->data != NULL) | ||
| 112 | ver=ret->version->data[0]; | ||
| 113 | } | ||
| 114 | else | ||
| 115 | { | ||
| 116 | if (ret->version != NULL) | ||
| 117 | { | ||
| 118 | M_ASN1_INTEGER_free(ret->version); | ||
| 119 | ret->version=NULL; | ||
| 120 | } | ||
| 121 | } | ||
| 122 | M_ASN1_D2I_get(ret->serialNumber,d2i_ASN1_INTEGER); | ||
| 123 | M_ASN1_D2I_get(ret->signature,d2i_X509_ALGOR); | ||
| 124 | M_ASN1_D2I_get(ret->issuer,d2i_X509_NAME); | ||
| 125 | M_ASN1_D2I_get(ret->validity,d2i_X509_VAL); | ||
| 126 | M_ASN1_D2I_get(ret->subject,d2i_X509_NAME); | ||
| 127 | M_ASN1_D2I_get(ret->key,d2i_X509_PUBKEY); | ||
| 128 | if (ver >= 1) /* version 2 extensions */ | ||
| 129 | { | ||
| 130 | if (ret->issuerUID != NULL) | ||
| 131 | { | ||
| 132 | M_ASN1_BIT_STRING_free(ret->issuerUID); | ||
| 133 | ret->issuerUID=NULL; | ||
| 134 | } | ||
| 135 | if (ret->subjectUID != NULL) | ||
| 136 | { | ||
| 137 | M_ASN1_BIT_STRING_free(ret->subjectUID); | ||
| 138 | ret->subjectUID=NULL; | ||
| 139 | } | ||
| 140 | M_ASN1_D2I_get_IMP_opt(ret->issuerUID,d2i_ASN1_BIT_STRING, 1, | ||
| 141 | V_ASN1_BIT_STRING); | ||
| 142 | M_ASN1_D2I_get_IMP_opt(ret->subjectUID,d2i_ASN1_BIT_STRING, 2, | ||
| 143 | V_ASN1_BIT_STRING); | ||
| 144 | } | ||
| 145 | /* Note: some broken certificates include extensions but don't set | ||
| 146 | * the version number properly. By bypassing this check they can | ||
| 147 | * be parsed. | ||
| 148 | */ | ||
| 149 | |||
| 150 | #ifdef VERSION_EXT_CHECK | ||
| 151 | if (ver >= 2) /* version 3 extensions */ | ||
| 152 | #endif | ||
| 153 | { | ||
| 154 | if (ret->extensions != NULL) | ||
| 155 | while (sk_X509_EXTENSION_num(ret->extensions)) | ||
| 156 | X509_EXTENSION_free( | ||
| 157 | sk_X509_EXTENSION_pop(ret->extensions)); | ||
| 158 | M_ASN1_D2I_get_EXP_set_opt_type(X509_EXTENSION,ret->extensions, | ||
| 159 | d2i_X509_EXTENSION, | ||
| 160 | X509_EXTENSION_free,3, | ||
| 161 | V_ASN1_SEQUENCE); | ||
| 162 | } | ||
| 163 | M_ASN1_D2I_Finish(a,X509_CINF_free,ASN1_F_D2I_X509_CINF); | ||
| 164 | } | ||
| 165 | |||
| 166 | X509_CINF *X509_CINF_new(void) | ||
| 167 | { | ||
| 168 | X509_CINF *ret=NULL; | ||
| 169 | ASN1_CTX c; | ||
| 170 | |||
| 171 | M_ASN1_New_Malloc(ret,X509_CINF); | ||
| 172 | ret->version=NULL; | ||
| 173 | M_ASN1_New(ret->serialNumber,M_ASN1_INTEGER_new); | ||
| 174 | M_ASN1_New(ret->signature,X509_ALGOR_new); | ||
| 175 | M_ASN1_New(ret->issuer,X509_NAME_new); | ||
| 176 | M_ASN1_New(ret->validity,X509_VAL_new); | ||
| 177 | M_ASN1_New(ret->subject,X509_NAME_new); | ||
| 178 | M_ASN1_New(ret->key,X509_PUBKEY_new); | ||
| 179 | ret->issuerUID=NULL; | ||
| 180 | ret->subjectUID=NULL; | ||
| 181 | ret->extensions=NULL; | ||
| 182 | return(ret); | ||
| 183 | M_ASN1_New_Error(ASN1_F_X509_CINF_NEW); | ||
| 184 | } | ||
| 185 | |||
| 186 | void X509_CINF_free(X509_CINF *a) | ||
| 187 | { | ||
| 188 | if (a == NULL) return; | ||
| 189 | M_ASN1_INTEGER_free(a->version); | ||
| 190 | M_ASN1_INTEGER_free(a->serialNumber); | ||
| 191 | X509_ALGOR_free(a->signature); | ||
| 192 | X509_NAME_free(a->issuer); | ||
| 193 | X509_VAL_free(a->validity); | ||
| 194 | X509_NAME_free(a->subject); | ||
| 195 | X509_PUBKEY_free(a->key); | ||
| 196 | M_ASN1_BIT_STRING_free(a->issuerUID); | ||
| 197 | M_ASN1_BIT_STRING_free(a->subjectUID); | ||
| 198 | sk_X509_EXTENSION_pop_free(a->extensions,X509_EXTENSION_free); | ||
| 199 | OPENSSL_free(a); | ||
| 200 | } | ||
| 201 | |||
diff --git a/src/lib/libcrypto/bf/Makefile.ssl b/src/lib/libcrypto/bf/Makefile.ssl new file mode 100644 index 0000000000..1b1cb8842f --- /dev/null +++ b/src/lib/libcrypto/bf/Makefile.ssl | |||
| @@ -0,0 +1,120 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/blowfish/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= bf | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | BF_ENC= bf_enc.o | ||
| 21 | # or use | ||
| 22 | #DES_ENC= bx86-elf.o | ||
| 23 | |||
| 24 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 25 | |||
| 26 | GENERAL=Makefile | ||
| 27 | TEST=bftest.c | ||
| 28 | APPS= | ||
| 29 | |||
| 30 | LIB=$(TOP)/libcrypto.a | ||
| 31 | LIBSRC=bf_skey.c bf_ecb.c bf_enc.c bf_cfb64.c bf_ofb64.c | ||
| 32 | LIBOBJ=bf_skey.o bf_ecb.o $(BF_ENC) bf_cfb64.o bf_ofb64.o | ||
| 33 | |||
| 34 | SRC= $(LIBSRC) | ||
| 35 | |||
| 36 | EXHEADER= blowfish.h | ||
| 37 | HEADER= bf_pi.h bf_locl.h $(EXHEADER) | ||
| 38 | |||
| 39 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 40 | |||
| 41 | top: | ||
| 42 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 43 | |||
| 44 | all: lib | ||
| 45 | |||
| 46 | lib: $(LIBOBJ) | ||
| 47 | $(AR) $(LIB) $(LIBOBJ) | ||
| 48 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 49 | @touch lib | ||
| 50 | |||
| 51 | # elf | ||
| 52 | asm/bx86-elf.o: asm/bx86unix.cpp | ||
| 53 | $(CPP) -DELF -x c asm/bx86unix.cpp | as -o asm/bx86-elf.o | ||
| 54 | |||
| 55 | # solaris | ||
| 56 | asm/bx86-sol.o: asm/bx86unix.cpp | ||
| 57 | $(CC) -E -DSOL asm/bx86unix.cpp | sed 's/^#.*//' > asm/bx86-sol.s | ||
| 58 | as -o asm/bx86-sol.o asm/bx86-sol.s | ||
| 59 | rm -f asm/bx86-sol.s | ||
| 60 | |||
| 61 | # a.out | ||
| 62 | asm/bx86-out.o: asm/bx86unix.cpp | ||
| 63 | $(CPP) -DOUT asm/bx86unix.cpp | as -o asm/bx86-out.o | ||
| 64 | |||
| 65 | # bsdi | ||
| 66 | asm/bx86bsdi.o: asm/bx86unix.cpp | ||
| 67 | $(CPP) -DBSDI asm/bx86unix.cpp | sed 's/ :/:/' | as -o asm/bx86bsdi.o | ||
| 68 | |||
| 69 | asm/bx86unix.cpp: asm/bf-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 70 | (cd asm; $(PERL) bf-586.pl cpp $(PROCESSOR) >bx86unix.cpp) | ||
| 71 | |||
| 72 | files: | ||
| 73 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 74 | |||
| 75 | links: | ||
| 76 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 77 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 78 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 79 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 80 | |||
| 81 | install: installs | ||
| 82 | |||
| 83 | installs: | ||
| 84 | @for i in $(EXHEADER) ; \ | ||
| 85 | do \ | ||
| 86 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 87 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 88 | done; | ||
| 89 | |||
| 90 | tags: | ||
| 91 | ctags $(SRC) | ||
| 92 | |||
| 93 | tests: | ||
| 94 | |||
| 95 | lint: | ||
| 96 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 97 | |||
| 98 | depend: | ||
| 99 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 100 | |||
| 101 | dclean: | ||
| 102 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 103 | mv -f Makefile.new $(MAKEFILE) | ||
| 104 | |||
| 105 | clean: | ||
| 106 | rm -f asm/bx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 107 | |||
| 108 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 109 | |||
| 110 | bf_cfb64.o: ../../include/openssl/blowfish.h ../../include/openssl/e_os2.h | ||
| 111 | bf_cfb64.o: ../../include/openssl/opensslconf.h bf_cfb64.c bf_locl.h | ||
| 112 | bf_ecb.o: ../../include/openssl/blowfish.h ../../include/openssl/e_os2.h | ||
| 113 | bf_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 114 | bf_ecb.o: bf_ecb.c bf_locl.h | ||
| 115 | bf_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/e_os2.h | ||
| 116 | bf_enc.o: ../../include/openssl/opensslconf.h bf_enc.c bf_locl.h | ||
| 117 | bf_ofb64.o: ../../include/openssl/blowfish.h ../../include/openssl/e_os2.h | ||
| 118 | bf_ofb64.o: ../../include/openssl/opensslconf.h bf_locl.h bf_ofb64.c | ||
| 119 | bf_skey.o: ../../include/openssl/blowfish.h ../../include/openssl/e_os2.h | ||
| 120 | bf_skey.o: ../../include/openssl/opensslconf.h bf_locl.h bf_pi.h bf_skey.c | ||
diff --git a/src/lib/libcrypto/bio/Makefile.ssl b/src/lib/libcrypto/bio/Makefile.ssl new file mode 100644 index 0000000000..103a051c03 --- /dev/null +++ b/src/lib/libcrypto/bio/Makefile.ssl | |||
| @@ -0,0 +1,216 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/bio/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= bio | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= bio_lib.c bio_cb.c bio_err.c \ | ||
| 27 | bss_mem.c bss_null.c bss_fd.c \ | ||
| 28 | bss_file.c bss_sock.c bss_conn.c \ | ||
| 29 | bf_null.c bf_buff.c b_print.c b_dump.c \ | ||
| 30 | b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c | ||
| 31 | # bf_lbuf.c | ||
| 32 | LIBOBJ= bio_lib.o bio_cb.o bio_err.o \ | ||
| 33 | bss_mem.o bss_null.o bss_fd.o \ | ||
| 34 | bss_file.o bss_sock.o bss_conn.o \ | ||
| 35 | bf_null.o bf_buff.o b_print.o b_dump.o \ | ||
| 36 | b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o | ||
| 37 | # bf_lbuf.o | ||
| 38 | |||
| 39 | SRC= $(LIBSRC) | ||
| 40 | |||
| 41 | EXHEADER= bio.h | ||
| 42 | HEADER= bss_file.c $(EXHEADER) | ||
| 43 | |||
| 44 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 45 | |||
| 46 | top: | ||
| 47 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 48 | |||
| 49 | all: lib | ||
| 50 | |||
| 51 | lib: $(LIBOBJ) | ||
| 52 | $(AR) $(LIB) $(LIBOBJ) | ||
| 53 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 54 | @touch lib | ||
| 55 | |||
| 56 | files: | ||
| 57 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 58 | |||
| 59 | links: | ||
| 60 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 61 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 62 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 63 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 64 | |||
| 65 | install: | ||
| 66 | @for i in $(EXHEADER); \ | ||
| 67 | do \ | ||
| 68 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 69 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 70 | done; | ||
| 71 | |||
| 72 | tags: | ||
| 73 | ctags $(SRC) | ||
| 74 | |||
| 75 | tests: | ||
| 76 | |||
| 77 | lint: | ||
| 78 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 79 | |||
| 80 | depend: | ||
| 81 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 82 | |||
| 83 | dclean: | ||
| 84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 85 | mv -f Makefile.new $(MAKEFILE) | ||
| 86 | |||
| 87 | clean: | ||
| 88 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 89 | |||
| 90 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 91 | |||
| 92 | b_dump.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 93 | b_dump.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 94 | b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 95 | b_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 96 | b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 97 | b_dump.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 98 | b_dump.o: ../cryptlib.h b_dump.c | ||
| 99 | b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 100 | b_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 101 | b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 102 | b_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 103 | b_print.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 104 | b_print.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 105 | b_print.o: ../cryptlib.h b_print.c | ||
| 106 | b_sock.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 107 | b_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 108 | b_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 109 | b_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 110 | b_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 111 | b_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 112 | b_sock.o: ../cryptlib.h b_sock.c | ||
| 113 | bf_buff.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 114 | bf_buff.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 115 | bf_buff.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 116 | bf_buff.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 117 | bf_buff.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 118 | bf_buff.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 119 | bf_buff.o: ../cryptlib.h bf_buff.c | ||
| 120 | bf_nbio.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 121 | bf_nbio.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 122 | bf_nbio.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 123 | bf_nbio.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 124 | bf_nbio.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 125 | bf_nbio.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 126 | bf_nbio.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 127 | bf_nbio.o: ../cryptlib.h bf_nbio.c | ||
| 128 | bf_null.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 129 | bf_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 130 | bf_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 131 | bf_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 132 | bf_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 133 | bf_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 134 | bf_null.o: ../cryptlib.h bf_null.c | ||
| 135 | bio_cb.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 136 | bio_cb.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 137 | bio_cb.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 138 | bio_cb.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 139 | bio_cb.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 140 | bio_cb.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 141 | bio_cb.o: ../cryptlib.h bio_cb.c | ||
| 142 | bio_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
| 143 | bio_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 144 | bio_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 145 | bio_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 146 | bio_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 147 | bio_err.o: bio_err.c | ||
| 148 | bio_lib.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 149 | bio_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 150 | bio_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 151 | bio_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 152 | bio_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 153 | bio_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 154 | bio_lib.o: ../cryptlib.h bio_lib.c | ||
| 155 | bss_acpt.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 156 | bss_acpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 157 | bss_acpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 158 | bss_acpt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 159 | bss_acpt.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 160 | bss_acpt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 161 | bss_acpt.o: ../cryptlib.h bss_acpt.c | ||
| 162 | bss_bio.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 163 | bss_bio.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 164 | bss_bio.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 165 | bss_bio.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 166 | bss_bio.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 167 | bss_bio.o: ../../include/openssl/symhacks.h bss_bio.c | ||
| 168 | bss_conn.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 169 | bss_conn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 170 | bss_conn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 171 | bss_conn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 172 | bss_conn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 173 | bss_conn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 174 | bss_conn.o: ../cryptlib.h bss_conn.c | ||
| 175 | bss_fd.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 176 | bss_fd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 177 | bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 178 | bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 179 | bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 180 | bss_fd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 181 | bss_fd.o: ../cryptlib.h bss_fd.c | ||
| 182 | bss_file.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 183 | bss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 184 | bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 185 | bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 186 | bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 187 | bss_file.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 188 | bss_file.o: ../cryptlib.h bss_file.c | ||
| 189 | bss_log.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 190 | bss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 191 | bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 192 | bss_log.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 193 | bss_log.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 194 | bss_log.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 195 | bss_log.o: ../cryptlib.h bss_log.c | ||
| 196 | bss_mem.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 197 | bss_mem.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 198 | bss_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 199 | bss_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 200 | bss_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 201 | bss_mem.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 202 | bss_mem.o: ../cryptlib.h bss_mem.c | ||
| 203 | bss_null.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 204 | bss_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 205 | bss_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 206 | bss_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 207 | bss_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 208 | bss_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 209 | bss_null.o: ../cryptlib.h bss_null.c | ||
| 210 | bss_sock.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 211 | bss_sock.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 212 | bss_sock.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 213 | bss_sock.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 214 | bss_sock.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 215 | bss_sock.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 216 | bss_sock.o: ../cryptlib.h bss_sock.c | ||
diff --git a/src/lib/libcrypto/bn/Makefile.ssl b/src/lib/libcrypto/bn/Makefile.ssl new file mode 100644 index 0000000000..605cb17577 --- /dev/null +++ b/src/lib/libcrypto/bn/Makefile.ssl | |||
| @@ -0,0 +1,339 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/bn/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= bn | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | BN_ASM= bn_asm.o | ||
| 21 | # or use | ||
| 22 | #BN_ASM= bn86-elf.o | ||
| 23 | |||
| 24 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 25 | |||
| 26 | # We let the C compiler driver to take care of .s files. This is done in | ||
| 27 | # order to be excused from maintaining a separate set of architecture | ||
| 28 | # dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC | ||
| 29 | # gcc, then the driver will automatically translate it to -xarch=v8plus | ||
| 30 | # and pass it down to assembler. | ||
| 31 | AS=$(CC) -c | ||
| 32 | ASFLAGS=$(CFLAGS) | ||
| 33 | |||
| 34 | GENERAL=Makefile | ||
| 35 | TEST=bntest.c exptest.c | ||
| 36 | APPS= | ||
| 37 | |||
| 38 | LIB=$(TOP)/libcrypto.a | ||
| 39 | LIBSRC= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c \ | ||
| 40 | bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \ | ||
| 41 | bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_err.c bn_sqr.c bn_asm.c \ | ||
| 42 | bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c | ||
| 43 | |||
| 44 | LIBOBJ= bn_add.o bn_div.o bn_exp.o bn_lib.o bn_ctx.o bn_mul.o bn_mod.o \ | ||
| 45 | bn_print.o bn_rand.o bn_shift.o bn_word.o bn_blind.o \ | ||
| 46 | bn_kron.o bn_sqrt.o bn_gcd.o bn_prime.o bn_err.o bn_sqr.o $(BN_ASM) \ | ||
| 47 | bn_recp.o bn_mont.o bn_mpi.o bn_exp2.o | ||
| 48 | |||
| 49 | SRC= $(LIBSRC) | ||
| 50 | |||
| 51 | EXHEADER= bn.h | ||
| 52 | HEADER= bn_lcl.h bn_prime.h $(EXHEADER) | ||
| 53 | |||
| 54 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 55 | |||
| 56 | top: | ||
| 57 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 58 | |||
| 59 | all: lib | ||
| 60 | |||
| 61 | bn_prime.h: bn_prime.pl | ||
| 62 | $(PERL) bn_prime.pl >bn_prime.h | ||
| 63 | |||
| 64 | divtest: divtest.c ../../libcrypto.a | ||
| 65 | cc -I../../include divtest.c -o divtest ../../libcrypto.a | ||
| 66 | |||
| 67 | bnbug: bnbug.c ../../libcrypto.a top | ||
| 68 | cc -g -I../../include bnbug.c -o bnbug ../../libcrypto.a | ||
| 69 | |||
| 70 | lib: $(LIBOBJ) | ||
| 71 | $(AR) $(LIB) $(LIBOBJ) | ||
| 72 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 73 | @touch lib | ||
| 74 | |||
| 75 | # elf | ||
| 76 | asm/bn86-elf.o: asm/bn86unix.cpp | ||
| 77 | $(CPP) -DELF -x c asm/bn86unix.cpp | as -o asm/bn86-elf.o | ||
| 78 | |||
| 79 | asm/co86-elf.o: asm/co86unix.cpp | ||
| 80 | $(CPP) -DELF -x c asm/co86unix.cpp | as -o asm/co86-elf.o | ||
| 81 | |||
| 82 | # solaris | ||
| 83 | asm/bn86-sol.o: asm/bn86unix.cpp | ||
| 84 | $(CC) -E -DSOL asm/bn86unix.cpp | sed 's/^#.*//' > asm/bn86-sol.s | ||
| 85 | as -o asm/bn86-sol.o asm/bn86-sol.s | ||
| 86 | rm -f asm/bn86-sol.s | ||
| 87 | |||
| 88 | asm/co86-sol.o: asm/co86unix.cpp | ||
| 89 | $(CC) -E -DSOL asm/co86unix.cpp | sed 's/^#.*//' > asm/co86-sol.s | ||
| 90 | as -o asm/co86-sol.o asm/co86-sol.s | ||
| 91 | rm -f asm/co86-sol.s | ||
| 92 | |||
| 93 | # a.out | ||
| 94 | asm/bn86-out.o: asm/bn86unix.cpp | ||
| 95 | $(CPP) -DOUT asm/bn86unix.cpp | as -o asm/bn86-out.o | ||
| 96 | |||
| 97 | asm/co86-out.o: asm/co86unix.cpp | ||
| 98 | $(CPP) -DOUT asm/co86unix.cpp | as -o asm/co86-out.o | ||
| 99 | |||
| 100 | # bsdi | ||
| 101 | asm/bn86bsdi.o: asm/bn86unix.cpp | ||
| 102 | $(CPP) -DBSDI asm/bn86unix.cpp | sed 's/ :/:/' | as -o asm/bn86bsdi.o | ||
| 103 | |||
| 104 | asm/co86bsdi.o: asm/co86unix.cpp | ||
| 105 | $(CPP) -DBSDI asm/co86unix.cpp | sed 's/ :/:/' | as -o asm/co86bsdi.o | ||
| 106 | |||
| 107 | asm/bn86unix.cpp: asm/bn-586.pl ../perlasm/x86asm.pl | ||
| 108 | (cd asm; $(PERL) bn-586.pl cpp >bn86unix.cpp ) | ||
| 109 | |||
| 110 | asm/co86unix.cpp: asm/co-586.pl ../perlasm/x86asm.pl | ||
| 111 | (cd asm; $(PERL) co-586.pl cpp >co86unix.cpp ) | ||
| 112 | |||
| 113 | asm/sparcv8.o: asm/sparcv8.S | ||
| 114 | |||
| 115 | asm/sparcv8plus.o: asm/sparcv8plus.S | ||
| 116 | |||
| 117 | # Old GNU assembler doesn't understand V9 instructions, so we | ||
| 118 | # hire /usr/ccs/bin/as to do the job. Note that option is called | ||
| 119 | # *-gcc27, but even gcc 2>=8 users may experience similar problem | ||
| 120 | # if they didn't bother to upgrade GNU assembler. Such users should | ||
| 121 | # not choose this option, but be adviced to *remove* GNU assembler | ||
| 122 | # or upgrade it. | ||
| 123 | asm/sparcv8plus-gcc27.o: asm/sparcv8plus.S | ||
| 124 | $(CC) $(ASFLAGS) -E asm/sparcv8plus.S | \ | ||
| 125 | /usr/ccs/bin/as -xarch=v8plus - -o asm/sparcv8plus-gcc27.o | ||
| 126 | |||
| 127 | |||
| 128 | asm/ia64.o: asm/ia64.S | ||
| 129 | |||
| 130 | # Some compiler drivers (most notably HP-UX and Intel C++) don't | ||
| 131 | # understand .S extension:-( I wish I could pipe output from cc -E, | ||
| 132 | # but it's too compiler driver/ABI dependent to cover with a single | ||
| 133 | # rule... <appro@fy.chalmers.se> | ||
| 134 | asm/ia64-cpp.o: asm/ia64.S | ||
| 135 | $(CC) $(ASFLAGS) -E asm/ia64.S > /tmp/ia64.$$$$.s && \ | ||
| 136 | $(CC) $(ASFLAGS) -c -o asm/ia64-cpp.o /tmp/ia64.$$$$.s; \ | ||
| 137 | rm -f /tmp/ia64.$$$$.s | ||
| 138 | |||
| 139 | files: | ||
| 140 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 141 | |||
| 142 | links: | ||
| 143 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 144 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 145 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 146 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 147 | |||
| 148 | install: | ||
| 149 | @for i in $(EXHEADER) ; \ | ||
| 150 | do \ | ||
| 151 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 152 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 153 | done; | ||
| 154 | |||
| 155 | exptest: | ||
| 156 | rm -f exptest | ||
| 157 | gcc -I../../include -g2 -ggdb -o exptest exptest.c ../../libcrypto.a | ||
| 158 | |||
| 159 | div: | ||
| 160 | rm -f a.out | ||
| 161 | gcc -I.. -g div.c ../../libcrypto.a | ||
| 162 | |||
| 163 | tags: | ||
| 164 | ctags $(SRC) | ||
| 165 | |||
| 166 | tests: | ||
| 167 | |||
| 168 | lint: | ||
| 169 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 170 | |||
| 171 | depend: | ||
| 172 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 173 | |||
| 174 | dclean: | ||
| 175 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 176 | mv -f Makefile.new $(MAKEFILE) | ||
| 177 | |||
| 178 | clean: | ||
| 179 | rm -f asm/co86unix.cpp asm/bn86unix.cpp *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff bn_asm.s | ||
| 180 | |||
| 181 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 182 | |||
| 183 | bn_add.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 184 | bn_add.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 185 | bn_add.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 186 | bn_add.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 187 | bn_add.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 188 | bn_add.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 189 | bn_add.o: ../cryptlib.h bn_add.c bn_lcl.h | ||
| 190 | bn_asm.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 191 | bn_asm.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 192 | bn_asm.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 193 | bn_asm.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 194 | bn_asm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 195 | bn_asm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 196 | bn_asm.o: ../cryptlib.h bn_asm.c bn_lcl.h | ||
| 197 | bn_blind.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 198 | bn_blind.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 199 | bn_blind.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 200 | bn_blind.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 201 | bn_blind.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 202 | bn_blind.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 203 | bn_blind.o: ../cryptlib.h bn_blind.c bn_lcl.h | ||
| 204 | bn_ctx.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 205 | bn_ctx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 206 | bn_ctx.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 207 | bn_ctx.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 208 | bn_ctx.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 209 | bn_ctx.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 210 | bn_ctx.o: ../cryptlib.h bn_ctx.c bn_lcl.h | ||
| 211 | bn_div.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 212 | bn_div.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 213 | bn_div.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 214 | bn_div.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 215 | bn_div.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 216 | bn_div.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 217 | bn_div.o: ../cryptlib.h bn_div.c bn_lcl.h | ||
| 218 | bn_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 219 | bn_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 220 | bn_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 221 | bn_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 222 | bn_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 223 | bn_err.o: ../../include/openssl/symhacks.h bn_err.c | ||
| 224 | bn_exp.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 225 | bn_exp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 226 | bn_exp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 227 | bn_exp.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 228 | bn_exp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 229 | bn_exp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 230 | bn_exp.o: ../cryptlib.h bn_exp.c bn_lcl.h | ||
| 231 | bn_exp2.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 232 | bn_exp2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 233 | bn_exp2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 234 | bn_exp2.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 235 | bn_exp2.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 236 | bn_exp2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 237 | bn_exp2.o: ../cryptlib.h bn_exp2.c bn_lcl.h | ||
| 238 | bn_gcd.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 239 | bn_gcd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 240 | bn_gcd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 241 | bn_gcd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 242 | bn_gcd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 243 | bn_gcd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 244 | bn_gcd.o: ../cryptlib.h bn_gcd.c bn_lcl.h | ||
| 245 | bn_kron.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | ||
| 246 | bn_kron.o: ../../include/openssl/opensslconf.h bn_kron.c bn_lcl.h | ||
| 247 | bn_lib.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 248 | bn_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 249 | bn_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 250 | bn_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 251 | bn_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 252 | bn_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 253 | bn_lib.o: ../cryptlib.h bn_lcl.h bn_lib.c | ||
| 254 | bn_mod.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 255 | bn_mod.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 256 | bn_mod.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 257 | bn_mod.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 258 | bn_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 259 | bn_mod.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 260 | bn_mod.o: ../cryptlib.h bn_lcl.h bn_mod.c | ||
| 261 | bn_mont.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 262 | bn_mont.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 263 | bn_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 264 | bn_mont.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 265 | bn_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 266 | bn_mont.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 267 | bn_mont.o: ../cryptlib.h bn_lcl.h bn_mont.c | ||
| 268 | bn_mpi.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 269 | bn_mpi.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 270 | bn_mpi.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 271 | bn_mpi.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 272 | bn_mpi.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 273 | bn_mpi.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 274 | bn_mpi.o: ../cryptlib.h bn_lcl.h bn_mpi.c | ||
| 275 | bn_mul.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 276 | bn_mul.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 277 | bn_mul.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 278 | bn_mul.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 279 | bn_mul.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 280 | bn_mul.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 281 | bn_mul.o: ../cryptlib.h bn_lcl.h bn_mul.c | ||
| 282 | bn_prime.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 283 | bn_prime.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 284 | bn_prime.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 285 | bn_prime.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 286 | bn_prime.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 287 | bn_prime.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 288 | bn_prime.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 289 | bn_prime.o: ../cryptlib.h bn_lcl.h bn_prime.c bn_prime.h | ||
| 290 | bn_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 291 | bn_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 292 | bn_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 293 | bn_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 294 | bn_print.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 295 | bn_print.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 296 | bn_print.o: ../cryptlib.h bn_lcl.h bn_print.c | ||
| 297 | bn_rand.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 298 | bn_rand.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 299 | bn_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 300 | bn_rand.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 301 | bn_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 302 | bn_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 303 | bn_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 304 | bn_rand.o: ../cryptlib.h bn_lcl.h bn_rand.c | ||
| 305 | bn_recp.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 306 | bn_recp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 307 | bn_recp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 308 | bn_recp.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 309 | bn_recp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 310 | bn_recp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 311 | bn_recp.o: ../cryptlib.h bn_lcl.h bn_recp.c | ||
| 312 | bn_shift.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 313 | bn_shift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 314 | bn_shift.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 315 | bn_shift.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 316 | bn_shift.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 317 | bn_shift.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 318 | bn_shift.o: ../cryptlib.h bn_lcl.h bn_shift.c | ||
| 319 | bn_sqr.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 320 | bn_sqr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 321 | bn_sqr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 322 | bn_sqr.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 323 | bn_sqr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 324 | bn_sqr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 325 | bn_sqr.o: ../cryptlib.h bn_lcl.h bn_sqr.c | ||
| 326 | bn_sqrt.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 327 | bn_sqrt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 328 | bn_sqrt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 329 | bn_sqrt.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 330 | bn_sqrt.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 331 | bn_sqrt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 332 | bn_sqrt.o: ../cryptlib.h bn_lcl.h bn_sqrt.c | ||
| 333 | bn_word.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 334 | bn_word.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 335 | bn_word.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 336 | bn_word.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 337 | bn_word.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 338 | bn_word.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 339 | bn_word.o: ../cryptlib.h bn_lcl.h bn_word.c | ||
diff --git a/src/lib/libcrypto/buffer/Makefile.ssl b/src/lib/libcrypto/buffer/Makefile.ssl new file mode 100644 index 0000000000..1ee63940d0 --- /dev/null +++ b/src/lib/libcrypto/buffer/Makefile.ssl | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/buffer/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= buffer | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= buffer.c buf_err.c | ||
| 27 | LIBOBJ= buffer.o buf_err.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= buffer.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | buf_err.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
| 83 | buf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 84 | buf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 85 | buf_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 86 | buf_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 87 | buf_err.o: ../../include/openssl/symhacks.h buf_err.c | ||
| 88 | buffer.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 89 | buffer.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 90 | buffer.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 91 | buffer.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 92 | buffer.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 93 | buffer.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 94 | buffer.o: ../cryptlib.h buffer.c | ||
diff --git a/src/lib/libcrypto/cast/Makefile.ssl b/src/lib/libcrypto/cast/Makefile.ssl new file mode 100644 index 0000000000..75d97b0fbe --- /dev/null +++ b/src/lib/libcrypto/cast/Makefile.ssl | |||
| @@ -0,0 +1,125 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/cast/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= cast | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | CAST_ENC=c_enc.o | ||
| 21 | # or use | ||
| 22 | #CAST_ENC=asm/cx86-elf.o | ||
| 23 | #CAST_ENC=asm/cx86-out.o | ||
| 24 | #CAST_ENC=asm/cx86-sol.o | ||
| 25 | #CAST_ENC=asm/cx86bdsi.o | ||
| 26 | |||
| 27 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 28 | |||
| 29 | GENERAL=Makefile | ||
| 30 | TEST=casttest.c | ||
| 31 | APPS= | ||
| 32 | |||
| 33 | LIB=$(TOP)/libcrypto.a | ||
| 34 | LIBSRC=c_skey.c c_ecb.c c_enc.c c_cfb64.c c_ofb64.c | ||
| 35 | LIBOBJ=c_skey.o c_ecb.o $(CAST_ENC) c_cfb64.o c_ofb64.o | ||
| 36 | |||
| 37 | SRC= $(LIBSRC) | ||
| 38 | |||
| 39 | EXHEADER= cast.h | ||
| 40 | HEADER= cast_s.h cast_lcl.h $(EXHEADER) | ||
| 41 | |||
| 42 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 43 | |||
| 44 | top: | ||
| 45 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 46 | |||
| 47 | all: lib | ||
| 48 | |||
| 49 | lib: $(LIBOBJ) | ||
| 50 | $(AR) $(LIB) $(LIBOBJ) | ||
| 51 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 52 | @touch lib | ||
| 53 | |||
| 54 | # elf | ||
| 55 | asm/cx86-elf.o: asm/cx86unix.cpp | ||
| 56 | $(CPP) -DELF -x c asm/cx86unix.cpp | as -o asm/cx86-elf.o | ||
| 57 | |||
| 58 | # solaris | ||
| 59 | asm/cx86-sol.o: asm/cx86unix.cpp | ||
| 60 | $(CC) -E -DSOL asm/cx86unix.cpp | sed 's/^#.*//' > asm/cx86-sol.s | ||
| 61 | as -o asm/cx86-sol.o asm/cx86-sol.s | ||
| 62 | rm -f asm/cx86-sol.s | ||
| 63 | |||
| 64 | # a.out | ||
| 65 | asm/cx86-out.o: asm/cx86unix.cpp | ||
| 66 | $(CPP) -DOUT asm/cx86unix.cpp | as -o asm/cx86-out.o | ||
| 67 | |||
| 68 | # bsdi | ||
| 69 | asm/cx86bsdi.o: asm/cx86unix.cpp | ||
| 70 | $(CPP) -DBSDI asm/cx86unix.cpp | sed 's/ :/:/' | as -o asm/cx86bsdi.o | ||
| 71 | |||
| 72 | asm/cx86unix.cpp: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 73 | (cd asm; $(PERL) cast-586.pl cpp $(PROCESSOR) >cx86unix.cpp) | ||
| 74 | |||
| 75 | files: | ||
| 76 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 77 | |||
| 78 | links: | ||
| 79 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 80 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 81 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 82 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 83 | |||
| 84 | install: | ||
| 85 | @for i in $(EXHEADER) ; \ | ||
| 86 | do \ | ||
| 87 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 88 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 89 | done; | ||
| 90 | |||
| 91 | tags: | ||
| 92 | ctags $(SRC) | ||
| 93 | |||
| 94 | tests: | ||
| 95 | |||
| 96 | lint: | ||
| 97 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 98 | |||
| 99 | depend: | ||
| 100 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 101 | |||
| 102 | dclean: | ||
| 103 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 104 | mv -f Makefile.new $(MAKEFILE) | ||
| 105 | |||
| 106 | clean: | ||
| 107 | rm -f asm/cx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 108 | |||
| 109 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 110 | |||
| 111 | c_cfb64.o: ../../e_os.h ../../include/openssl/cast.h | ||
| 112 | c_cfb64.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 113 | c_cfb64.o: c_cfb64.c cast_lcl.h | ||
| 114 | c_ecb.o: ../../e_os.h ../../include/openssl/cast.h | ||
| 115 | c_ecb.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 116 | c_ecb.o: ../../include/openssl/opensslv.h c_ecb.c cast_lcl.h | ||
| 117 | c_enc.o: ../../e_os.h ../../include/openssl/cast.h | ||
| 118 | c_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 119 | c_enc.o: c_enc.c cast_lcl.h | ||
| 120 | c_ofb64.o: ../../e_os.h ../../include/openssl/cast.h | ||
| 121 | c_ofb64.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 122 | c_ofb64.o: c_ofb64.c cast_lcl.h | ||
| 123 | c_skey.o: ../../e_os.h ../../include/openssl/cast.h | ||
| 124 | c_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 125 | c_skey.o: c_skey.c cast_lcl.h cast_s.h | ||
diff --git a/src/lib/libcrypto/comp/Makefile.ssl b/src/lib/libcrypto/comp/Makefile.ssl new file mode 100644 index 0000000000..11d728eca9 --- /dev/null +++ b/src/lib/libcrypto/comp/Makefile.ssl | |||
| @@ -0,0 +1,114 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/comp/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= comp | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= comp_lib.c comp_err.c \ | ||
| 27 | c_rle.c c_zlib.c | ||
| 28 | |||
| 29 | LIBOBJ= comp_lib.o comp_err.o \ | ||
| 30 | c_rle.o c_zlib.o | ||
| 31 | |||
| 32 | SRC= $(LIBSRC) | ||
| 33 | |||
| 34 | EXHEADER= comp.h | ||
| 35 | HEADER= $(EXHEADER) | ||
| 36 | |||
| 37 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | files: | ||
| 50 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 51 | |||
| 52 | links: | ||
| 53 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 56 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 57 | |||
| 58 | install: | ||
| 59 | @for i in $(EXHEADER) ; \ | ||
| 60 | do \ | ||
| 61 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 62 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 63 | done; | ||
| 64 | |||
| 65 | tags: | ||
| 66 | ctags $(SRC) | ||
| 67 | |||
| 68 | tests: | ||
| 69 | |||
| 70 | lint: | ||
| 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 72 | |||
| 73 | depend: | ||
| 74 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | ||
| 75 | |||
| 76 | dclean: | ||
| 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 78 | mv -f Makefile.new $(MAKEFILE) | ||
| 79 | |||
| 80 | clean: | ||
| 81 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 82 | |||
| 83 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 84 | |||
| 85 | c_rle.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 86 | c_rle.o: ../../include/openssl/bn.h ../../include/openssl/comp.h | ||
| 87 | c_rle.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 88 | c_rle.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 89 | c_rle.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 90 | c_rle.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 91 | c_rle.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h c_rle.c | ||
| 92 | c_zlib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 93 | c_zlib.o: ../../include/openssl/bn.h ../../include/openssl/comp.h | ||
| 94 | c_zlib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 95 | c_zlib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 96 | c_zlib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 97 | c_zlib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 98 | c_zlib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 99 | c_zlib.o: c_zlib.c | ||
| 100 | comp_err.o: ../../include/openssl/bio.h ../../include/openssl/comp.h | ||
| 101 | comp_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 102 | comp_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 103 | comp_err.o: ../../include/openssl/opensslconf.h | ||
| 104 | comp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 105 | comp_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 106 | comp_err.o: comp_err.c | ||
| 107 | comp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 108 | comp_lib.o: ../../include/openssl/bn.h ../../include/openssl/comp.h | ||
| 109 | comp_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 110 | comp_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 111 | comp_lib.o: ../../include/openssl/opensslconf.h | ||
| 112 | comp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 113 | comp_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 114 | comp_lib.o: ../../include/openssl/symhacks.h comp_lib.c | ||
diff --git a/src/lib/libcrypto/conf/Makefile.ssl b/src/lib/libcrypto/conf/Makefile.ssl new file mode 100644 index 0000000000..4a85c07b55 --- /dev/null +++ b/src/lib/libcrypto/conf/Makefile.ssl | |||
| @@ -0,0 +1,161 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/conf/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= conf | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= conf_err.c conf_lib.c conf_api.c conf_def.c conf_mod.c \ | ||
| 27 | conf_mall.c conf_sap.c | ||
| 28 | |||
| 29 | LIBOBJ= conf_err.o conf_lib.o conf_api.o conf_def.o conf_mod.o \ | ||
| 30 | conf_mall.o conf_sap.o | ||
| 31 | |||
| 32 | SRC= $(LIBSRC) | ||
| 33 | |||
| 34 | EXHEADER= conf.h conf_api.h | ||
| 35 | HEADER= conf_def.h $(EXHEADER) | ||
| 36 | |||
| 37 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | files: | ||
| 50 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 51 | |||
| 52 | links: | ||
| 53 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 56 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 57 | |||
| 58 | install: | ||
| 59 | @for i in $(EXHEADER) ; \ | ||
| 60 | do \ | ||
| 61 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 62 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 63 | done; | ||
| 64 | |||
| 65 | tags: | ||
| 66 | ctags $(SRC) | ||
| 67 | |||
| 68 | tests: | ||
| 69 | |||
| 70 | lint: | ||
| 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 72 | |||
| 73 | depend: | ||
| 74 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | ||
| 75 | |||
| 76 | dclean: | ||
| 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 78 | mv -f Makefile.new $(MAKEFILE) | ||
| 79 | |||
| 80 | clean: | ||
| 81 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 82 | |||
| 83 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 84 | |||
| 85 | conf_api.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 86 | conf_api.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h | ||
| 87 | conf_api.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 88 | conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 89 | conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 90 | conf_api.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 91 | conf_api.o: conf_api.c | ||
| 92 | conf_def.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
| 93 | conf_def.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h | ||
| 94 | conf_def.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 95 | conf_def.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 96 | conf_def.o: ../../include/openssl/opensslconf.h | ||
| 97 | conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 98 | conf_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 99 | conf_def.o: conf_def.c conf_def.h | ||
| 100 | conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h | ||
| 101 | conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 102 | conf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 103 | conf_err.o: ../../include/openssl/opensslconf.h | ||
| 104 | conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 105 | conf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 106 | conf_err.o: conf_err.c | ||
| 107 | conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h | ||
| 108 | conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h | ||
| 109 | conf_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 110 | conf_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 111 | conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 112 | conf_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 113 | conf_lib.o: conf_lib.c | ||
| 114 | conf_mall.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 115 | conf_mall.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 116 | conf_mall.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 117 | conf_mall.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 118 | conf_mall.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h | ||
| 119 | conf_mall.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 120 | conf_mall.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 121 | conf_mall.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 122 | conf_mall.o: ../../include/openssl/objects.h | ||
| 123 | conf_mall.o: ../../include/openssl/opensslconf.h | ||
| 124 | conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 125 | conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 126 | conf_mall.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 127 | conf_mall.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 128 | conf_mall.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 129 | conf_mall.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 130 | conf_mall.o: ../cryptlib.h conf_mall.c | ||
| 131 | conf_mod.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 132 | conf_mod.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 133 | conf_mod.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 134 | conf_mod.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 135 | conf_mod.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h | ||
| 136 | conf_mod.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 137 | conf_mod.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 138 | conf_mod.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 139 | conf_mod.o: ../../include/openssl/opensslconf.h | ||
| 140 | conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 141 | conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 142 | conf_mod.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 143 | conf_mod.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 144 | conf_mod.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 145 | conf_mod.o: ../cryptlib.h conf_mod.c | ||
| 146 | conf_sap.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 147 | conf_sap.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 148 | conf_sap.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 149 | conf_sap.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 150 | conf_sap.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h | ||
| 151 | conf_sap.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 152 | conf_sap.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 153 | conf_sap.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 154 | conf_sap.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 155 | conf_sap.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 156 | conf_sap.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 157 | conf_sap.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 158 | conf_sap.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 159 | conf_sap.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 160 | conf_sap.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 161 | conf_sap.o: ../cryptlib.h conf_sap.c | ||
diff --git a/src/lib/libcrypto/des/FILES b/src/lib/libcrypto/des/FILES new file mode 100644 index 0000000000..4c7ea2de7a --- /dev/null +++ b/src/lib/libcrypto/des/FILES | |||
| @@ -0,0 +1,96 @@ | |||
| 1 | /* General stuff */ | ||
| 2 | COPYRIGHT - Copyright info. | ||
| 3 | MODES.DES - A description of the features of the different modes of DES. | ||
| 4 | FILES - This file. | ||
| 5 | INSTALL - How to make things compile. | ||
| 6 | Imakefile - For use with kerberos. | ||
| 7 | README - What this package is. | ||
| 8 | VERSION - Which version this is and what was changed. | ||
| 9 | KERBEROS - Kerberos version 4 notes. | ||
| 10 | Makefile.PL - An old makefile to build with perl5, not current. | ||
| 11 | Makefile.ssl - The SSLeay makefile | ||
| 12 | Makefile.uni - The normal unix makefile. | ||
| 13 | GNUmakefile - The makefile for use with glibc. | ||
| 14 | makefile.bc - A Borland C makefile | ||
| 15 | times - Some outputs from 'speed' on some machines. | ||
| 16 | vms.com - For use when compiling under VMS | ||
| 17 | |||
| 18 | /* My SunOS des(1) replacement */ | ||
| 19 | des.c - des(1) source code. | ||
| 20 | des.man - des(1) manual. | ||
| 21 | |||
| 22 | /* Testing and timing programs. */ | ||
| 23 | destest.c - Source for libdes.a test program. | ||
| 24 | speed.c - Source for libdes.a timing program. | ||
| 25 | rpw.c - Source for libdes.a testing password reading routines. | ||
| 26 | |||
| 27 | /* libdes.a source code */ | ||
| 28 | des_crypt.man - libdes.a manual page. | ||
| 29 | des.h - Public libdes.a header file. | ||
| 30 | ecb_enc.c - des_ecb_encrypt() source, this contains the basic DES code. | ||
| 31 | ecb3_enc.c - des_ecb3_encrypt() source. | ||
| 32 | cbc_ckm.c - des_cbc_cksum() source. | ||
| 33 | cbc_enc.c - des_cbc_encrypt() source. | ||
| 34 | ncbc_enc.c - des_cbc_encrypt() that is 'normal' in that it copies | ||
| 35 | the new iv values back in the passed iv vector. | ||
| 36 | ede_enc.c - des_ede3_cbc_encrypt() cbc mode des using triple DES. | ||
| 37 | cbc3_enc.c - des_3cbc_encrypt() source, don't use this function. | ||
| 38 | cfb_enc.c - des_cfb_encrypt() source. | ||
| 39 | cfb64enc.c - des_cfb64_encrypt() cfb in 64 bit mode but setup to be | ||
| 40 | used as a stream cipher. | ||
| 41 | cfb64ede.c - des_ede3_cfb64_encrypt() cfb in 64 bit mode but setup to be | ||
| 42 | used as a stream cipher and using triple DES. | ||
| 43 | ofb_enc.c - des_cfb_encrypt() source. | ||
| 44 | ofb64_enc.c - des_ofb_encrypt() ofb in 64 bit mode but setup to be | ||
| 45 | used as a stream cipher. | ||
| 46 | ofb64ede.c - des_ede3_ofb64_encrypt() ofb in 64 bit mode but setup to be | ||
| 47 | used as a stream cipher and using triple DES. | ||
| 48 | enc_read.c - des_enc_read() source. | ||
| 49 | enc_writ.c - des_enc_write() source. | ||
| 50 | pcbc_enc.c - des_pcbc_encrypt() source. | ||
| 51 | qud_cksm.c - quad_cksum() source. | ||
| 52 | rand_key.c - des_random_key() source. | ||
| 53 | read_pwd.c - Source for des_read_password() plus related functions. | ||
| 54 | set_key.c - Source for des_set_key(). | ||
| 55 | str2key.c - Covert a string of any length into a key. | ||
| 56 | fcrypt.c - A small, fast version of crypt(3). | ||
| 57 | des_locl.h - Internal libdes.a header file. | ||
| 58 | podd.h - Odd parity tables - used in des_set_key(). | ||
| 59 | sk.h - Lookup tables used in des_set_key(). | ||
| 60 | spr.h - What is left of the S tables - used in ecb_encrypt(). | ||
| 61 | des_ver.h - header file for the external definition of the | ||
| 62 | version string. | ||
| 63 | des.doc - SSLeay documentation for the library. | ||
| 64 | |||
| 65 | /* The perl scripts - you can ignore these files they are only | ||
| 66 | * included for the curious */ | ||
| 67 | des.pl - des in perl anyone? des_set_key and des_ecb_encrypt | ||
| 68 | both done in a perl library. | ||
| 69 | testdes.pl - Testing program for des.pl | ||
| 70 | doIP - Perl script used to develop IP xor/shift code. | ||
| 71 | doPC1 - Perl script used to develop PC1 xor/shift code. | ||
| 72 | doPC2 - Generates sk.h. | ||
| 73 | PC1 - Output of doPC1 should be the same as output from PC1. | ||
| 74 | PC2 - used in development of doPC2. | ||
| 75 | shifts.pl - Perl library used by my perl scripts. | ||
| 76 | |||
| 77 | /* I started making a perl5 dynamic library for libdes | ||
| 78 | * but did not fully finish, these files are part of that effort. */ | ||
| 79 | DES.pm | ||
| 80 | DES.pod | ||
| 81 | DES.xs | ||
| 82 | t | ||
| 83 | typemap | ||
| 84 | |||
| 85 | /* The following are for use with sun RPC implementaions. */ | ||
| 86 | rpc_des.h | ||
| 87 | rpc_enc.c | ||
| 88 | |||
| 89 | /* The following are contibuted by Mark Murray <mark@grondar.za>. They | ||
| 90 | * are not normally built into libdes due to machine specific routines | ||
| 91 | * contained in them. They are for use in the most recent incarnation of | ||
| 92 | * export kerberos v 4 (eBones). */ | ||
| 93 | supp.c | ||
| 94 | new_rkey.c | ||
| 95 | |||
| 96 | |||
diff --git a/src/lib/libcrypto/des/Makefile.ssl b/src/lib/libcrypto/des/Makefile.ssl new file mode 100644 index 0000000000..c1080b000f --- /dev/null +++ b/src/lib/libcrypto/des/Makefile.ssl | |||
| @@ -0,0 +1,325 @@ | |||
| 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 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | RANLIB= ranlib | ||
| 20 | DES_ENC= des_enc.o fcrypt_b.o | ||
| 21 | # or use | ||
| 22 | #DES_ENC= dx86-elf.o yx86-elf.o | ||
| 23 | |||
| 24 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 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.o: asm/dx86unix.cpp | ||
| 70 | $(CPP) -DELF -x c asm/dx86unix.cpp | as -o asm/dx86-elf.o | ||
| 71 | |||
| 72 | asm/yx86-elf.o: asm/yx86unix.cpp | ||
| 73 | $(CPP) -DELF -x c asm/yx86unix.cpp | as -o asm/yx86-elf.o | ||
| 74 | |||
| 75 | # solaris | ||
| 76 | asm/dx86-sol.o: asm/dx86unix.cpp | ||
| 77 | $(CC) -E -DSOL asm/dx86unix.cpp | sed 's/^#.*//' > asm/dx86-sol.s | ||
| 78 | as -o asm/dx86-sol.o asm/dx86-sol.s | ||
| 79 | rm -f asm/dx86-sol.s | ||
| 80 | |||
| 81 | asm/yx86-sol.o: asm/yx86unix.cpp | ||
| 82 | $(CC) -E -DSOL asm/yx86unix.cpp | sed 's/^#.*//' > asm/yx86-sol.s | ||
| 83 | as -o asm/yx86-sol.o asm/yx86-sol.s | ||
| 84 | rm -f asm/yx86-sol.s | ||
| 85 | |||
| 86 | # a.out | ||
| 87 | asm/dx86-out.o: asm/dx86unix.cpp | ||
| 88 | $(CPP) -DOUT asm/dx86unix.cpp | as -o asm/dx86-out.o | ||
| 89 | |||
| 90 | asm/yx86-out.o: asm/yx86unix.cpp | ||
| 91 | $(CPP) -DOUT asm/yx86unix.cpp | as -o asm/yx86-out.o | ||
| 92 | |||
| 93 | # bsdi | ||
| 94 | asm/dx86bsdi.o: asm/dx86unix.cpp | ||
| 95 | $(CPP) -DBSDI asm/dx86unix.cpp | sed 's/ :/:/' | as -o asm/dx86bsdi.o | ||
| 96 | |||
| 97 | asm/yx86bsdi.o: asm/yx86unix.cpp | ||
| 98 | $(CPP) -DBSDI asm/yx86unix.cpp | sed 's/ :/:/' | as -o asm/yx86bsdi.o | ||
| 99 | |||
| 100 | asm/dx86unix.cpp: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 101 | (cd asm; $(PERL) des-586.pl cpp >dx86unix.cpp) | ||
| 102 | |||
| 103 | asm/yx86unix.cpp: asm/crypt586.pl ../perlasm/x86asm.pl | ||
| 104 | (cd asm; $(PERL) crypt586.pl cpp >yx86unix.cpp) | ||
| 105 | |||
| 106 | files: | ||
| 107 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 108 | |||
| 109 | links: | ||
| 110 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 111 | @$(TOP)/util/point.sh ../../perlasm asm/perlasm | ||
| 112 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 113 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 114 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 115 | |||
| 116 | install: installs | ||
| 117 | |||
| 118 | installs: | ||
| 119 | @for i in $(EXHEADER) ; \ | ||
| 120 | do \ | ||
| 121 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 122 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 123 | done; | ||
| 124 | |||
| 125 | tags: | ||
| 126 | ctags $(SRC) | ||
| 127 | |||
| 128 | tests: | ||
| 129 | |||
| 130 | lint: | ||
| 131 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 132 | |||
| 133 | depend: | ||
| 134 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 135 | |||
| 136 | dclean: | ||
| 137 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 138 | mv -f Makefile.new $(MAKEFILE) | ||
| 139 | |||
| 140 | clean: | ||
| 141 | rm -f asm/dx86unix.cpp asm/yx86unix.cpp *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff | ||
| 142 | |||
| 143 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 144 | |||
| 145 | cbc_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 146 | cbc_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 147 | cbc_cksm.o: ../../include/openssl/opensslconf.h | ||
| 148 | cbc_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 149 | cbc_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 150 | cbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 151 | cbc_cksm.o: cbc_cksm.c des_locl.h | ||
| 152 | cbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 153 | cbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 154 | cbc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 155 | cbc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 156 | cbc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 157 | cbc_enc.o: ../../include/openssl/ui_compat.h cbc_enc.c des_locl.h ncbc_enc.c | ||
| 158 | cfb64ede.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 159 | cfb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 160 | cfb64ede.o: ../../include/openssl/opensslconf.h | ||
| 161 | cfb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 162 | cfb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 163 | cfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 164 | cfb64ede.o: cfb64ede.c des_locl.h | ||
| 165 | cfb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 166 | cfb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 167 | cfb64enc.o: ../../include/openssl/opensslconf.h | ||
| 168 | cfb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 169 | cfb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 170 | cfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 171 | cfb64enc.o: cfb64enc.c des_locl.h | ||
| 172 | cfb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 173 | cfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 174 | cfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 175 | cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 176 | cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 177 | cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h | ||
| 178 | des_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 179 | des_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 180 | des_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 181 | des_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 182 | des_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 183 | des_enc.o: ../../include/openssl/ui_compat.h des_enc.c des_locl.h ncbc_enc.c | ||
| 184 | des_old.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 185 | des_old.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 186 | des_old.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 187 | des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 188 | des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 189 | des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 190 | des_old.o: ../../include/openssl/ui_compat.h des_old.c | ||
| 191 | des_old2.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 192 | des_old2.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 193 | des_old2.o: ../../include/openssl/opensslconf.h | ||
| 194 | des_old2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 195 | des_old2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 196 | des_old2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 197 | des_old2.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 198 | des_old2.o: des_old2.c | ||
| 199 | ecb3_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 200 | ecb3_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 201 | ecb3_enc.o: ../../include/openssl/opensslconf.h | ||
| 202 | ecb3_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 203 | ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 204 | ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 205 | ecb3_enc.o: des_locl.h ecb3_enc.c | ||
| 206 | ecb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 207 | ecb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 208 | ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 209 | ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 210 | ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 211 | ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ecb_enc.c spr.h | ||
| 212 | ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 213 | ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 214 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h | ||
| 215 | ede_cbcm_enc.o: ../../include/openssl/opensslv.h | ||
| 216 | ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 217 | ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 218 | ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c | ||
| 219 | enc_read.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 220 | enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 221 | enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 222 | enc_read.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 223 | enc_read.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 224 | enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 225 | enc_read.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 226 | enc_read.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 227 | enc_read.o: ../cryptlib.h des_locl.h enc_read.c | ||
| 228 | enc_writ.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 229 | enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 230 | enc_writ.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 231 | enc_writ.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 232 | enc_writ.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 233 | enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 234 | enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 235 | enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 236 | enc_writ.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 237 | enc_writ.o: ../cryptlib.h des_locl.h enc_writ.c | ||
| 238 | fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 239 | fcrypt.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 240 | fcrypt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 241 | fcrypt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 242 | fcrypt.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 243 | fcrypt.o: ../../include/openssl/ui_compat.h des_locl.h fcrypt.c | ||
| 244 | fcrypt_b.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 245 | fcrypt_b.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 246 | fcrypt_b.o: ../../include/openssl/opensslconf.h | ||
| 247 | fcrypt_b.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 248 | fcrypt_b.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 249 | fcrypt_b.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 250 | fcrypt_b.o: des_locl.h fcrypt_b.c | ||
| 251 | ofb64ede.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 252 | ofb64ede.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 253 | ofb64ede.o: ../../include/openssl/opensslconf.h | ||
| 254 | ofb64ede.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 255 | ofb64ede.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 256 | ofb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 257 | ofb64ede.o: des_locl.h ofb64ede.c | ||
| 258 | ofb64enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 259 | ofb64enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 260 | ofb64enc.o: ../../include/openssl/opensslconf.h | ||
| 261 | ofb64enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 262 | ofb64enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 263 | ofb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 264 | ofb64enc.o: des_locl.h ofb64enc.c | ||
| 265 | ofb_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 266 | ofb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 267 | ofb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 268 | ofb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 269 | ofb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 270 | ofb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ofb_enc.c | ||
| 271 | pcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 272 | pcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 273 | pcbc_enc.o: ../../include/openssl/opensslconf.h | ||
| 274 | pcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 275 | pcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 276 | pcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 277 | pcbc_enc.o: des_locl.h pcbc_enc.c | ||
| 278 | qud_cksm.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 279 | qud_cksm.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 280 | qud_cksm.o: ../../include/openssl/opensslconf.h | ||
| 281 | qud_cksm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 282 | qud_cksm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 283 | qud_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 284 | qud_cksm.o: des_locl.h qud_cksm.c | ||
| 285 | rand_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 286 | rand_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 287 | rand_key.o: ../../include/openssl/opensslconf.h | ||
| 288 | rand_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 289 | rand_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 290 | rand_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 291 | rand_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 292 | rand_key.o: rand_key.c | ||
| 293 | read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 294 | read2pwd.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 295 | read2pwd.o: ../../include/openssl/opensslconf.h | ||
| 296 | read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 297 | read2pwd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 298 | read2pwd.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 299 | read2pwd.o: read2pwd.c | ||
| 300 | rpc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 301 | rpc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 302 | rpc_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 303 | rpc_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 304 | rpc_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 305 | rpc_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h rpc_des.h | ||
| 306 | rpc_enc.o: rpc_enc.c | ||
| 307 | set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 308 | set_key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 309 | set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 310 | set_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 311 | set_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 312 | set_key.o: ../../include/openssl/ui_compat.h des_locl.h set_key.c | ||
| 313 | str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 314 | str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 315 | str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 316 | str2key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 317 | str2key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 318 | str2key.o: ../../include/openssl/ui_compat.h des_locl.h str2key.c | ||
| 319 | xcbc_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 320 | xcbc_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 321 | xcbc_enc.o: ../../include/openssl/opensslconf.h | ||
| 322 | xcbc_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 323 | xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 324 | xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 325 | xcbc_enc.o: des_locl.h xcbc_enc.c | ||
diff --git a/src/lib/libcrypto/dh/Makefile.ssl b/src/lib/libcrypto/dh/Makefile.ssl new file mode 100644 index 0000000000..9dddf8dd61 --- /dev/null +++ b/src/lib/libcrypto/dh/Makefile.ssl | |||
| @@ -0,0 +1,136 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/dh/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= dh | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= dhtest.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= dh_asn1.c dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c | ||
| 27 | LIBOBJ= dh_asn1.o dh_gen.o dh_key.o dh_lib.o dh_check.o dh_err.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= dh.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | dh_asn1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 83 | dh_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 84 | dh_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 85 | dh_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 86 | dh_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 87 | dh_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 88 | dh_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 89 | dh_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 90 | dh_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 91 | dh_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_asn1.c | ||
| 92 | dh_check.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 93 | dh_check.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 94 | dh_check.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h | ||
| 95 | dh_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 96 | dh_check.o: ../../include/openssl/opensslconf.h | ||
| 97 | dh_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 98 | dh_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 99 | dh_check.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_check.c | ||
| 100 | dh_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 101 | dh_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 102 | dh_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 103 | dh_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 104 | dh_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 105 | dh_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 106 | dh_err.o: ../../include/openssl/symhacks.h dh_err.c | ||
| 107 | dh_gen.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 108 | dh_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 109 | dh_gen.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h | ||
| 110 | dh_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 111 | dh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 112 | dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 113 | dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 114 | dh_gen.o: ../cryptlib.h dh_gen.c | ||
| 115 | dh_key.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 116 | dh_key.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 117 | dh_key.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 118 | dh_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 119 | dh_key.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 120 | dh_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 121 | dh_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 122 | dh_key.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 123 | dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 124 | dh_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 125 | dh_key.o: ../cryptlib.h dh_key.c | ||
| 126 | dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 127 | dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 128 | dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 129 | dh_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 130 | dh_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 131 | dh_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 132 | dh_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 133 | dh_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 134 | dh_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 135 | dh_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 136 | dh_lib.o: ../cryptlib.h dh_lib.c | ||
diff --git a/src/lib/libcrypto/dsa/Makefile.ssl b/src/lib/libcrypto/dsa/Makefile.ssl new file mode 100644 index 0000000000..e780ee429b --- /dev/null +++ b/src/lib/libcrypto/dsa/Makefile.ssl | |||
| @@ -0,0 +1,169 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/dsa/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= dsa | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST=dsatest.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c \ | ||
| 27 | dsa_err.c dsa_ossl.c | ||
| 28 | LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o \ | ||
| 29 | dsa_err.o dsa_ossl.o | ||
| 30 | |||
| 31 | SRC= $(LIBSRC) | ||
| 32 | |||
| 33 | EXHEADER= dsa.h | ||
| 34 | HEADER= $(EXHEADER) | ||
| 35 | |||
| 36 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 37 | |||
| 38 | top: | ||
| 39 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 40 | |||
| 41 | all: lib | ||
| 42 | |||
| 43 | lib: $(LIBOBJ) | ||
| 44 | $(AR) $(LIB) $(LIBOBJ) | ||
| 45 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 46 | @touch lib | ||
| 47 | |||
| 48 | files: | ||
| 49 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 50 | |||
| 51 | links: | ||
| 52 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 56 | |||
| 57 | install: | ||
| 58 | @for i in $(EXHEADER) ; \ | ||
| 59 | do \ | ||
| 60 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 61 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 62 | done; | ||
| 63 | |||
| 64 | tags: | ||
| 65 | ctags $(SRC) | ||
| 66 | |||
| 67 | tests: | ||
| 68 | |||
| 69 | lint: | ||
| 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 71 | |||
| 72 | depend: | ||
| 73 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 74 | |||
| 75 | dclean: | ||
| 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 77 | mv -f Makefile.new $(MAKEFILE) | ||
| 78 | |||
| 79 | clean: | ||
| 80 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 81 | |||
| 82 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 83 | |||
| 84 | dsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 85 | dsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 86 | dsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 87 | dsa_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 88 | dsa_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 89 | dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 90 | dsa_asn1.o: ../../include/openssl/opensslconf.h | ||
| 91 | dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 92 | dsa_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 93 | dsa_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_asn1.c | ||
| 94 | dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 95 | dsa_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 96 | dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 97 | dsa_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 98 | dsa_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 99 | dsa_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 100 | dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 101 | dsa_err.o: dsa_err.c | ||
| 102 | dsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 103 | dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 104 | dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 105 | dsa_gen.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 106 | dsa_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 107 | dsa_gen.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 108 | dsa_gen.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 109 | dsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 110 | dsa_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 111 | dsa_gen.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 112 | dsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 113 | dsa_gen.o: ../cryptlib.h dsa_gen.c | ||
| 114 | dsa_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 115 | dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 116 | dsa_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 117 | dsa_key.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 118 | dsa_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 119 | dsa_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 120 | dsa_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 121 | dsa_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 122 | dsa_key.o: ../cryptlib.h dsa_key.c | ||
| 123 | dsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 124 | dsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 125 | dsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 126 | dsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 127 | dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 128 | dsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 129 | dsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 130 | dsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 131 | dsa_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 132 | dsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 133 | dsa_lib.o: ../../include/openssl/ui.h ../cryptlib.h dsa_lib.c | ||
| 134 | dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 135 | dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 136 | dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 137 | dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 138 | dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 139 | dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 140 | dsa_ossl.o: ../../include/openssl/opensslconf.h | ||
| 141 | dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 142 | dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 143 | dsa_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 144 | dsa_ossl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 145 | dsa_ossl.o: ../cryptlib.h dsa_ossl.c | ||
| 146 | dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 147 | dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 148 | dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 149 | dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 150 | dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 151 | dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 152 | dsa_sign.o: ../../include/openssl/opensslconf.h | ||
| 153 | dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 154 | dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 155 | dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 156 | dsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 157 | dsa_sign.o: ../cryptlib.h dsa_sign.c | ||
| 158 | dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 159 | dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | ||
| 160 | dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 161 | dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 162 | dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 163 | dsa_vrf.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 164 | dsa_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 165 | dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 166 | dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 167 | dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 168 | dsa_vrf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 169 | dsa_vrf.o: ../cryptlib.h dsa_vrf.c | ||
diff --git a/src/lib/libcrypto/dso/Makefile.ssl b/src/lib/libcrypto/dso/Makefile.ssl new file mode 100644 index 0000000000..c47ca2d78c --- /dev/null +++ b/src/lib/libcrypto/dso/Makefile.ssl | |||
| @@ -0,0 +1,142 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/dso/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= dso | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \ | ||
| 27 | dso_openssl.c dso_win32.c dso_vms.c | ||
| 28 | LIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \ | ||
| 29 | dso_openssl.o dso_win32.o dso_vms.o | ||
| 30 | |||
| 31 | SRC= $(LIBSRC) | ||
| 32 | |||
| 33 | EXHEADER= dso.h | ||
| 34 | HEADER= $(EXHEADER) | ||
| 35 | |||
| 36 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 37 | |||
| 38 | top: | ||
| 39 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 40 | |||
| 41 | all: lib | ||
| 42 | |||
| 43 | lib: $(LIBOBJ) | ||
| 44 | $(AR) $(LIB) $(LIBOBJ) | ||
| 45 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 46 | @touch lib | ||
| 47 | |||
| 48 | files: | ||
| 49 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 50 | |||
| 51 | links: | ||
| 52 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 56 | |||
| 57 | install: | ||
| 58 | @for i in $(EXHEADER) ; \ | ||
| 59 | do \ | ||
| 60 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 61 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 62 | done; | ||
| 63 | |||
| 64 | tags: | ||
| 65 | ctags $(SRC) | ||
| 66 | |||
| 67 | tests: | ||
| 68 | |||
| 69 | lint: | ||
| 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 71 | |||
| 72 | depend: | ||
| 73 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 74 | |||
| 75 | dclean: | ||
| 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 77 | mv -f Makefile.new $(MAKEFILE) | ||
| 78 | |||
| 79 | clean: | ||
| 80 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 81 | |||
| 82 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 83 | |||
| 84 | dso_dl.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 85 | dso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 86 | dso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 87 | dso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 88 | dso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 89 | dso_dl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 90 | dso_dl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dl.c | ||
| 91 | dso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 92 | dso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 93 | dso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 94 | dso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 95 | dso_dlfcn.o: ../../include/openssl/opensslconf.h | ||
| 96 | dso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 97 | dso_dlfcn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 98 | dso_dlfcn.o: ../cryptlib.h dso_dlfcn.c | ||
| 99 | dso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
| 100 | dso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 101 | dso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 102 | dso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 103 | dso_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 104 | dso_err.o: ../../include/openssl/symhacks.h dso_err.c | ||
| 105 | dso_lib.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 106 | dso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 107 | dso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 108 | dso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 109 | dso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 110 | dso_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 111 | dso_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_lib.c | ||
| 112 | dso_null.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 113 | dso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 114 | dso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 115 | dso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 116 | dso_null.o: ../../include/openssl/opensslconf.h | ||
| 117 | dso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 118 | dso_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 119 | dso_null.o: ../cryptlib.h dso_null.c | ||
| 120 | dso_openssl.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 121 | dso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 122 | dso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 123 | dso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 124 | dso_openssl.o: ../../include/openssl/opensslconf.h | ||
| 125 | dso_openssl.o: ../../include/openssl/opensslv.h | ||
| 126 | dso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 127 | dso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c | ||
| 128 | dso_vms.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 129 | dso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 130 | dso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 131 | dso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 132 | dso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 133 | dso_vms.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 134 | dso_vms.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_vms.c | ||
| 135 | dso_win32.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 136 | dso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 137 | dso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 138 | dso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 139 | dso_win32.o: ../../include/openssl/opensslconf.h | ||
| 140 | dso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 141 | dso_win32.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 142 | dso_win32.o: ../cryptlib.h dso_win32.c | ||
diff --git a/src/lib/libcrypto/ec/Makefile.ssl b/src/lib/libcrypto/ec/Makefile.ssl new file mode 100644 index 0000000000..7a21b7195f --- /dev/null +++ b/src/lib/libcrypto/ec/Makefile.ssl | |||
| @@ -0,0 +1,128 @@ | |||
| 1 | # | ||
| 2 | # crypto/ec/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= ec | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST=ectest.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= ec_lib.c ecp_smpl.c ecp_mont.c ecp_recp.c ecp_nist.c ec_cvt.c ec_mult.c \ | ||
| 27 | ec_err.c | ||
| 28 | |||
| 29 | LIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_recp.o ecp_nist.o ec_cvt.o ec_mult.o \ | ||
| 30 | ec_err.o | ||
| 31 | |||
| 32 | SRC= $(LIBSRC) | ||
| 33 | |||
| 34 | EXHEADER= ec.h | ||
| 35 | HEADER= ec_lcl.h $(EXHEADER) | ||
| 36 | |||
| 37 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | files: | ||
| 50 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 51 | |||
| 52 | links: | ||
| 53 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 56 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 57 | |||
| 58 | install: | ||
| 59 | @for i in $(EXHEADER) ; \ | ||
| 60 | do \ | ||
| 61 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 62 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 63 | done; | ||
| 64 | |||
| 65 | tags: | ||
| 66 | ctags $(SRC) | ||
| 67 | |||
| 68 | tests: | ||
| 69 | |||
| 70 | lint: | ||
| 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 72 | |||
| 73 | depend: | ||
| 74 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 75 | |||
| 76 | dclean: | ||
| 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 78 | mv -f Makefile.new $(MAKEFILE) | ||
| 79 | |||
| 80 | clean: | ||
| 81 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 82 | |||
| 83 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 84 | |||
| 85 | ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | ||
| 86 | ec_cvt.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | ||
| 87 | ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h | ||
| 88 | ec_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 89 | ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 90 | ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
| 91 | ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 92 | ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 93 | ec_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 94 | ec_err.o: ec_err.c | ||
| 95 | ec_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 96 | ec_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 97 | ec_lib.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
| 98 | ec_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 99 | ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 100 | ec_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 101 | ec_lib.o: ec_lcl.h ec_lib.c | ||
| 102 | ec_mult.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 103 | ec_mult.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 104 | ec_mult.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
| 105 | ec_mult.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 106 | ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 107 | ec_mult.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 108 | ec_mult.o: ec_lcl.h ec_mult.c | ||
| 109 | ecp_mont.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 110 | ecp_mont.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 111 | ecp_mont.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
| 112 | ecp_mont.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 113 | ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 114 | ecp_mont.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 115 | ecp_mont.o: ec_lcl.h ecp_mont.c | ||
| 116 | ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | ||
| 117 | ecp_nist.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | ||
| 118 | ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c | ||
| 119 | ecp_recp.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | ||
| 120 | ecp_recp.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | ||
| 121 | ecp_recp.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_recp.c | ||
| 122 | ecp_smpl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 123 | ecp_smpl.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 124 | ecp_smpl.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
| 125 | ecp_smpl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 126 | ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 127 | ecp_smpl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 128 | ecp_smpl.o: ec_lcl.h ecp_smpl.c | ||
diff --git a/src/lib/libcrypto/engine/Makefile.ssl b/src/lib/libcrypto/engine/Makefile.ssl new file mode 100644 index 0000000000..eeea47fbf5 --- /dev/null +++ b/src/lib/libcrypto/engine/Makefile.ssl | |||
| @@ -0,0 +1,453 @@ | |||
| 1 | # | ||
| 2 | # OpenSSL/crypto/engine/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= engine | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= enginetest.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \ | ||
| 27 | eng_table.c eng_pkey.c eng_fat.c eng_all.c \ | ||
| 28 | tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \ | ||
| 29 | eng_openssl.c eng_dyn.c eng_cnf.c \ | ||
| 30 | hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c \ | ||
| 31 | hw_openbsd_dev_crypto.c hw_aep.c hw_sureware.c hw_4758_cca.c | ||
| 32 | LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ | ||
| 33 | eng_table.o eng_pkey.o eng_fat.o eng_all.o \ | ||
| 34 | tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o tb_cipher.o tb_digest.o \ | ||
| 35 | eng_openssl.o eng_dyn.o eng_cnf.o \ | ||
| 36 | hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o \ | ||
| 37 | hw_openbsd_dev_crypto.o hw_aep.o hw_sureware.o hw_4758_cca.o | ||
| 38 | |||
| 39 | SRC= $(LIBSRC) | ||
| 40 | |||
| 41 | EXHEADER= engine.h | ||
| 42 | HEADER= $(EXHEADER) | ||
| 43 | |||
| 44 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 45 | |||
| 46 | top: | ||
| 47 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 48 | |||
| 49 | all: lib | ||
| 50 | |||
| 51 | lib: $(LIBOBJ) | ||
| 52 | $(AR) $(LIB) $(LIBOBJ) | ||
| 53 | $(RANLIB) $(LIB) | ||
| 54 | @touch lib | ||
| 55 | |||
| 56 | files: | ||
| 57 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 58 | |||
| 59 | links: | ||
| 60 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 61 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 62 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 63 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 64 | |||
| 65 | install: | ||
| 66 | @for i in $(EXHEADER) ; \ | ||
| 67 | do \ | ||
| 68 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 69 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 70 | done; | ||
| 71 | |||
| 72 | tags: | ||
| 73 | ctags $(SRC) | ||
| 74 | |||
| 75 | errors: | ||
| 76 | $(PERL) $(TOP)/util/mkerr.pl -conf hw.ec \ | ||
| 77 | -nostatic -staticloader -write hw_*.c; \ | ||
| 78 | |||
| 79 | tests: | ||
| 80 | |||
| 81 | lint: | ||
| 82 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 83 | |||
| 84 | depend: | ||
| 85 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 86 | |||
| 87 | dclean: | ||
| 88 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 89 | mv -f Makefile.new $(MAKEFILE) | ||
| 90 | |||
| 91 | clean: | ||
| 92 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 93 | |||
| 94 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 95 | |||
| 96 | eng_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 97 | eng_all.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 98 | eng_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 99 | eng_all.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 100 | eng_all.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 101 | eng_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 102 | eng_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 103 | eng_all.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 104 | eng_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 105 | eng_all.o: ../../include/openssl/ui.h eng_all.c eng_int.h | ||
| 106 | eng_cnf.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 107 | eng_cnf.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 108 | eng_cnf.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 109 | eng_cnf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 110 | eng_cnf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 111 | eng_cnf.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 112 | eng_cnf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 113 | eng_cnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 114 | eng_cnf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 115 | eng_cnf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 116 | eng_cnf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 117 | eng_cnf.o: ../cryptlib.h eng_cnf.c | ||
| 118 | eng_ctrl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 119 | eng_ctrl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 120 | eng_ctrl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 121 | eng_ctrl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 122 | eng_ctrl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 123 | eng_ctrl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 124 | eng_ctrl.o: ../../include/openssl/opensslconf.h | ||
| 125 | eng_ctrl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 126 | eng_ctrl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 127 | eng_ctrl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 128 | eng_ctrl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 129 | eng_ctrl.o: ../cryptlib.h eng_ctrl.c eng_int.h | ||
| 130 | eng_dyn.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 131 | eng_dyn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 132 | eng_dyn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 133 | eng_dyn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 134 | eng_dyn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 135 | eng_dyn.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 136 | eng_dyn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 137 | eng_dyn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 138 | eng_dyn.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 139 | eng_dyn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 140 | eng_dyn.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 141 | eng_dyn.o: ../cryptlib.h eng_dyn.c eng_int.h | ||
| 142 | eng_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 143 | eng_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 144 | eng_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 145 | eng_err.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 146 | eng_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 147 | eng_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 148 | eng_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 149 | eng_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 150 | eng_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 151 | eng_err.o: ../../include/openssl/ui.h eng_err.c | ||
| 152 | eng_fat.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 153 | eng_fat.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 154 | eng_fat.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 155 | eng_fat.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 156 | eng_fat.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 157 | eng_fat.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 158 | eng_fat.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 159 | eng_fat.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 160 | eng_fat.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 161 | eng_fat.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 162 | eng_fat.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 163 | eng_fat.o: ../cryptlib.h eng_fat.c eng_int.h | ||
| 164 | eng_init.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 165 | eng_init.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 166 | eng_init.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 167 | eng_init.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 168 | eng_init.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 169 | eng_init.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 170 | eng_init.o: ../../include/openssl/opensslconf.h | ||
| 171 | eng_init.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 172 | eng_init.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 173 | eng_init.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 174 | eng_init.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 175 | eng_init.o: ../cryptlib.h eng_init.c eng_int.h | ||
| 176 | eng_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 177 | eng_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 178 | eng_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 179 | eng_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 180 | eng_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 181 | eng_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 182 | eng_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 183 | eng_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 184 | eng_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 185 | eng_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 186 | eng_lib.o: ../../include/openssl/ui.h ../cryptlib.h eng_int.h eng_lib.c | ||
| 187 | eng_list.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 188 | eng_list.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 189 | eng_list.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 190 | eng_list.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 191 | eng_list.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 192 | eng_list.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 193 | eng_list.o: ../../include/openssl/opensslconf.h | ||
| 194 | eng_list.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 195 | eng_list.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 196 | eng_list.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 197 | eng_list.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 198 | eng_list.o: ../cryptlib.h eng_int.h eng_list.c | ||
| 199 | eng_openssl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 200 | eng_openssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 201 | eng_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 202 | eng_openssl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 203 | eng_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 204 | eng_openssl.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 205 | eng_openssl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 206 | eng_openssl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 207 | eng_openssl.o: ../../include/openssl/opensslconf.h | ||
| 208 | eng_openssl.o: ../../include/openssl/opensslv.h | ||
| 209 | eng_openssl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h | ||
| 210 | eng_openssl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h | ||
| 211 | eng_openssl.o: ../../include/openssl/rand.h ../../include/openssl/rc4.h | ||
| 212 | eng_openssl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 213 | eng_openssl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 214 | eng_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 215 | eng_openssl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 216 | eng_openssl.o: ../cryptlib.h eng_openssl.c | ||
| 217 | eng_pkey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 218 | eng_pkey.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 219 | eng_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 220 | eng_pkey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 221 | eng_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 222 | eng_pkey.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 223 | eng_pkey.o: ../../include/openssl/opensslconf.h | ||
| 224 | eng_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 225 | eng_pkey.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 226 | eng_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 227 | eng_pkey.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 228 | eng_pkey.o: ../cryptlib.h eng_int.h eng_pkey.c | ||
| 229 | eng_table.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 230 | eng_table.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 231 | eng_table.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 232 | eng_table.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 233 | eng_table.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 234 | eng_table.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 235 | eng_table.o: ../../include/openssl/objects.h | ||
| 236 | eng_table.o: ../../include/openssl/opensslconf.h | ||
| 237 | eng_table.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 238 | eng_table.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 239 | eng_table.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 240 | eng_table.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 241 | eng_table.o: eng_int.h eng_table.c | ||
| 242 | hw_4758_cca.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 243 | hw_4758_cca.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 244 | hw_4758_cca.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 245 | hw_4758_cca.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 246 | hw_4758_cca.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 247 | hw_4758_cca.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 248 | hw_4758_cca.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 249 | hw_4758_cca.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 250 | hw_4758_cca.o: ../../include/openssl/opensslconf.h | ||
| 251 | hw_4758_cca.o: ../../include/openssl/opensslv.h | ||
| 252 | hw_4758_cca.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 253 | hw_4758_cca.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 254 | hw_4758_cca.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 255 | hw_4758_cca.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 256 | hw_4758_cca.o: ../../include/openssl/ui.h ../../include/openssl/x509.h | ||
| 257 | hw_4758_cca.o: ../../include/openssl/x509_vfy.h ../cryptlib.h hw_4758_cca.c | ||
| 258 | hw_4758_cca.o: hw_4758_cca_err.c hw_4758_cca_err.h vendor_defns/hw_4758_cca.h | ||
| 259 | hw_aep.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 260 | hw_aep.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 261 | hw_aep.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 262 | hw_aep.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 263 | hw_aep.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 264 | hw_aep.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 265 | hw_aep.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 266 | hw_aep.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 267 | hw_aep.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 268 | hw_aep.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h hw_aep.c | ||
| 269 | hw_aep.o: hw_aep_err.c hw_aep_err.h vendor_defns/aep.h | ||
| 270 | hw_atalla.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 271 | hw_atalla.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 272 | hw_atalla.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 273 | hw_atalla.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 274 | hw_atalla.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 275 | hw_atalla.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 276 | hw_atalla.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 277 | hw_atalla.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 278 | hw_atalla.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 279 | hw_atalla.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 280 | hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 281 | hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h | ||
| 282 | hw_atalla.o: vendor_defns/atalla.h | ||
| 283 | hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 284 | hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 285 | hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 286 | hw_cswift.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 287 | hw_cswift.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 288 | hw_cswift.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 289 | hw_cswift.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 290 | hw_cswift.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 291 | hw_cswift.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 292 | hw_cswift.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 293 | hw_cswift.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 294 | hw_cswift.o: ../cryptlib.h hw_cswift.c hw_cswift_err.c hw_cswift_err.h | ||
| 295 | hw_cswift.o: vendor_defns/cswift.h | ||
| 296 | hw_ncipher.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 297 | hw_ncipher.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 298 | hw_ncipher.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 299 | hw_ncipher.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 300 | hw_ncipher.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 301 | hw_ncipher.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 302 | hw_ncipher.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 303 | hw_ncipher.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 304 | hw_ncipher.o: ../../include/openssl/opensslconf.h | ||
| 305 | hw_ncipher.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 306 | hw_ncipher.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 307 | hw_ncipher.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 308 | hw_ncipher.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 309 | hw_ncipher.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 310 | hw_ncipher.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 311 | hw_ncipher.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 312 | hw_ncipher.o: ../cryptlib.h hw_ncipher.c hw_ncipher_err.c hw_ncipher_err.h | ||
| 313 | hw_ncipher.o: vendor_defns/hwcryptohook.h | ||
| 314 | hw_nuron.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 315 | hw_nuron.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 316 | hw_nuron.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 317 | hw_nuron.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 318 | hw_nuron.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 319 | hw_nuron.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 320 | hw_nuron.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 321 | hw_nuron.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 322 | hw_nuron.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 323 | hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 324 | hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 325 | hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h | ||
| 326 | hw_openbsd_dev_crypto.o: ../../include/openssl/asn1.h | ||
| 327 | hw_openbsd_dev_crypto.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 328 | hw_openbsd_dev_crypto.o: ../../include/openssl/conf.h | ||
| 329 | hw_openbsd_dev_crypto.o: ../../include/openssl/crypto.h | ||
| 330 | hw_openbsd_dev_crypto.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 331 | hw_openbsd_dev_crypto.o: ../../include/openssl/e_os2.h | ||
| 332 | hw_openbsd_dev_crypto.o: ../../include/openssl/engine.h | ||
| 333 | hw_openbsd_dev_crypto.o: ../../include/openssl/err.h | ||
| 334 | hw_openbsd_dev_crypto.o: ../../include/openssl/evp.h | ||
| 335 | hw_openbsd_dev_crypto.o: ../../include/openssl/lhash.h | ||
| 336 | hw_openbsd_dev_crypto.o: ../../include/openssl/obj_mac.h | ||
| 337 | hw_openbsd_dev_crypto.o: ../../include/openssl/objects.h | ||
| 338 | hw_openbsd_dev_crypto.o: ../../include/openssl/opensslconf.h | ||
| 339 | hw_openbsd_dev_crypto.o: ../../include/openssl/opensslv.h | ||
| 340 | hw_openbsd_dev_crypto.o: ../../include/openssl/ossl_typ.h | ||
| 341 | hw_openbsd_dev_crypto.o: ../../include/openssl/rand.h | ||
| 342 | hw_openbsd_dev_crypto.o: ../../include/openssl/rsa.h | ||
| 343 | hw_openbsd_dev_crypto.o: ../../include/openssl/safestack.h | ||
| 344 | hw_openbsd_dev_crypto.o: ../../include/openssl/stack.h | ||
| 345 | hw_openbsd_dev_crypto.o: ../../include/openssl/symhacks.h | ||
| 346 | hw_openbsd_dev_crypto.o: ../../include/openssl/ui.h ../evp/evp_locl.h eng_int.h | ||
| 347 | hw_openbsd_dev_crypto.o: hw_openbsd_dev_crypto.c | ||
| 348 | hw_sureware.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 349 | hw_sureware.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 350 | hw_sureware.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 351 | hw_sureware.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 352 | hw_sureware.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 353 | hw_sureware.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 354 | hw_sureware.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 355 | hw_sureware.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 356 | hw_sureware.o: ../../include/openssl/opensslconf.h | ||
| 357 | hw_sureware.o: ../../include/openssl/opensslv.h | ||
| 358 | hw_sureware.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h | ||
| 359 | hw_sureware.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h | ||
| 360 | hw_sureware.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 361 | hw_sureware.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 362 | hw_sureware.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 363 | hw_sureware.o: ../../include/openssl/ui.h ../../include/openssl/x509.h | ||
| 364 | hw_sureware.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_int.h | ||
| 365 | hw_sureware.o: engine.h hw_sureware.c hw_sureware_err.c hw_sureware_err.h | ||
| 366 | hw_sureware.o: vendor_defns/sureware.h | ||
| 367 | hw_ubsec.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 368 | hw_ubsec.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 369 | hw_ubsec.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 370 | hw_ubsec.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 371 | hw_ubsec.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 372 | hw_ubsec.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 373 | hw_ubsec.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 374 | hw_ubsec.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 375 | hw_ubsec.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 376 | hw_ubsec.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 377 | hw_ubsec.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 378 | hw_ubsec.o: ../cryptlib.h hw_ubsec.c hw_ubsec_err.c hw_ubsec_err.h | ||
| 379 | hw_ubsec.o: vendor_defns/hw_ubsec.h | ||
| 380 | tb_cipher.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 381 | tb_cipher.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 382 | tb_cipher.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 383 | tb_cipher.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 384 | tb_cipher.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 385 | tb_cipher.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 386 | tb_cipher.o: ../../include/openssl/objects.h | ||
| 387 | tb_cipher.o: ../../include/openssl/opensslconf.h | ||
| 388 | tb_cipher.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 389 | tb_cipher.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 390 | tb_cipher.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 391 | tb_cipher.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 392 | tb_cipher.o: eng_int.h tb_cipher.c | ||
| 393 | tb_dh.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 394 | tb_dh.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 395 | tb_dh.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 396 | tb_dh.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 397 | tb_dh.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 398 | tb_dh.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 399 | tb_dh.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 400 | tb_dh.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 401 | tb_dh.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 402 | tb_dh.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 403 | tb_dh.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h eng_int.h | ||
| 404 | tb_dh.o: tb_dh.c | ||
| 405 | tb_digest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 406 | tb_digest.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 407 | tb_digest.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 408 | tb_digest.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 409 | tb_digest.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 410 | tb_digest.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 411 | tb_digest.o: ../../include/openssl/objects.h | ||
| 412 | tb_digest.o: ../../include/openssl/opensslconf.h | ||
| 413 | tb_digest.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 414 | tb_digest.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 415 | tb_digest.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 416 | tb_digest.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 417 | tb_digest.o: eng_int.h tb_digest.c | ||
| 418 | tb_dsa.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 419 | tb_dsa.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 420 | tb_dsa.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 421 | tb_dsa.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 422 | tb_dsa.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 423 | tb_dsa.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 424 | tb_dsa.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 425 | tb_dsa.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 426 | tb_dsa.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 427 | tb_dsa.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 428 | tb_dsa.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h eng_int.h | ||
| 429 | tb_dsa.o: tb_dsa.c | ||
| 430 | tb_rand.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 431 | tb_rand.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 432 | tb_rand.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 433 | tb_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 434 | tb_rand.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 435 | tb_rand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 436 | tb_rand.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 437 | tb_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 438 | tb_rand.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 439 | tb_rand.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 440 | tb_rand.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 441 | tb_rand.o: eng_int.h tb_rand.c | ||
| 442 | tb_rsa.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 443 | tb_rsa.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 444 | tb_rsa.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 445 | tb_rsa.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 446 | tb_rsa.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 447 | tb_rsa.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 448 | tb_rsa.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 449 | tb_rsa.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 450 | tb_rsa.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 451 | tb_rsa.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 452 | tb_rsa.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h eng_int.h | ||
| 453 | tb_rsa.o: tb_rsa.c | ||
diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c deleted file mode 100644 index 7c3728f395..0000000000 --- a/src/lib/libcrypto/engine/hw_cryptodev.c +++ /dev/null | |||
| @@ -1,926 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2002 Bob Beck <beck@openbsd.org> | ||
| 3 | * Copyright (c) 2002 Theo de Raadt | ||
| 4 | * All rights reserved. | ||
| 5 | * | ||
| 6 | * Redistribution and use in source and binary forms, with or without | ||
| 7 | * modification, are permitted provided that the following conditions | ||
| 8 | * are met: | ||
| 9 | * 1. Redistributions of source code must retain the above copyright | ||
| 10 | * notice, this list of conditions and the following disclaimer. | ||
| 11 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 12 | * notice, this list of conditions and the following disclaimer in the | ||
| 13 | * documentation and/or other materials provided with the distribution. | ||
| 14 | * 3. Neither the name of the author nor the names of contributors | ||
| 15 | * may be used to endorse or promote products derived from this software | ||
| 16 | * without specific prior written permission. | ||
| 17 | * | ||
| 18 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY | ||
| 19 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 21 | * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY | ||
| 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
| 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
| 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
| 27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 28 | * | ||
| 29 | */ | ||
| 30 | |||
| 31 | #include <sys/types.h> | ||
| 32 | #include <sys/param.h> | ||
| 33 | #include <crypto/cryptodev.h> | ||
| 34 | #include <sys/ioctl.h> | ||
| 35 | #include <errno.h> | ||
| 36 | #include <stdio.h> | ||
| 37 | #include <unistd.h> | ||
| 38 | #include <fcntl.h> | ||
| 39 | #include <syslog.h> | ||
| 40 | #include <stdarg.h> | ||
| 41 | #include <ssl/objects.h> | ||
| 42 | #include <ssl/engine.h> | ||
| 43 | #include <ssl/evp.h> | ||
| 44 | |||
| 45 | static int cryptodev_fd = -1; | ||
| 46 | static int cryptodev_sessions = 0; | ||
| 47 | static u_int32_t cryptodev_symfeat = 0; | ||
| 48 | |||
| 49 | static int bn2crparam(const BIGNUM *a, struct crparam *crp); | ||
| 50 | static int crparam2bn(struct crparam *crp, BIGNUM *a); | ||
| 51 | static void zapparams(struct crypt_kop *kop); | ||
| 52 | |||
| 53 | static int cryptodev_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa); | ||
| 54 | static int cryptodev_bn_mod_exp(BIGNUM *r, const BIGNUM *a, | ||
| 55 | const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); | ||
| 56 | static int cryptodev_dsa_bn_mod_exp(DSA *dsa, BIGNUM *r, BIGNUM *a, | ||
| 57 | const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); | ||
| 58 | static DSA_SIG *cryptodev_dsa_do_sign(const unsigned char *dgst, | ||
| 59 | int dlen, DSA *dsa); | ||
| 60 | static int cryptodev_dsa_verify(const unsigned char *dgst, int dgst_len, | ||
| 61 | DSA_SIG *sig, DSA *dsa); | ||
| 62 | static int cryptodev_mod_exp_dh(const DH *dh, BIGNUM *r, const BIGNUM *a, | ||
| 63 | const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, | ||
| 64 | BN_MONT_CTX *m_ctx); | ||
| 65 | static int cryptodev_dh_compute_key(unsigned char *key, | ||
| 66 | const BIGNUM *pub_key, DH *dh); | ||
| 67 | |||
| 68 | static const ENGINE_CMD_DEFN cryptodev_defns[] = { | ||
| 69 | { 0, NULL, NULL, 0 } | ||
| 70 | }; | ||
| 71 | |||
| 72 | static struct { | ||
| 73 | int id; | ||
| 74 | int nid; | ||
| 75 | int ivmax; | ||
| 76 | int keylen; | ||
| 77 | } ciphers[] = { | ||
| 78 | { CRYPTO_DES_CBC, NID_des_cbc, 8, 8, }, | ||
| 79 | { CRYPTO_3DES_CBC, NID_des_ede3_cbc, 8, 24, }, | ||
| 80 | { CRYPTO_AES_CBC, NID_undef, 8, 24, }, | ||
| 81 | { CRYPTO_BLF_CBC, NID_bf_cbc, 8, 16, }, | ||
| 82 | { CRYPTO_CAST_CBC, NID_cast5_cbc, 8, 8, }, | ||
| 83 | { CRYPTO_SKIPJACK_CBC, NID_undef, 0, 0, }, | ||
| 84 | { CRYPTO_ARC4, NID_rc4, 8, 16, }, | ||
| 85 | { 0, NID_undef, 0, 0, }, | ||
| 86 | }; | ||
| 87 | |||
| 88 | static struct { | ||
| 89 | int id; | ||
| 90 | int nid; | ||
| 91 | } digests[] = { | ||
| 92 | { CRYPTO_SHA1_HMAC, NID_hmacWithSHA1, }, | ||
| 93 | { CRYPTO_RIPEMD160_HMAC, NID_ripemd160, }, | ||
| 94 | { CRYPTO_MD5_KPDK, NID_undef, }, | ||
| 95 | { CRYPTO_SHA1_KPDK, NID_undef, }, | ||
| 96 | { CRYPTO_MD5, NID_md5, }, | ||
| 97 | { CRYPTO_SHA1, NID_undef, }, | ||
| 98 | { 0, NID_undef, }, | ||
| 99 | }; | ||
| 100 | |||
| 101 | /* | ||
| 102 | * Return 1 if /dev/crypto seems usable, 0 otherwise , also | ||
| 103 | * does most of the work of initting the device, if not already | ||
| 104 | * done.. This should leave is with global fd initialized with CRIOGET. | ||
| 105 | */ | ||
| 106 | static int | ||
| 107 | check_dev_crypto() | ||
| 108 | { | ||
| 109 | int fd; | ||
| 110 | |||
| 111 | if (cryptodev_fd == -1) { | ||
| 112 | if ((fd = open("/dev/crypto", O_RDWR, 0)) == -1) | ||
| 113 | return (0); | ||
| 114 | if (ioctl(fd, CRIOGET, &cryptodev_fd) == -1) { | ||
| 115 | close(fd); | ||
| 116 | return (0); | ||
| 117 | } | ||
| 118 | close(fd); | ||
| 119 | /* close on exec */ | ||
| 120 | if (fcntl(cryptodev_fd, F_SETFD, 1) == -1) { | ||
| 121 | close(cryptodev_fd); | ||
| 122 | cryptodev_fd = -1; | ||
| 123 | return (0); | ||
| 124 | } | ||
| 125 | } | ||
| 126 | ioctl(cryptodev_fd, CIOCSYMFEAT, &cryptodev_symfeat); | ||
| 127 | |||
| 128 | return (1); | ||
| 129 | } | ||
| 130 | |||
| 131 | /* | ||
| 132 | * XXXX this needs to be set for each alg - and determined from | ||
| 133 | * a running card. | ||
| 134 | */ | ||
| 135 | static int | ||
| 136 | cryptodev_max_iv(int cipher) | ||
| 137 | { | ||
| 138 | int i; | ||
| 139 | |||
| 140 | for (i = 0; ciphers[i].id; i++) | ||
| 141 | if (ciphers[i].id == cipher) | ||
| 142 | return (ciphers[i].ivmax); | ||
| 143 | return (0); | ||
| 144 | } | ||
| 145 | |||
| 146 | /* | ||
| 147 | * XXXX this needs to be set for each alg - and determined from | ||
| 148 | * a running card. For now, fake it out - but most of these | ||
| 149 | * for real devices should return 1 for the supported key | ||
| 150 | * sizes the device can handle. | ||
| 151 | */ | ||
| 152 | static int | ||
| 153 | cryptodev_key_length_valid(int cipher, int len) | ||
| 154 | { | ||
| 155 | int i; | ||
| 156 | |||
| 157 | for (i = 0; ciphers[i].id; i++) | ||
| 158 | if (ciphers[i].id == cipher) | ||
| 159 | return (ciphers[i].keylen == len); | ||
| 160 | return (0); | ||
| 161 | } | ||
| 162 | |||
| 163 | /* convert libcrypto nids to cryptodev */ | ||
| 164 | static int | ||
| 165 | cipher_nid_to_cryptodev(int nid) | ||
| 166 | { | ||
| 167 | int i; | ||
| 168 | |||
| 169 | for (i = 0; ciphers[i].id; i++) | ||
| 170 | if (ciphers[i].nid == nid) | ||
| 171 | return (ciphers[i].id); | ||
| 172 | return (0); | ||
| 173 | } | ||
| 174 | |||
| 175 | /* | ||
| 176 | * Find out what ciphers /dev/crypto will let us have a session for. | ||
| 177 | * XXX note, that some of these openssl doesn't deal with yet! | ||
| 178 | * returning them here is harmless, as long as we return NULL | ||
| 179 | * when asked for a handler in the cryptodev_engine_ciphers routine | ||
| 180 | */ | ||
| 181 | static int | ||
| 182 | get_cryptodev_ciphers(const int **cnids) | ||
| 183 | { | ||
| 184 | static int nids[CRYPTO_ALGORITHM_MAX]; | ||
| 185 | struct session_op sess; | ||
| 186 | int i, count = 0; | ||
| 187 | |||
| 188 | memset(&sess, 0, sizeof(sess)); | ||
| 189 | sess.key = (caddr_t)"123456781234567812345678"; | ||
| 190 | |||
| 191 | for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) { | ||
| 192 | if (ciphers[i].nid == NID_undef) | ||
| 193 | continue; | ||
| 194 | sess.cipher = ciphers[i].id; | ||
| 195 | sess.keylen = ciphers[i].keylen; | ||
| 196 | sess.mac = 0; | ||
| 197 | if (ioctl(cryptodev_fd, CIOCGSESSION, &sess) != -1 && | ||
| 198 | ioctl(cryptodev_fd, CIOCFSESSION, &sess.ses) != -1) | ||
| 199 | nids[count++] = ciphers[i].nid; | ||
| 200 | } | ||
| 201 | if (count > 0) | ||
| 202 | *cnids = nids; | ||
| 203 | else | ||
| 204 | *cnids = NULL; | ||
| 205 | return (count); | ||
| 206 | } | ||
| 207 | |||
| 208 | /* | ||
| 209 | * Find out what digests /dev/crypto will let us have a session for. | ||
| 210 | * XXX note, that some of these openssl doesn't deal with yet! | ||
| 211 | * returning them here is harmless, as long as we return NULL | ||
| 212 | * when asked for a handler in the cryptodev_engine_digests routine | ||
| 213 | */ | ||
| 214 | static int | ||
| 215 | get_cryptodev_digests(const int **cnids) | ||
| 216 | { | ||
| 217 | static int nids[CRYPTO_ALGORITHM_MAX]; | ||
| 218 | struct session_op sess; | ||
| 219 | int i, count = 0; | ||
| 220 | |||
| 221 | memset(&sess, 0, sizeof(sess)); | ||
| 222 | for (i = 0; digests[i].id && count < CRYPTO_ALGORITHM_MAX; i++) { | ||
| 223 | if (digests[i].nid == NID_undef) | ||
| 224 | continue; | ||
| 225 | sess.mac = digests[i].id; | ||
| 226 | sess.cipher = 0; | ||
| 227 | if (ioctl(cryptodev_fd, CIOCGSESSION, &sess) != -1 && | ||
| 228 | ioctl(cryptodev_fd, CIOCFSESSION, &sess.ses) != -1) | ||
| 229 | nids[count++] = digests[i].nid; | ||
| 230 | } | ||
| 231 | if (count > 0) | ||
| 232 | *cnids = nids; | ||
| 233 | else | ||
| 234 | *cnids = NULL; | ||
| 235 | return (count); | ||
| 236 | } | ||
| 237 | |||
| 238 | /* | ||
| 239 | * Find the useable ciphers|digests from dev/crypto - this is the first | ||
| 240 | * thing called by the engine init crud which determines what it | ||
| 241 | * can use for ciphers from this engine. We want to return | ||
| 242 | * only what we can do, anythine else is handled by software. | ||
| 243 | * | ||
| 244 | * If we can't initialize the device to do anything useful for | ||
| 245 | * any reason, we want to return a NULL array, and 0 length, | ||
| 246 | * which forces everything to be done is software. By putting | ||
| 247 | * the initalization of the device in here, we ensure we can | ||
| 248 | * use this engine as the default, and if for whatever reason | ||
| 249 | * /dev/crypto won't do what we want it will just be done in | ||
| 250 | * software | ||
| 251 | * | ||
| 252 | * This can (should) be greatly expanded to perhaps take into | ||
| 253 | * account speed of the device, and what we want to do. | ||
| 254 | * (although the disabling of particular alg's could be controlled | ||
| 255 | * by the device driver with sysctl's.) - this is where we | ||
| 256 | * want most of the decisions made about what we actually want | ||
| 257 | * to use from /dev/crypto. | ||
| 258 | */ | ||
| 259 | int | ||
| 260 | cryptodev_usable_ciphers(const int **nids) | ||
| 261 | { | ||
| 262 | if (!check_dev_crypto()) { | ||
| 263 | *nids = NULL; | ||
| 264 | return (0); | ||
| 265 | } | ||
| 266 | |||
| 267 | /* find what the device can do. Unfortunately, we don't | ||
| 268 | * necessarily want all of these yet, because we aren't | ||
| 269 | * yet set up to do them | ||
| 270 | */ | ||
| 271 | return (get_cryptodev_ciphers(nids)); | ||
| 272 | } | ||
| 273 | |||
| 274 | int | ||
| 275 | cryptodev_usable_digests(const int **nids) | ||
| 276 | { | ||
| 277 | #if 1 | ||
| 278 | /* | ||
| 279 | * XXXX just disable all digests for now, because it sucks. | ||
| 280 | * we need a better way to decide this - i.e. I may not | ||
| 281 | * want digests on slow cards like hifn on fast machines, | ||
| 282 | * but might want them on slow or loaded machines, etc. | ||
| 283 | * will also want them when using crypto cards that don't | ||
| 284 | * suck moose gonads - would be nice to be able to decide something | ||
| 285 | * as reasonable default without having hackery that's card dependent. | ||
| 286 | * of course, the default should probably be just do everything, | ||
| 287 | * with perhaps a sysctl to turn algoritms off (or have them off | ||
| 288 | * by default) on cards that generally suck like the hifn. | ||
| 289 | */ | ||
| 290 | *nids = NULL; | ||
| 291 | return (0); | ||
| 292 | #endif | ||
| 293 | |||
| 294 | if (!check_dev_crypto()) { | ||
| 295 | *nids = NULL; | ||
| 296 | return (0); | ||
| 297 | } | ||
| 298 | return (get_cryptodev_digests(nids)); | ||
| 299 | } | ||
| 300 | |||
| 301 | |||
| 302 | int | ||
| 303 | cryptodev_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, | ||
| 304 | const unsigned char *in, unsigned int inl) | ||
| 305 | { | ||
| 306 | struct crypt_op cryp; | ||
| 307 | struct session_op *sess = ctx->cipher_data; | ||
| 308 | void *iiv; | ||
| 309 | unsigned char save_iv[EVP_MAX_IV_LENGTH]; | ||
| 310 | struct syslog_data sd = SYSLOG_DATA_INIT; | ||
| 311 | |||
| 312 | if (cryptodev_fd == -1) | ||
| 313 | return (0); | ||
| 314 | if (sess == NULL) | ||
| 315 | return (0); | ||
| 316 | if (!inl) | ||
| 317 | return (1); | ||
| 318 | if ((inl % ctx->cipher->block_size) != 0) | ||
| 319 | return (0); | ||
| 320 | |||
| 321 | memset(&cryp, 0, sizeof(cryp)); | ||
| 322 | |||
| 323 | cryp.ses = sess->ses; | ||
| 324 | cryp.flags = 0; | ||
| 325 | cryp.len = inl; | ||
| 326 | cryp.src = (caddr_t) in; | ||
| 327 | cryp.dst = (caddr_t) out; | ||
| 328 | cryp.mac = 0; | ||
| 329 | |||
| 330 | cryp.op = ctx->encrypt ? COP_ENCRYPT : COP_DECRYPT; | ||
| 331 | |||
| 332 | if (ctx->cipher->iv_len) { | ||
| 333 | cryp.iv = (caddr_t) ctx->iv; | ||
| 334 | if (!ctx->encrypt) { | ||
| 335 | iiv = (void *) in + inl - ctx->cipher->iv_len; | ||
| 336 | memcpy(save_iv, iiv, ctx->cipher->iv_len); | ||
| 337 | } | ||
| 338 | } else | ||
| 339 | cryp.iv = NULL; | ||
| 340 | |||
| 341 | if (ioctl(cryptodev_fd, CIOCCRYPT, &cryp) == -1) { | ||
| 342 | /* XXX need better errror handling | ||
| 343 | * this can fail for a number of different reasons. | ||
| 344 | */ | ||
| 345 | syslog_r(LOG_ERR, &sd, "CIOCCRYPT failed (%m)"); | ||
| 346 | return (0); | ||
| 347 | } | ||
| 348 | |||
| 349 | if (ctx->cipher->iv_len) { | ||
| 350 | if (ctx->encrypt) | ||
| 351 | iiv = (void *) out + inl - ctx->cipher->iv_len; | ||
| 352 | else | ||
| 353 | iiv = save_iv; | ||
| 354 | memcpy(ctx->iv, iiv, ctx->cipher->iv_len); | ||
| 355 | } | ||
| 356 | return (1); | ||
| 357 | } | ||
| 358 | |||
| 359 | int | ||
| 360 | cryptodev_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | ||
| 361 | const unsigned char *iv, int enc) | ||
| 362 | { | ||
| 363 | struct session_op *sess = ctx->cipher_data; | ||
| 364 | struct syslog_data sd = SYSLOG_DATA_INIT; | ||
| 365 | int cipher; | ||
| 366 | |||
| 367 | if ((cipher = cipher_nid_to_cryptodev(ctx->cipher->nid)) == NID_undef) | ||
| 368 | return (0); | ||
| 369 | |||
| 370 | if (!check_dev_crypto()) | ||
| 371 | return (0); | ||
| 372 | |||
| 373 | if (ctx->cipher->iv_len > cryptodev_max_iv(cipher)) | ||
| 374 | return (0); | ||
| 375 | |||
| 376 | if (!cryptodev_key_length_valid(cipher, ctx->key_len)) | ||
| 377 | return (0); | ||
| 378 | |||
| 379 | memset(sess, 0, sizeof(struct session_op)); | ||
| 380 | |||
| 381 | sess->key = (unsigned char *)key; | ||
| 382 | sess->keylen = ctx->key_len; | ||
| 383 | sess->cipher = cipher; | ||
| 384 | |||
| 385 | if (ioctl(cryptodev_fd, CIOCGSESSION, sess) == -1) { | ||
| 386 | syslog_r(LOG_ERR, &sd, "CIOCGSESSION failed (%m)"); | ||
| 387 | return (0); | ||
| 388 | } | ||
| 389 | cryptodev_sessions++; | ||
| 390 | return (1); | ||
| 391 | } | ||
| 392 | |||
| 393 | /* | ||
| 394 | * free anything we allocated earlier when initting a | ||
| 395 | * session, and close the session. | ||
| 396 | */ | ||
| 397 | int | ||
| 398 | cryptodev_cleanup(EVP_CIPHER_CTX *ctx) | ||
| 399 | { | ||
| 400 | int ret = 0; | ||
| 401 | struct session_op *sess = ctx->cipher_data; | ||
| 402 | struct syslog_data sd = SYSLOG_DATA_INIT; | ||
| 403 | |||
| 404 | if (sess == NULL) | ||
| 405 | return (0); | ||
| 406 | |||
| 407 | /* XXX if this ioctl fails, someting's wrong. the invoker | ||
| 408 | * may have called us with a bogus ctx, or we could | ||
| 409 | * have a device that for whatever reason just doesn't | ||
| 410 | * want to play ball - it's not clear what's right | ||
| 411 | * here - should this be an error? should it just | ||
| 412 | * increase a counter, hmm. For right now, we return | ||
| 413 | * 0 - I don't believe that to be "right". we could | ||
| 414 | * call the gorpy openssl lib error handlers that | ||
| 415 | * print messages to users of the library. hmm.. | ||
| 416 | */ | ||
| 417 | |||
| 418 | if (ioctl(cryptodev_fd, CIOCFSESSION, &sess->ses) == -1) { | ||
| 419 | syslog_r(LOG_ERR, &sd, "CIOCFSESSION failed (%m)"); | ||
| 420 | ret = 0; | ||
| 421 | } else { | ||
| 422 | cryptodev_sessions--; | ||
| 423 | ret = 1; | ||
| 424 | } | ||
| 425 | if (cryptodev_sessions == 0 && cryptodev_fd != -1 ) { | ||
| 426 | close(cryptodev_fd); /* XXX should this be closed? */ | ||
| 427 | cryptodev_fd = -1; | ||
| 428 | } | ||
| 429 | return (ret); | ||
| 430 | } | ||
| 431 | |||
| 432 | /* | ||
| 433 | * libcrypto EVP stuff - this is how we get wired to EVP so the engine | ||
| 434 | * gets called when libcrypto requests a cipher NID. | ||
| 435 | */ | ||
| 436 | |||
| 437 | /* ARC4 (16 byte key) */ | ||
| 438 | const EVP_CIPHER cryptodev_arc4_cipher = { | ||
| 439 | NID_rc4, | ||
| 440 | 1, 16, 0, | ||
| 441 | EVP_CIPH_VARIABLE_LENGTH, | ||
| 442 | cryptodev_init_key, | ||
| 443 | cryptodev_cipher, | ||
| 444 | cryptodev_cleanup, | ||
| 445 | sizeof(struct session_op), | ||
| 446 | NULL, | ||
| 447 | NULL, | ||
| 448 | NULL | ||
| 449 | }; | ||
| 450 | |||
| 451 | /* DES CBC EVP */ | ||
| 452 | const EVP_CIPHER cryptodev_des_cbc = { | ||
| 453 | NID_des_cbc, | ||
| 454 | 8, 8, 8, | ||
| 455 | EVP_CIPH_CBC_MODE, | ||
| 456 | cryptodev_init_key, | ||
| 457 | cryptodev_cipher, | ||
| 458 | cryptodev_cleanup, | ||
| 459 | sizeof(struct session_op), | ||
| 460 | EVP_CIPHER_set_asn1_iv, | ||
| 461 | EVP_CIPHER_get_asn1_iv, | ||
| 462 | NULL | ||
| 463 | }; | ||
| 464 | |||
| 465 | /* 3DES CBC EVP */ | ||
| 466 | const EVP_CIPHER cryptodev_3des_cbc = { | ||
| 467 | NID_des_ede3_cbc, | ||
| 468 | 8, 24, 8, | ||
| 469 | EVP_CIPH_CBC_MODE, | ||
| 470 | cryptodev_init_key, | ||
| 471 | cryptodev_cipher, | ||
| 472 | cryptodev_cleanup, | ||
| 473 | sizeof(struct session_op), | ||
| 474 | EVP_CIPHER_set_asn1_iv, | ||
| 475 | EVP_CIPHER_get_asn1_iv, | ||
| 476 | NULL | ||
| 477 | }; | ||
| 478 | |||
| 479 | |||
| 480 | /* | ||
| 481 | * Registered by the ENGINE when used to find out how to deal with | ||
| 482 | * a particular NID in the ENGINE. this says what we'll do at the | ||
| 483 | * top level - note, that list is restricted by what we answer with | ||
| 484 | */ | ||
| 485 | int | ||
| 486 | cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher, | ||
| 487 | const int **nids, int nid) | ||
| 488 | { | ||
| 489 | if (!cipher) | ||
| 490 | return (cryptodev_usable_ciphers(nids)); | ||
| 491 | |||
| 492 | switch (nid) { | ||
| 493 | case NID_rc4: | ||
| 494 | *cipher = &cryptodev_arc4_cipher; | ||
| 495 | break; | ||
| 496 | case NID_des_ede3_cbc: | ||
| 497 | *cipher = &cryptodev_3des_cbc; | ||
| 498 | break; | ||
| 499 | case NID_des_cbc: | ||
| 500 | *cipher = &cryptodev_des_cbc; | ||
| 501 | break; | ||
| 502 | default: | ||
| 503 | *cipher = NULL; | ||
| 504 | break; | ||
| 505 | } | ||
| 506 | return (*cipher != NULL); | ||
| 507 | } | ||
| 508 | |||
| 509 | int | ||
| 510 | cryptodev_engine_digests(ENGINE *e, const EVP_MD **digest, | ||
| 511 | const int **nids, int nid) | ||
| 512 | { | ||
| 513 | if (!digest) | ||
| 514 | return (cryptodev_usable_digests(nids)); | ||
| 515 | |||
| 516 | switch (nid) { | ||
| 517 | case NID_md5: | ||
| 518 | *digest = NULL; /* need to make a clean md5 critter */ | ||
| 519 | break; | ||
| 520 | default: | ||
| 521 | *digest = NULL; | ||
| 522 | break; | ||
| 523 | } | ||
| 524 | return (*digest != NULL); | ||
| 525 | } | ||
| 526 | |||
| 527 | |||
| 528 | /* | ||
| 529 | * Convert a BIGNUM to the representation that /dev/crypto needs. | ||
| 530 | * Upon completion of use, the caller is responsible for freeing | ||
| 531 | * crp->crp_p. | ||
| 532 | */ | ||
| 533 | static int | ||
| 534 | bn2crparam(const BIGNUM *a, struct crparam *crp) | ||
| 535 | { | ||
| 536 | int i, j, n; | ||
| 537 | ssize_t words, bytes, bits; | ||
| 538 | u_char *b; | ||
| 539 | |||
| 540 | crp->crp_p = NULL; | ||
| 541 | crp->crp_nbits = 0; | ||
| 542 | |||
| 543 | bits = BN_num_bits(a); | ||
| 544 | bytes = (bits + 7) / 8; | ||
| 545 | |||
| 546 | b = malloc(bytes); | ||
| 547 | if (b == NULL) | ||
| 548 | return (1); | ||
| 549 | |||
| 550 | crp->crp_p = b; | ||
| 551 | crp->crp_nbits = bits; | ||
| 552 | |||
| 553 | words = (bits + BN_BITS2 - 1) / BN_BITS2; | ||
| 554 | |||
| 555 | n = 0; | ||
| 556 | for (i = 0; i < words && n < bytes; i++) { | ||
| 557 | BN_ULONG word; | ||
| 558 | |||
| 559 | word = a->d[i]; | ||
| 560 | for (j = 0 ; j < BN_BYTES && n < bytes; j++, n++) { | ||
| 561 | *b++ = (word & 0xff); | ||
| 562 | word >>= 8; | ||
| 563 | } | ||
| 564 | } | ||
| 565 | return (0); | ||
| 566 | } | ||
| 567 | |||
| 568 | /* Convert a /dev/crypto parameter to a BIGNUM */ | ||
| 569 | static int | ||
| 570 | crparam2bn(struct crparam *crp, BIGNUM *a) | ||
| 571 | { | ||
| 572 | int i, bytes; | ||
| 573 | |||
| 574 | bytes = (crp->crp_nbits + 7)/8; | ||
| 575 | |||
| 576 | BN_zero(a); | ||
| 577 | for (i = bytes - 1; i >= 0; i--) { | ||
| 578 | BN_lshift(a, a, 8); | ||
| 579 | BN_add_word(a, (u_char)crp->crp_p[i]); | ||
| 580 | } | ||
| 581 | |||
| 582 | return (0); | ||
| 583 | } | ||
| 584 | |||
| 585 | static void | ||
| 586 | zapparams(struct crypt_kop *kop) | ||
| 587 | { | ||
| 588 | int i; | ||
| 589 | |||
| 590 | for (i = 0; i <= kop->crk_iparams + kop->crk_oparams; i++) { | ||
| 591 | if (kop->crk_param[i].crp_p) | ||
| 592 | free(kop->crk_param[i].crp_p); | ||
| 593 | kop->crk_param[i].crp_p = NULL; | ||
| 594 | kop->crk_param[i].crp_nbits = 0; | ||
| 595 | } | ||
| 596 | } | ||
| 597 | |||
| 598 | static int | ||
| 599 | cryptodev_sym(struct crypt_kop *kop, BIGNUM *r, BIGNUM *s) | ||
| 600 | { | ||
| 601 | int ret = -1; | ||
| 602 | |||
| 603 | if (r) { | ||
| 604 | kop->crk_param[kop->crk_iparams].crp_p = malloc(256); | ||
| 605 | kop->crk_param[kop->crk_iparams].crp_nbits = 256 * 8; | ||
| 606 | kop->crk_oparams++; | ||
| 607 | } | ||
| 608 | if (s) { | ||
| 609 | kop->crk_param[kop->crk_iparams+1].crp_p = malloc(256); | ||
| 610 | kop->crk_param[kop->crk_iparams+1].crp_nbits = 256 * 8; | ||
| 611 | kop->crk_oparams++; | ||
| 612 | } | ||
| 613 | |||
| 614 | if (ioctl(cryptodev_fd, CIOCKEY, &kop) == 0) { | ||
| 615 | crparam2bn(&kop->crk_param[3], r); | ||
| 616 | ret = 0; | ||
| 617 | } | ||
| 618 | return (ret); | ||
| 619 | } | ||
| 620 | |||
| 621 | static int | ||
| 622 | cryptodev_bn_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | ||
| 623 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) | ||
| 624 | { | ||
| 625 | struct crypt_kop kop; | ||
| 626 | int ret = 0; | ||
| 627 | |||
| 628 | memset(&kop, 0, sizeof kop); | ||
| 629 | kop.crk_op = CRK_MOD_EXP; | ||
| 630 | |||
| 631 | /* inputs: a m p */ | ||
| 632 | if (bn2crparam(a, &kop.crk_param[0])) | ||
| 633 | goto err; | ||
| 634 | if (bn2crparam(m, &kop.crk_param[1])) | ||
| 635 | goto err; | ||
| 636 | if (bn2crparam(p, &kop.crk_param[2])) | ||
| 637 | goto err; | ||
| 638 | kop.crk_iparams = 3; | ||
| 639 | |||
| 640 | if (cryptodev_sym(&kop, r, NULL) == -1) { | ||
| 641 | ret = BN_mod_exp(r, a, p, m, ctx); | ||
| 642 | } | ||
| 643 | err: | ||
| 644 | zapparams(&kop); | ||
| 645 | return (ret); | ||
| 646 | } | ||
| 647 | |||
| 648 | |||
| 649 | static int | ||
| 650 | cryptodev_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa) | ||
| 651 | { | ||
| 652 | struct crypt_kop kop; | ||
| 653 | int ret = 0; | ||
| 654 | |||
| 655 | if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { | ||
| 656 | /* XXX 0 means failure?? */ | ||
| 657 | goto err; | ||
| 658 | } | ||
| 659 | |||
| 660 | memset(&kop, 0, sizeof kop); | ||
| 661 | kop.crk_op = CRK_MOD_EXP_CRT; | ||
| 662 | /* inputs: rsa->p rsa->q I rsa->dmp1 rsa->dmq1 rsa->iqmp */ | ||
| 663 | if (bn2crparam(rsa->p, &kop.crk_param[0])) | ||
| 664 | goto err; | ||
| 665 | if (bn2crparam(rsa->q, &kop.crk_param[1])) | ||
| 666 | goto err; | ||
| 667 | if (bn2crparam(I, &kop.crk_param[2])) | ||
| 668 | goto err; | ||
| 669 | if (bn2crparam(rsa->dmp1, &kop.crk_param[3])) | ||
| 670 | goto err; | ||
| 671 | if (bn2crparam(rsa->dmq1, &kop.crk_param[4])) | ||
| 672 | goto err; | ||
| 673 | if (bn2crparam(rsa->iqmp, &kop.crk_param[5])) | ||
| 674 | goto err; | ||
| 675 | kop.crk_iparams = 6; | ||
| 676 | |||
| 677 | if (cryptodev_sym(&kop, r0, NULL) == -1) { | ||
| 678 | const RSA_METHOD *meth = RSA_PKCS1_SSLeay(); | ||
| 679 | |||
| 680 | ret = (*meth->rsa_mod_exp)(r0, I, rsa); | ||
| 681 | } | ||
| 682 | err: | ||
| 683 | zapparams(&kop); | ||
| 684 | return (ret); | ||
| 685 | } | ||
| 686 | |||
| 687 | static RSA_METHOD cryptodev_rsa = { | ||
| 688 | "cryptodev RSA method", | ||
| 689 | NULL, /* rsa_pub_enc */ | ||
| 690 | NULL, /* rsa_pub_dec */ | ||
| 691 | NULL, /* rsa_priv_enc */ | ||
| 692 | NULL, /* rsa_priv_dec */ | ||
| 693 | cryptodev_rsa_mod_exp, /* rsa_mod_exp */ | ||
| 694 | cryptodev_bn_mod_exp, /* bn_mod_exp */ | ||
| 695 | NULL, /* init */ | ||
| 696 | NULL, /* finish */ | ||
| 697 | 0, /* flags */ | ||
| 698 | NULL, /* app_data */ | ||
| 699 | NULL, /* rsa_sign */ | ||
| 700 | NULL /* rsa_verify */ | ||
| 701 | }; | ||
| 702 | |||
| 703 | static int | ||
| 704 | cryptodev_dsa_bn_mod_exp(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, | ||
| 705 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) | ||
| 706 | { | ||
| 707 | return (cryptodev_bn_mod_exp(r, a, p, m, ctx, m_ctx)); | ||
| 708 | } | ||
| 709 | |||
| 710 | static DSA_SIG * | ||
| 711 | cryptodev_dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) | ||
| 712 | { | ||
| 713 | struct crypt_kop kop; | ||
| 714 | BIGNUM *r = NULL, *s = NULL; | ||
| 715 | DSA_SIG *dsaret = NULL; | ||
| 716 | |||
| 717 | if ((r = BN_new()) == NULL) | ||
| 718 | goto err; | ||
| 719 | if ((s = BN_new()) == NULL) { | ||
| 720 | BN_free(r); | ||
| 721 | goto err; | ||
| 722 | } | ||
| 723 | |||
| 724 | memset(&kop, 0, sizeof kop); | ||
| 725 | kop.crk_op = CRK_DSA_SIGN; | ||
| 726 | |||
| 727 | /* inputs: dgst dsa->p dsa->q dsa->g dsa->priv_key */ | ||
| 728 | kop.crk_param[0].crp_p = (caddr_t)dgst; | ||
| 729 | kop.crk_param[0].crp_nbits = dlen * 8; | ||
| 730 | if (bn2crparam(dsa->p, &kop.crk_param[1])) | ||
| 731 | goto err; | ||
| 732 | if (bn2crparam(dsa->q, &kop.crk_param[2])) | ||
| 733 | goto err; | ||
| 734 | if (bn2crparam(dsa->g, &kop.crk_param[3])) | ||
| 735 | goto err; | ||
| 736 | if (bn2crparam(dsa->priv_key, &kop.crk_param[4])) | ||
| 737 | goto err; | ||
| 738 | kop.crk_iparams = 5; | ||
| 739 | |||
| 740 | if (cryptodev_sym(&kop, r, s) == 0) { | ||
| 741 | dsaret = DSA_SIG_new(); | ||
| 742 | dsaret->r = r; | ||
| 743 | dsaret->s = s; | ||
| 744 | } else { | ||
| 745 | const DSA_METHOD *meth = DSA_OpenSSL(); | ||
| 746 | |||
| 747 | BN_free(r); | ||
| 748 | BN_free(s); | ||
| 749 | dsaret = (meth->dsa_do_sign)(dgst, dlen, dsa); | ||
| 750 | } | ||
| 751 | err: | ||
| 752 | kop.crk_param[0].crp_p = NULL; | ||
| 753 | zapparams(&kop); | ||
| 754 | return (dsaret); | ||
| 755 | } | ||
| 756 | |||
| 757 | static int | ||
| 758 | cryptodev_dsa_verify(const unsigned char *dgst, int dlen, | ||
| 759 | DSA_SIG *sig, DSA *dsa) | ||
| 760 | { | ||
| 761 | struct crypt_kop kop; | ||
| 762 | int dsaret = 0; | ||
| 763 | |||
| 764 | memset(&kop, 0, sizeof kop); | ||
| 765 | kop.crk_op = CRK_DSA_VERIFY; | ||
| 766 | |||
| 767 | /* inputs: dgst dsa->p dsa->q dsa->g dsa->pub_key sig->r sig->s */ | ||
| 768 | kop.crk_param[0].crp_p = (caddr_t)dgst; | ||
| 769 | kop.crk_param[0].crp_nbits = dlen * 8; | ||
| 770 | if (bn2crparam(dsa->p, &kop.crk_param[1])) | ||
| 771 | goto err; | ||
| 772 | if (bn2crparam(dsa->q, &kop.crk_param[2])) | ||
| 773 | goto err; | ||
| 774 | if (bn2crparam(dsa->g, &kop.crk_param[3])) | ||
| 775 | goto err; | ||
| 776 | if (bn2crparam(dsa->pub_key, &kop.crk_param[4])) | ||
| 777 | goto err; | ||
| 778 | if (bn2crparam(sig->r, &kop.crk_param[5])) | ||
| 779 | goto err; | ||
| 780 | if (bn2crparam(sig->s, &kop.crk_param[6])) | ||
| 781 | goto err; | ||
| 782 | kop.crk_iparams = 7; | ||
| 783 | |||
| 784 | if (cryptodev_sym(&kop, NULL, NULL) == 0) { | ||
| 785 | dsaret = kop.crk_status; | ||
| 786 | } else { | ||
| 787 | const DSA_METHOD *meth = DSA_OpenSSL(); | ||
| 788 | |||
| 789 | dsaret = (meth->dsa_do_verify)(dgst, dlen, sig, dsa); | ||
| 790 | } | ||
| 791 | err: | ||
| 792 | kop.crk_param[0].crp_p = NULL; | ||
| 793 | zapparams(&kop); | ||
| 794 | return (dsaret); | ||
| 795 | } | ||
| 796 | |||
| 797 | static DSA_METHOD cryptodev_dsa = { | ||
| 798 | "cryptodev DSA method", | ||
| 799 | cryptodev_dsa_do_sign, | ||
| 800 | NULL, /* dsa_sign_setup */ | ||
| 801 | cryptodev_dsa_verify, | ||
| 802 | NULL, /* dsa_mod_exp */ | ||
| 803 | cryptodev_dsa_bn_mod_exp, /* bn_mod_exp */ | ||
| 804 | NULL, /* init */ | ||
| 805 | NULL, /* finish */ | ||
| 806 | 0, /* flags */ | ||
| 807 | NULL /* app_data */ | ||
| 808 | }; | ||
| 809 | |||
| 810 | static int | ||
| 811 | cryptodev_mod_exp_dh(const DH *dh, BIGNUM *r, const BIGNUM *a, | ||
| 812 | const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, | ||
| 813 | BN_MONT_CTX *m_ctx) | ||
| 814 | { | ||
| 815 | return (cryptodev_bn_mod_exp(r, a, p, m, ctx, m_ctx)); | ||
| 816 | } | ||
| 817 | |||
| 818 | static int | ||
| 819 | cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) | ||
| 820 | { | ||
| 821 | struct crypt_kop kop; | ||
| 822 | int dhret = 0; | ||
| 823 | int keylen; | ||
| 824 | |||
| 825 | keylen = BN_num_bits(dh->p); | ||
| 826 | |||
| 827 | memset(&kop, 0, sizeof kop); | ||
| 828 | kop.crk_op = CRK_DH_COMPUTE_KEY; | ||
| 829 | |||
| 830 | /* inputs: dh->priv_key pub_key dh->p key */ | ||
| 831 | if (bn2crparam(dh->priv_key, &kop.crk_param[0])) | ||
| 832 | goto err; | ||
| 833 | if (bn2crparam(pub_key, &kop.crk_param[1])) | ||
| 834 | goto err; | ||
| 835 | if (bn2crparam(dh->p, &kop.crk_param[2])) | ||
| 836 | goto err; | ||
| 837 | kop.crk_iparams = 3; | ||
| 838 | |||
| 839 | kop.crk_param[3].crp_p = key; | ||
| 840 | kop.crk_param[3].crp_nbits = keylen * 8; | ||
| 841 | kop.crk_oparams = 1; | ||
| 842 | |||
| 843 | if (ioctl(cryptodev_fd, CIOCKEY, &kop) == -1) { | ||
| 844 | const DH_METHOD *meth = DH_OpenSSL(); | ||
| 845 | |||
| 846 | dhret = (meth->compute_key)(key, pub_key, dh); | ||
| 847 | } | ||
| 848 | err: | ||
| 849 | kop.crk_param[3].crp_p = NULL; | ||
| 850 | zapparams(&kop); | ||
| 851 | return (dhret); | ||
| 852 | } | ||
| 853 | |||
| 854 | static DH_METHOD cryptodev_dh = { | ||
| 855 | "cryptodev DH method", | ||
| 856 | NULL, /* cryptodev_dh_generate_key */ | ||
| 857 | cryptodev_dh_compute_key, | ||
| 858 | cryptodev_mod_exp_dh, | ||
| 859 | NULL, | ||
| 860 | NULL, | ||
| 861 | 0, /* flags */ | ||
| 862 | NULL /* app_data */ | ||
| 863 | }; | ||
| 864 | |||
| 865 | /* | ||
| 866 | * ctrl right now is just a wrapper that doesn't do much | ||
| 867 | * but I expect we'll want some options soon. | ||
| 868 | */ | ||
| 869 | static int | ||
| 870 | cryptodev_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)()) | ||
| 871 | { | ||
| 872 | struct syslog_data sd = SYSLOG_DATA_INIT; | ||
| 873 | |||
| 874 | switch (cmd) { | ||
| 875 | default: | ||
| 876 | syslog_r(LOG_ERR, &sd, | ||
| 877 | "cryptodev_ctrl: unknown command %d", cmd); | ||
| 878 | break; | ||
| 879 | } | ||
| 880 | return (1); | ||
| 881 | } | ||
| 882 | |||
| 883 | void | ||
| 884 | ENGINE_load_cryptodev(void) | ||
| 885 | { | ||
| 886 | ENGINE *engine = ENGINE_new(); | ||
| 887 | const RSA_METHOD *rsa_meth; | ||
| 888 | const DH_METHOD *dh_meth; | ||
| 889 | |||
| 890 | if (engine == NULL) | ||
| 891 | return; | ||
| 892 | |||
| 893 | if (!ENGINE_set_id(engine, "cryptodev") || | ||
| 894 | !ENGINE_set_name(engine, "OpenBSD cryptodev engine") || | ||
| 895 | !ENGINE_set_ciphers(engine, cryptodev_engine_ciphers) || | ||
| 896 | !ENGINE_set_digests(engine, cryptodev_engine_digests) || | ||
| 897 | !ENGINE_set_ctrl_function(engine, cryptodev_ctrl) || | ||
| 898 | !ENGINE_set_cmd_defns(engine, cryptodev_defns)) { | ||
| 899 | ENGINE_free(engine); | ||
| 900 | return; | ||
| 901 | } | ||
| 902 | |||
| 903 | if ((cryptodev_symfeat & CRSFEAT_RSA) && | ||
| 904 | ENGINE_set_RSA(engine, &cryptodev_rsa)) { | ||
| 905 | rsa_meth = RSA_PKCS1_SSLeay(); | ||
| 906 | cryptodev_rsa.rsa_pub_enc = rsa_meth->rsa_pub_enc; | ||
| 907 | cryptodev_rsa.rsa_pub_dec = rsa_meth->rsa_pub_dec; | ||
| 908 | cryptodev_rsa.rsa_priv_enc = rsa_meth->rsa_priv_dec; | ||
| 909 | cryptodev_rsa.rsa_priv_dec = rsa_meth->rsa_priv_dec; | ||
| 910 | } | ||
| 911 | |||
| 912 | if ((cryptodev_symfeat & CRSFEAT_DSA) && | ||
| 913 | ENGINE_set_DSA(engine, &cryptodev_dsa)) { | ||
| 914 | } | ||
| 915 | |||
| 916 | if ((cryptodev_symfeat & CRSFEAT_DH) && | ||
| 917 | ENGINE_set_DH(engine, &cryptodev_dh)) { | ||
| 918 | dh_meth = DH_OpenSSL(); | ||
| 919 | cryptodev_dh.generate_key = dh_meth->generate_key; | ||
| 920 | cryptodev_dh.compute_key = dh_meth->compute_key; | ||
| 921 | } | ||
| 922 | |||
| 923 | ENGINE_add(engine); | ||
| 924 | ENGINE_free(engine); | ||
| 925 | ERR_clear_error(); | ||
| 926 | } | ||
diff --git a/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c b/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c new file mode 100644 index 0000000000..f946389b8a --- /dev/null +++ b/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c | |||
| @@ -0,0 +1,594 @@ | |||
| 1 | /* Written by Ben Laurie <ben@algroup.co.uk> August 2001 */ | ||
| 2 | /* ==================================================================== | ||
| 3 | * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. | ||
| 4 | * | ||
| 5 | * Redistribution and use in source and binary forms, with or without | ||
| 6 | * modification, are permitted provided that the following conditions | ||
| 7 | * are met: | ||
| 8 | * | ||
| 9 | * 1. Redistributions of source code must retain the above copyright | ||
| 10 | * notice, this list of conditions and the following disclaimer. | ||
| 11 | * | ||
| 12 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 13 | * notice, this list of conditions and the following disclaimer in | ||
| 14 | * the documentation and/or other materials provided with the | ||
| 15 | * distribution. | ||
| 16 | * | ||
| 17 | * 3. All advertising materials mentioning features or use of this | ||
| 18 | * software must display the following acknowledgment: | ||
| 19 | * "This product includes software developed by the OpenSSL Project | ||
| 20 | * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" | ||
| 21 | * | ||
| 22 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 23 | * endorse or promote products derived from this software without | ||
| 24 | * prior written permission. For written permission, please contact | ||
| 25 | * licensing@OpenSSL.org. | ||
| 26 | * | ||
| 27 | * 5. Products derived from this software may not be called "OpenSSL" | ||
| 28 | * nor may "OpenSSL" appear in their names without prior written | ||
| 29 | * permission of the OpenSSL Project. | ||
| 30 | * | ||
| 31 | * 6. Redistributions of any form whatsoever must retain the following | ||
| 32 | * acknowledgment: | ||
| 33 | * "This product includes software developed by the OpenSSL Project | ||
| 34 | * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" | ||
| 35 | * | ||
| 36 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 37 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 38 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 39 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 40 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 41 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 42 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 43 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 44 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 45 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 46 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 47 | * OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 48 | * ==================================================================== | ||
| 49 | * | ||
| 50 | * This product includes cryptographic software written by Eric Young | ||
| 51 | * (eay@cryptsoft.com). This product includes software written by Tim | ||
| 52 | * Hudson (tjh@cryptsoft.com). | ||
| 53 | * | ||
| 54 | */ | ||
| 55 | |||
| 56 | #include <openssl/engine.h> | ||
| 57 | #include <openssl/evp.h> | ||
| 58 | #include "eng_int.h" | ||
| 59 | /* Maybe this is needed? ... */ | ||
| 60 | #ifdef FLAT_INC | ||
| 61 | #include "evp_locl.h" | ||
| 62 | #else | ||
| 63 | #include "../evp/evp_locl.h" | ||
| 64 | #endif | ||
| 65 | #include <openssl/conf.h> | ||
| 66 | |||
| 67 | #ifndef OPENSSL_OPENBSD_DEV_CRYPTO | ||
| 68 | |||
| 69 | void ENGINE_load_openbsd_dev_crypto(void) | ||
| 70 | { | ||
| 71 | /* This is a NOP unless OPENSSL_OPENBSD_DEV_CRYPTO is defined */ | ||
| 72 | return; | ||
| 73 | } | ||
| 74 | |||
| 75 | #else /* OPENSSL_OPENBSD_DEV_CRYPTO */ | ||
| 76 | |||
| 77 | #include <fcntl.h> | ||
| 78 | #include <stdio.h> | ||
| 79 | #include <errno.h> | ||
| 80 | #include <assert.h> | ||
| 81 | #include <unistd.h> | ||
| 82 | #include <sys/ioctl.h> | ||
| 83 | |||
| 84 | #include <crypto/cryptodev.h> | ||
| 85 | |||
| 86 | /****************************************************/ | ||
| 87 | /* Declare the normal generic ENGINE stuff here ... */ | ||
| 88 | |||
| 89 | static int dev_crypto_ciphers(ENGINE *e, const EVP_CIPHER **cipher, | ||
| 90 | const int **nids, int nid); | ||
| 91 | static int dev_crypto_digests(ENGINE *e, const EVP_MD **digest, | ||
| 92 | const int **nids, int nid); | ||
| 93 | |||
| 94 | static const char dev_crypto_id[] = "openbsd_dev_crypto"; | ||
| 95 | static const char dev_crypto_name[] = "OpenBSD /dev/crypto"; | ||
| 96 | |||
| 97 | static long allow_misaligned; | ||
| 98 | |||
| 99 | #define DEV_CRYPTO_CMD_ALLOW_MISALIGNED ENGINE_CMD_BASE | ||
| 100 | static const ENGINE_CMD_DEFN dev_crypto_cmd_defns[]= | ||
| 101 | { | ||
| 102 | { DEV_CRYPTO_CMD_ALLOW_MISALIGNED, | ||
| 103 | "allow_misaligned", | ||
| 104 | "Permit misaligned data to be used", | ||
| 105 | ENGINE_CMD_FLAG_NUMERIC }, | ||
| 106 | { 0, NULL, NULL, 0 } | ||
| 107 | }; | ||
| 108 | |||
| 109 | static int dev_crypto_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)()) | ||
| 110 | { | ||
| 111 | switch(cmd) | ||
| 112 | { | ||
| 113 | case DEV_CRYPTO_CMD_ALLOW_MISALIGNED: | ||
| 114 | allow_misaligned=i; | ||
| 115 | printf("allow misaligned=%ld\n",allow_misaligned); | ||
| 116 | break; | ||
| 117 | } | ||
| 118 | |||
| 119 | return 1; | ||
| 120 | } | ||
| 121 | |||
| 122 | static ENGINE *engine_openbsd_dev_crypto(void) | ||
| 123 | { | ||
| 124 | ENGINE *engine=ENGINE_new(); | ||
| 125 | |||
| 126 | if(!ENGINE_set_id(engine, dev_crypto_id) || | ||
| 127 | !ENGINE_set_name(engine, dev_crypto_name) || | ||
| 128 | !ENGINE_set_ciphers(engine, dev_crypto_ciphers) || | ||
| 129 | !ENGINE_set_digests(engine, dev_crypto_digests) || | ||
| 130 | !ENGINE_set_ctrl_function(engine, dev_crypto_ctrl) || | ||
| 131 | !ENGINE_set_cmd_defns(engine, dev_crypto_cmd_defns)) | ||
| 132 | { | ||
| 133 | ENGINE_free(engine); | ||
| 134 | return NULL; | ||
| 135 | } | ||
| 136 | |||
| 137 | return engine; | ||
| 138 | } | ||
| 139 | |||
| 140 | void ENGINE_load_openbsd_dev_crypto(void) | ||
| 141 | { | ||
| 142 | /* Copied from eng_[openssl|dyn].c */ | ||
| 143 | ENGINE *toadd = engine_openbsd_dev_crypto(); | ||
| 144 | if(!toadd) return; | ||
| 145 | ENGINE_add(toadd); | ||
| 146 | ENGINE_free(toadd); | ||
| 147 | ERR_clear_error(); | ||
| 148 | } | ||
| 149 | |||
| 150 | /******************************************************************************/ | ||
| 151 | /* Clip in the stuff from crypto/evp/openbsd_hw.c here. NB: What has changed? */ | ||
| 152 | /* I've removed the exposed EVP_*** functions, they're accessed through the */ | ||
| 153 | /* "dev_crypto_[ciphers|digests]" handlers. I've also moved the EVP_CIPHER */ | ||
| 154 | /* and EVP_MD structures to the bottom where they are close to the handlers */ | ||
| 155 | /* that expose them. What should be done? The global data (file-descriptors, */ | ||
| 156 | /* etc) should be put into ENGINE's ex_data support, and per-context data */ | ||
| 157 | /* (also file-descriptors perhaps) should be put into the contexts. Also code */ | ||
| 158 | /* formatting, fprintf statements, and OpenSSL-style error handling should be */ | ||
| 159 | /* added (dynamically, like the other ENGINEs). Also, "dynamic" support */ | ||
| 160 | /* be added to this ENGINE once it's up and running so that it could be built */ | ||
| 161 | /* as a shared-library. What else? device initialisation should take place */ | ||
| 162 | /* inside an ENGINE 'init()' handler (and likewise 'finish()'). ciphers and */ | ||
| 163 | /* digests won't be used by the framework unless the ENGINE has been */ | ||
| 164 | /* successfully initialised (that's one of the things you get for free) so */ | ||
| 165 | /* initialisation, including returning failure if device setup fails, can be */ | ||
| 166 | /* handled quite cleanly. This could presumably handle the opening (and then */ | ||
| 167 | /* closing inside 'finish()') of the 'cryptodev_fd' file-descriptor). */ | ||
| 168 | |||
| 169 | /* longest key supported in hardware */ | ||
| 170 | #define MAX_HW_KEY 24 | ||
| 171 | #define MAX_HW_IV 8 | ||
| 172 | |||
| 173 | #define MD5_DIGEST_LENGTH 16 | ||
| 174 | #define MD5_CBLOCK 64 | ||
| 175 | |||
| 176 | static int fd; | ||
| 177 | static int dev_failed; | ||
| 178 | |||
| 179 | typedef struct session_op session_op; | ||
| 180 | |||
| 181 | #define CDATA(ctx) EVP_C_DATA(session_op,ctx) | ||
| 182 | |||
| 183 | static void err(const char *str) | ||
| 184 | { | ||
| 185 | fprintf(stderr,"%s: errno %d\n",str,errno); | ||
| 186 | } | ||
| 187 | |||
| 188 | static int dev_crypto_init(session_op *ses) | ||
| 189 | { | ||
| 190 | if(dev_failed) | ||
| 191 | return 0; | ||
| 192 | if(!fd) | ||
| 193 | { | ||
| 194 | int cryptodev_fd; | ||
| 195 | |||
| 196 | if ((cryptodev_fd=open("/dev/crypto",O_RDWR,0)) < 0) | ||
| 197 | { | ||
| 198 | err("/dev/crypto"); | ||
| 199 | dev_failed=1; | ||
| 200 | return 0; | ||
| 201 | } | ||
| 202 | if (ioctl(cryptodev_fd,CRIOGET,&fd) == -1) | ||
| 203 | { | ||
| 204 | err("CRIOGET failed"); | ||
| 205 | close(cryptodev_fd); | ||
| 206 | dev_failed=1; | ||
| 207 | return 0; | ||
| 208 | } | ||
| 209 | close(cryptodev_fd); | ||
| 210 | } | ||
| 211 | assert(ses); | ||
| 212 | memset(ses,'\0',sizeof *ses); | ||
| 213 | |||
| 214 | return 1; | ||
| 215 | } | ||
| 216 | |||
| 217 | static int dev_crypto_cleanup(EVP_CIPHER_CTX *ctx) | ||
| 218 | { | ||
| 219 | fprintf(stderr,"cleanup %d\n",CDATA(ctx)->ses); | ||
| 220 | if(ioctl(fd,CIOCFSESSION,&CDATA(ctx)->ses) == -1) | ||
| 221 | err("CIOCFSESSION failed"); | ||
| 222 | |||
| 223 | OPENSSL_free(CDATA(ctx)->key); | ||
| 224 | |||
| 225 | return 1; | ||
| 226 | } | ||
| 227 | |||
| 228 | static int dev_crypto_init_key(EVP_CIPHER_CTX *ctx,int cipher, | ||
| 229 | const unsigned char *key,int klen) | ||
| 230 | { | ||
| 231 | if(!dev_crypto_init(CDATA(ctx))) | ||
| 232 | return 0; | ||
| 233 | |||
| 234 | CDATA(ctx)->key=OPENSSL_malloc(MAX_HW_KEY); | ||
| 235 | |||
| 236 | assert(ctx->cipher->iv_len <= MAX_HW_IV); | ||
| 237 | |||
| 238 | memcpy(CDATA(ctx)->key,key,klen); | ||
| 239 | |||
| 240 | CDATA(ctx)->cipher=cipher; | ||
| 241 | CDATA(ctx)->keylen=klen; | ||
| 242 | |||
| 243 | if (ioctl(fd,CIOCGSESSION,CDATA(ctx)) == -1) | ||
| 244 | { | ||
| 245 | err("CIOCGSESSION failed"); | ||
| 246 | return 0; | ||
| 247 | } | ||
| 248 | return 1; | ||
| 249 | } | ||
| 250 | |||
| 251 | static int dev_crypto_cipher(EVP_CIPHER_CTX *ctx,unsigned char *out, | ||
| 252 | const unsigned char *in,unsigned int inl) | ||
| 253 | { | ||
| 254 | struct crypt_op cryp; | ||
| 255 | unsigned char lb[MAX_HW_IV]; | ||
| 256 | |||
| 257 | if(!inl) | ||
| 258 | return 1; | ||
| 259 | |||
| 260 | assert(CDATA(ctx)); | ||
| 261 | assert(!dev_failed); | ||
| 262 | |||
| 263 | memset(&cryp,'\0',sizeof cryp); | ||
| 264 | cryp.ses=CDATA(ctx)->ses; | ||
| 265 | cryp.op=ctx->encrypt ? COP_ENCRYPT : COP_DECRYPT; | ||
| 266 | cryp.flags=0; | ||
| 267 | cryp.len=inl; | ||
| 268 | assert((inl&(ctx->cipher->block_size-1)) == 0); | ||
| 269 | cryp.src=(caddr_t)in; | ||
| 270 | cryp.dst=(caddr_t)out; | ||
| 271 | cryp.mac=0; | ||
| 272 | if(ctx->cipher->iv_len) | ||
| 273 | cryp.iv=(caddr_t)ctx->iv; | ||
| 274 | |||
| 275 | if(!ctx->encrypt) | ||
| 276 | memcpy(lb,&in[cryp.len-ctx->cipher->iv_len],ctx->cipher->iv_len); | ||
| 277 | |||
| 278 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | ||
| 279 | { | ||
| 280 | if(errno == EINVAL) /* buffers are misaligned */ | ||
| 281 | { | ||
| 282 | unsigned int cinl=0; | ||
| 283 | char *cin=NULL; | ||
| 284 | char *cout=NULL; | ||
| 285 | |||
| 286 | /* NB: this can only make cinl != inl with stream ciphers */ | ||
| 287 | cinl=(inl+3)/4*4; | ||
| 288 | |||
| 289 | if(((unsigned long)in&3) || cinl != inl) | ||
| 290 | { | ||
| 291 | cin=OPENSSL_malloc(cinl); | ||
| 292 | memcpy(cin,in,inl); | ||
| 293 | cryp.src=cin; | ||
| 294 | } | ||
| 295 | |||
| 296 | if(((unsigned long)out&3) || cinl != inl) | ||
| 297 | { | ||
| 298 | cout=OPENSSL_malloc(cinl); | ||
| 299 | cryp.dst=cout; | ||
| 300 | } | ||
| 301 | |||
| 302 | cryp.len=cinl; | ||
| 303 | |||
| 304 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | ||
| 305 | { | ||
| 306 | err("CIOCCRYPT(2) failed"); | ||
| 307 | printf("src=%p dst=%p\n",cryp.src,cryp.dst); | ||
| 308 | abort(); | ||
| 309 | return 0; | ||
| 310 | } | ||
| 311 | |||
| 312 | if(cout) | ||
| 313 | { | ||
| 314 | memcpy(out,cout,inl); | ||
| 315 | OPENSSL_free(cout); | ||
| 316 | } | ||
| 317 | if(cin) | ||
| 318 | OPENSSL_free(cin); | ||
| 319 | } | ||
| 320 | else | ||
| 321 | { | ||
| 322 | err("CIOCCRYPT failed"); | ||
| 323 | abort(); | ||
| 324 | return 0; | ||
| 325 | } | ||
| 326 | } | ||
| 327 | |||
| 328 | if(ctx->encrypt) | ||
| 329 | memcpy(ctx->iv,&out[cryp.len-ctx->cipher->iv_len],ctx->cipher->iv_len); | ||
| 330 | else | ||
| 331 | memcpy(ctx->iv,lb,ctx->cipher->iv_len); | ||
| 332 | |||
| 333 | return 1; | ||
| 334 | } | ||
| 335 | |||
| 336 | static int dev_crypto_des_ede3_init_key(EVP_CIPHER_CTX *ctx, | ||
| 337 | const unsigned char *key, | ||
| 338 | const unsigned char *iv, int enc) | ||
| 339 | { return dev_crypto_init_key(ctx,CRYPTO_3DES_CBC,key,24); } | ||
| 340 | |||
| 341 | static int dev_crypto_rc4_init_key(EVP_CIPHER_CTX *ctx, | ||
| 342 | const unsigned char *key, | ||
| 343 | const unsigned char *iv, int enc) | ||
| 344 | { return dev_crypto_init_key(ctx,CRYPTO_ARC4,key,16); } | ||
| 345 | |||
| 346 | typedef struct | ||
| 347 | { | ||
| 348 | session_op sess; | ||
| 349 | char *data; | ||
| 350 | int len; | ||
| 351 | unsigned char md[EVP_MAX_MD_SIZE]; | ||
| 352 | } MD_DATA; | ||
| 353 | |||
| 354 | static int dev_crypto_init_digest(MD_DATA *md_data,int mac) | ||
| 355 | { | ||
| 356 | if(!dev_crypto_init(&md_data->sess)) | ||
| 357 | return 0; | ||
| 358 | |||
| 359 | md_data->len=0; | ||
| 360 | md_data->data=NULL; | ||
| 361 | |||
| 362 | md_data->sess.mac=mac; | ||
| 363 | |||
| 364 | if (ioctl(fd,CIOCGSESSION,&md_data->sess) == -1) | ||
| 365 | { | ||
| 366 | err("CIOCGSESSION failed"); | ||
| 367 | return 0; | ||
| 368 | } | ||
| 369 | fprintf(stderr,"opened %d\n",md_data->sess.ses); | ||
| 370 | return 1; | ||
| 371 | } | ||
| 372 | |||
| 373 | static int dev_crypto_cleanup_digest(MD_DATA *md_data) | ||
| 374 | { | ||
| 375 | fprintf(stderr,"cleanup %d\n",md_data->sess.ses); | ||
| 376 | if (ioctl(fd,CIOCFSESSION,&md_data->sess.ses) == -1) | ||
| 377 | { | ||
| 378 | err("CIOCFSESSION failed"); | ||
| 379 | return 0; | ||
| 380 | } | ||
| 381 | |||
| 382 | return 1; | ||
| 383 | } | ||
| 384 | |||
| 385 | /* FIXME: if device can do chained MACs, then don't accumulate */ | ||
| 386 | /* FIXME: move accumulation to the framework */ | ||
| 387 | static int dev_crypto_md5_init(EVP_MD_CTX *ctx) | ||
| 388 | { return dev_crypto_init_digest(ctx->md_data,CRYPTO_MD5); } | ||
| 389 | |||
| 390 | static int do_digest(int ses,unsigned char *md,const void *data,int len) | ||
| 391 | { | ||
| 392 | struct crypt_op cryp; | ||
| 393 | static unsigned char md5zero[16]= | ||
| 394 | { | ||
| 395 | 0xd4,0x1d,0x8c,0xd9,0x8f,0x00,0xb2,0x04, | ||
| 396 | 0xe9,0x80,0x09,0x98,0xec,0xf8,0x42,0x7e | ||
| 397 | }; | ||
| 398 | |||
| 399 | /* some cards can't do zero length */ | ||
| 400 | if(!len) | ||
| 401 | { | ||
| 402 | memcpy(md,md5zero,16); | ||
| 403 | return 1; | ||
| 404 | } | ||
| 405 | |||
| 406 | memset(&cryp,'\0',sizeof cryp); | ||
| 407 | cryp.ses=ses; | ||
| 408 | cryp.op=COP_ENCRYPT;/* required to do the MAC rather than check it */ | ||
| 409 | cryp.len=len; | ||
| 410 | cryp.src=(caddr_t)data; | ||
| 411 | cryp.dst=(caddr_t)data; // FIXME!!! | ||
| 412 | cryp.mac=(caddr_t)md; | ||
| 413 | |||
| 414 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | ||
| 415 | { | ||
| 416 | if(errno == EINVAL && allow_misaligned) /* buffer is misaligned */ | ||
| 417 | { | ||
| 418 | char *dcopy; | ||
| 419 | |||
| 420 | dcopy=OPENSSL_malloc(len); | ||
| 421 | memcpy(dcopy,data,len); | ||
| 422 | cryp.src=dcopy; | ||
| 423 | cryp.dst=cryp.src; // FIXME!!! | ||
| 424 | |||
| 425 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | ||
| 426 | { | ||
| 427 | err("CIOCCRYPT(MAC2) failed"); | ||
| 428 | abort(); | ||
| 429 | return 0; | ||
| 430 | } | ||
| 431 | OPENSSL_free(dcopy); | ||
| 432 | } | ||
| 433 | else | ||
| 434 | { | ||
| 435 | err("CIOCCRYPT(MAC) failed"); | ||
| 436 | abort(); | ||
| 437 | return 0; | ||
| 438 | } | ||
| 439 | } | ||
| 440 | // printf("done\n"); | ||
| 441 | |||
| 442 | return 1; | ||
| 443 | } | ||
| 444 | |||
| 445 | static int dev_crypto_md5_update(EVP_MD_CTX *ctx,const void *data, | ||
| 446 | unsigned long len) | ||
| 447 | { | ||
| 448 | MD_DATA *md_data=ctx->md_data; | ||
| 449 | |||
| 450 | if(ctx->flags&EVP_MD_CTX_FLAG_ONESHOT) | ||
| 451 | return do_digest(md_data->sess.ses,md_data->md,data,len); | ||
| 452 | |||
| 453 | md_data->data=OPENSSL_realloc(md_data->data,md_data->len+len); | ||
| 454 | memcpy(md_data->data+md_data->len,data,len); | ||
| 455 | md_data->len+=len; | ||
| 456 | |||
| 457 | return 1; | ||
| 458 | } | ||
| 459 | |||
| 460 | static int dev_crypto_md5_final(EVP_MD_CTX *ctx,unsigned char *md) | ||
| 461 | { | ||
| 462 | int ret; | ||
| 463 | MD_DATA *md_data=ctx->md_data; | ||
| 464 | |||
| 465 | if(ctx->flags&EVP_MD_CTX_FLAG_ONESHOT) | ||
| 466 | { | ||
| 467 | memcpy(md,md_data->md,MD5_DIGEST_LENGTH); | ||
| 468 | ret=1; | ||
| 469 | } | ||
| 470 | else | ||
| 471 | { | ||
| 472 | ret=do_digest(md_data->sess.ses,md,md_data->data,md_data->len); | ||
| 473 | OPENSSL_free(md_data->data); | ||
| 474 | md_data->data=NULL; | ||
| 475 | md_data->len=0; | ||
| 476 | } | ||
| 477 | |||
| 478 | return ret; | ||
| 479 | } | ||
| 480 | |||
| 481 | static int dev_crypto_md5_copy(EVP_MD_CTX *to,const EVP_MD_CTX *from) | ||
| 482 | { | ||
| 483 | const MD_DATA *from_md=from->md_data; | ||
| 484 | MD_DATA *to_md=to->md_data; | ||
| 485 | |||
| 486 | // How do we copy sessions? | ||
| 487 | assert(from->digest->flags&EVP_MD_FLAG_ONESHOT); | ||
| 488 | |||
| 489 | to_md->data=OPENSSL_malloc(from_md->len); | ||
| 490 | memcpy(to_md->data,from_md->data,from_md->len); | ||
| 491 | |||
| 492 | return 1; | ||
| 493 | } | ||
| 494 | |||
| 495 | static int dev_crypto_md5_cleanup(EVP_MD_CTX *ctx) | ||
| 496 | { | ||
| 497 | return dev_crypto_cleanup_digest(ctx->md_data); | ||
| 498 | } | ||
| 499 | |||
| 500 | /**************************************************************************/ | ||
| 501 | /* Here are the moved declarations of the EVP_CIPHER and EVP_MD */ | ||
| 502 | /* implementations. They're down here to be within easy editor-distance */ | ||
| 503 | /* of the digests and ciphers handler functions. */ | ||
| 504 | |||
| 505 | #define dev_crypto_des_ede3_cbc_cipher dev_crypto_cipher | ||
| 506 | |||
| 507 | BLOCK_CIPHER_def_cbc(dev_crypto_des_ede3, session_op, NID_des_ede3, 8, 24, 8, | ||
| 508 | 0, dev_crypto_des_ede3_init_key, | ||
| 509 | dev_crypto_cleanup, | ||
| 510 | EVP_CIPHER_set_asn1_iv, | ||
| 511 | EVP_CIPHER_get_asn1_iv, | ||
| 512 | NULL) | ||
| 513 | |||
| 514 | static const EVP_CIPHER r4_cipher= | ||
| 515 | { | ||
| 516 | NID_rc4, | ||
| 517 | 1,16,0, /* FIXME: key should be up to 256 bytes */ | ||
| 518 | EVP_CIPH_VARIABLE_LENGTH, | ||
| 519 | dev_crypto_rc4_init_key, | ||
| 520 | dev_crypto_cipher, | ||
| 521 | dev_crypto_cleanup, | ||
| 522 | sizeof(session_op), | ||
| 523 | NULL, | ||
| 524 | NULL, | ||
| 525 | NULL | ||
| 526 | }; | ||
| 527 | |||
| 528 | static const EVP_MD md5_md= | ||
| 529 | { | ||
| 530 | NID_md5, | ||
| 531 | NID_md5WithRSAEncryption, | ||
| 532 | MD5_DIGEST_LENGTH, | ||
| 533 | EVP_MD_FLAG_ONESHOT, // XXX: set according to device info... | ||
| 534 | dev_crypto_md5_init, | ||
| 535 | dev_crypto_md5_update, | ||
| 536 | dev_crypto_md5_final, | ||
| 537 | dev_crypto_md5_copy, | ||
| 538 | dev_crypto_md5_cleanup, | ||
| 539 | EVP_PKEY_RSA_method, | ||
| 540 | MD5_CBLOCK, | ||
| 541 | sizeof(MD_DATA), | ||
| 542 | }; | ||
| 543 | |||
| 544 | /****************************************************************/ | ||
| 545 | /* Implement the dev_crypto_[ciphers|digests] handlers here ... */ | ||
| 546 | |||
| 547 | static int cipher_nids[] = {NID_des_ede3_cbc, NID_rc4}; | ||
| 548 | static int cipher_nids_num = 2; | ||
| 549 | static int digest_nids[] = {NID_md5}; | ||
| 550 | static int digest_nids_num = 1; | ||
| 551 | |||
| 552 | static int dev_crypto_ciphers(ENGINE *e, const EVP_CIPHER **cipher, | ||
| 553 | const int **nids, int nid) | ||
| 554 | { | ||
| 555 | if(!cipher) | ||
| 556 | { | ||
| 557 | /* We are returning a list of supported nids */ | ||
| 558 | *nids = cipher_nids; | ||
| 559 | return cipher_nids_num; | ||
| 560 | } | ||
| 561 | /* We are being asked for a specific cipher */ | ||
| 562 | if(nid == NID_rc4) | ||
| 563 | *cipher = &r4_cipher; | ||
| 564 | else if(nid == NID_des_ede3_cbc) | ||
| 565 | *cipher = &dev_crypto_des_ede3_cbc; | ||
| 566 | else | ||
| 567 | { | ||
| 568 | *cipher = NULL; | ||
| 569 | return 0; | ||
| 570 | } | ||
| 571 | return 1; | ||
| 572 | } | ||
| 573 | |||
| 574 | static int dev_crypto_digests(ENGINE *e, const EVP_MD **digest, | ||
| 575 | const int **nids, int nid) | ||
| 576 | { | ||
| 577 | if(!digest) | ||
| 578 | { | ||
| 579 | /* We are returning a list of supported nids */ | ||
| 580 | *nids = digest_nids; | ||
| 581 | return digest_nids_num; | ||
| 582 | } | ||
| 583 | /* We are being asked for a specific digest */ | ||
| 584 | if(nid == NID_md5) | ||
| 585 | *digest = &md5_md; | ||
| 586 | else | ||
| 587 | { | ||
| 588 | *digest = NULL; | ||
| 589 | return 0; | ||
| 590 | } | ||
| 591 | return 1; | ||
| 592 | } | ||
| 593 | |||
| 594 | #endif /* OPENSSL_OPENBSD_DEV_CRYPTO */ | ||
diff --git a/src/lib/libcrypto/err/Makefile.ssl b/src/lib/libcrypto/err/Makefile.ssl new file mode 100644 index 0000000000..2946c00ead --- /dev/null +++ b/src/lib/libcrypto/err/Makefile.ssl | |||
| @@ -0,0 +1,112 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/err/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= err | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=err.c err_all.c err_prn.c | ||
| 27 | LIBOBJ=err.o err_all.o err_prn.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= err.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | err.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
| 83 | err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 84 | err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 85 | err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 86 | err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 87 | err.o: ../../include/openssl/symhacks.h ../cryptlib.h err.c | ||
| 88 | err_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 89 | err_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 90 | err_all.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 91 | err_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 92 | err_all.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 93 | err_all.o: ../../include/openssl/ec.h ../../include/openssl/engine.h | ||
| 94 | err_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 95 | err_all.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 96 | err_all.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h | ||
| 97 | err_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 98 | err_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem2.h | ||
| 99 | err_all.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 100 | err_all.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 101 | err_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 102 | err_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 103 | err_all.o: ../../include/openssl/ui.h ../../include/openssl/x509.h | ||
| 104 | err_all.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 105 | err_all.o: err_all.c | ||
| 106 | err_prn.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 107 | err_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 108 | err_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 109 | err_prn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 110 | err_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 111 | err_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 112 | err_prn.o: ../cryptlib.h err_prn.c | ||
diff --git a/src/lib/libcrypto/evp/Makefile.ssl b/src/lib/libcrypto/evp/Makefile.ssl new file mode 100644 index 0000000000..3902ca0a18 --- /dev/null +++ b/src/lib/libcrypto/evp/Makefile.ssl | |||
| @@ -0,0 +1,662 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/evp/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= evp | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST=evp_test.c | ||
| 23 | TESTDATA=evptests.txt | ||
| 24 | APPS= | ||
| 25 | |||
| 26 | LIB=$(TOP)/libcrypto.a | ||
| 27 | LIBSRC= encode.c digest.c evp_enc.c evp_key.c evp_acnf.c \ | ||
| 28 | e_des.c e_bf.c e_idea.c e_des3.c \ | ||
| 29 | e_rc4.c e_aes.c names.c \ | ||
| 30 | e_xcbc_d.c e_rc2.c e_cast.c e_rc5.c \ | ||
| 31 | m_null.c m_md2.c m_md4.c m_md5.c m_sha.c m_sha1.c \ | ||
| 32 | m_dss.c m_dss1.c m_mdc2.c m_ripemd.c \ | ||
| 33 | p_open.c p_seal.c p_sign.c p_verify.c p_lib.c p_enc.c p_dec.c \ | ||
| 34 | bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c \ | ||
| 35 | c_all.c c_allc.c c_alld.c evp_lib.c bio_ok.c \ | ||
| 36 | evp_pkey.c evp_pbe.c p5_crpt.c p5_crpt2.c | ||
| 37 | |||
| 38 | LIBOBJ= encode.o digest.o evp_enc.o evp_key.o evp_acnf.o \ | ||
| 39 | e_des.o e_bf.o e_idea.o e_des3.o \ | ||
| 40 | e_rc4.o e_aes.o names.o \ | ||
| 41 | e_xcbc_d.o e_rc2.o e_cast.o e_rc5.o \ | ||
| 42 | m_null.o m_md2.o m_md4.o m_md5.o m_sha.o m_sha1.o \ | ||
| 43 | m_dss.o m_dss1.o m_mdc2.o m_ripemd.o \ | ||
| 44 | p_open.o p_seal.o p_sign.o p_verify.o p_lib.o p_enc.o p_dec.o \ | ||
| 45 | bio_md.o bio_b64.o bio_enc.o evp_err.o e_null.o \ | ||
| 46 | c_all.o c_allc.o c_alld.o evp_lib.o bio_ok.o \ | ||
| 47 | evp_pkey.o evp_pbe.o p5_crpt.o p5_crpt2.o | ||
| 48 | |||
| 49 | SRC= $(LIBSRC) | ||
| 50 | |||
| 51 | EXHEADER= evp.h | ||
| 52 | HEADER= $(EXHEADER) | ||
| 53 | |||
| 54 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 55 | |||
| 56 | top: | ||
| 57 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 58 | |||
| 59 | all: lib | ||
| 60 | |||
| 61 | lib: $(LIBOBJ) | ||
| 62 | $(AR) $(LIB) $(LIBOBJ) | ||
| 63 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 64 | @touch lib | ||
| 65 | |||
| 66 | files: | ||
| 67 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 68 | |||
| 69 | links: | ||
| 70 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 71 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 72 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 73 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TESTDATA) | ||
| 74 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 75 | |||
| 76 | install: | ||
| 77 | @for i in $(EXHEADER) ; \ | ||
| 78 | do \ | ||
| 79 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 80 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 81 | done; | ||
| 82 | |||
| 83 | tags: | ||
| 84 | ctags $(SRC) | ||
| 85 | |||
| 86 | tests: | ||
| 87 | |||
| 88 | lint: | ||
| 89 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 90 | |||
| 91 | depend: | ||
| 92 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | ||
| 93 | |||
| 94 | dclean: | ||
| 95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 96 | mv -f Makefile.new $(MAKEFILE) | ||
| 97 | |||
| 98 | clean: | ||
| 99 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 100 | |||
| 101 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 102 | |||
| 103 | bio_b64.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 104 | bio_b64.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 105 | bio_b64.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 106 | bio_b64.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 107 | bio_b64.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 108 | bio_b64.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 109 | bio_b64.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 110 | bio_b64.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 111 | bio_b64.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 112 | bio_b64.o: ../cryptlib.h bio_b64.c | ||
| 113 | bio_enc.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 114 | bio_enc.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 115 | bio_enc.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 116 | bio_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 117 | bio_enc.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 118 | bio_enc.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 119 | bio_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 120 | bio_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 121 | bio_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 122 | bio_enc.o: ../cryptlib.h bio_enc.c | ||
| 123 | bio_md.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 124 | bio_md.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 125 | bio_md.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 126 | bio_md.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 127 | bio_md.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 128 | bio_md.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 129 | bio_md.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 130 | bio_md.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 131 | bio_md.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_md.c | ||
| 132 | bio_ok.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 133 | bio_ok.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 134 | bio_ok.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 135 | bio_ok.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 136 | bio_ok.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 137 | bio_ok.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 138 | bio_ok.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 139 | bio_ok.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 140 | bio_ok.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 141 | bio_ok.o: ../cryptlib.h bio_ok.c | ||
| 142 | c_all.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 143 | c_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 144 | c_all.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 145 | c_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 146 | c_all.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 147 | c_all.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 148 | c_all.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 149 | c_all.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 150 | c_all.o: ../../include/openssl/symhacks.h ../cryptlib.h c_all.c | ||
| 151 | c_allc.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 152 | c_allc.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 153 | c_allc.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 154 | c_allc.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 155 | c_allc.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 156 | c_allc.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 157 | c_allc.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 158 | c_allc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 159 | c_allc.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 160 | c_allc.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 161 | c_allc.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 162 | c_allc.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 163 | c_allc.o: ../../include/openssl/x509_vfy.h ../cryptlib.h c_allc.c | ||
| 164 | c_alld.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 165 | c_alld.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 166 | c_alld.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 167 | c_alld.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 168 | c_alld.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 169 | c_alld.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 170 | c_alld.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 171 | c_alld.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 172 | c_alld.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 173 | c_alld.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 174 | c_alld.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 175 | c_alld.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 176 | c_alld.o: ../../include/openssl/x509_vfy.h ../cryptlib.h c_alld.c | ||
| 177 | digest.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 178 | digest.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 179 | digest.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 180 | digest.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 181 | digest.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 182 | digest.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 183 | digest.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 184 | digest.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 185 | digest.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 186 | digest.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 187 | digest.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 188 | digest.o: ../../include/openssl/ui.h ../cryptlib.h digest.c | ||
| 189 | e_aes.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h | ||
| 190 | e_aes.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 191 | e_aes.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 192 | e_aes.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 193 | e_aes.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 194 | e_aes.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 195 | e_aes.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 196 | e_aes.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 197 | e_aes.o: ../../include/openssl/symhacks.h e_aes.c evp_locl.h | ||
| 198 | e_bf.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 199 | e_bf.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | ||
| 200 | e_bf.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 201 | e_bf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 202 | e_bf.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 203 | e_bf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 204 | e_bf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 205 | e_bf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 206 | e_bf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 207 | e_bf.o: ../cryptlib.h e_bf.c evp_locl.h | ||
| 208 | e_cast.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 209 | e_cast.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 210 | e_cast.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h | ||
| 211 | e_cast.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 212 | e_cast.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 213 | e_cast.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 214 | e_cast.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 215 | e_cast.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 216 | e_cast.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 217 | e_cast.o: ../cryptlib.h e_cast.c evp_locl.h | ||
| 218 | e_des.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 219 | e_des.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 220 | e_des.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 221 | e_des.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 222 | e_des.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 223 | e_des.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 224 | e_des.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 225 | e_des.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 226 | e_des.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 227 | e_des.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 228 | e_des.o: ../../include/openssl/ui_compat.h ../cryptlib.h e_des.c evp_locl.h | ||
| 229 | e_des3.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 230 | e_des3.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 231 | e_des3.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 232 | e_des3.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 233 | e_des3.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 234 | e_des3.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 235 | e_des3.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 236 | e_des3.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 237 | e_des3.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 238 | e_des3.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 239 | e_des3.o: ../../include/openssl/ui_compat.h ../cryptlib.h e_des3.c evp_locl.h | ||
| 240 | e_idea.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 241 | e_idea.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 242 | e_idea.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 243 | e_idea.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 244 | e_idea.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h | ||
| 245 | e_idea.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 246 | e_idea.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 247 | e_idea.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 248 | e_idea.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 249 | e_idea.o: ../cryptlib.h e_idea.c evp_locl.h | ||
| 250 | e_null.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 251 | e_null.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 252 | e_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 253 | e_null.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 254 | e_null.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 255 | e_null.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 256 | e_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 257 | e_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 258 | e_null.o: ../../include/openssl/symhacks.h ../cryptlib.h e_null.c | ||
| 259 | e_rc2.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 260 | e_rc2.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 261 | e_rc2.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 262 | e_rc2.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 263 | e_rc2.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 264 | e_rc2.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 265 | e_rc2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 266 | e_rc2.o: ../../include/openssl/rc2.h ../../include/openssl/safestack.h | ||
| 267 | e_rc2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 268 | e_rc2.o: ../cryptlib.h e_rc2.c evp_locl.h | ||
| 269 | e_rc4.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 270 | e_rc4.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 271 | e_rc4.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 272 | e_rc4.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 273 | e_rc4.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 274 | e_rc4.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 275 | e_rc4.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 276 | e_rc4.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h | ||
| 277 | e_rc4.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 278 | e_rc4.o: ../cryptlib.h e_rc4.c | ||
| 279 | e_rc5.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 280 | e_rc5.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 281 | e_rc5.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 282 | e_rc5.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 283 | e_rc5.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 284 | e_rc5.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 285 | e_rc5.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 286 | e_rc5.o: ../../include/openssl/rc5.h ../../include/openssl/safestack.h | ||
| 287 | e_rc5.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 288 | e_rc5.o: ../cryptlib.h e_rc5.c evp_locl.h | ||
| 289 | e_xcbc_d.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 290 | e_xcbc_d.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 291 | e_xcbc_d.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 292 | e_xcbc_d.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 293 | e_xcbc_d.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 294 | e_xcbc_d.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 295 | e_xcbc_d.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 296 | e_xcbc_d.o: ../../include/openssl/opensslconf.h | ||
| 297 | e_xcbc_d.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 298 | e_xcbc_d.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 299 | e_xcbc_d.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 300 | e_xcbc_d.o: ../../include/openssl/ui_compat.h ../cryptlib.h e_xcbc_d.c | ||
| 301 | encode.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 302 | encode.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 303 | encode.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 304 | encode.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 305 | encode.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 306 | encode.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 307 | encode.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 308 | encode.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 309 | encode.o: ../../include/openssl/symhacks.h ../cryptlib.h encode.c | ||
| 310 | evp_acnf.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 311 | evp_acnf.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 312 | evp_acnf.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 313 | evp_acnf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 314 | evp_acnf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 315 | evp_acnf.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
| 316 | evp_acnf.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 317 | evp_acnf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 318 | evp_acnf.o: ../../include/openssl/opensslconf.h | ||
| 319 | evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 320 | evp_acnf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 321 | evp_acnf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 322 | evp_acnf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 323 | evp_acnf.o: ../cryptlib.h evp_acnf.c | ||
| 324 | evp_enc.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 325 | evp_enc.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 326 | evp_enc.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 327 | evp_enc.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 328 | evp_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 329 | evp_enc.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 330 | evp_enc.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 331 | evp_enc.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 332 | evp_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 333 | evp_enc.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 334 | evp_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 335 | evp_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 336 | evp_enc.o: ../cryptlib.h evp_enc.c evp_locl.h | ||
| 337 | evp_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 338 | evp_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 339 | evp_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 340 | evp_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 341 | evp_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 342 | evp_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 343 | evp_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 344 | evp_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 345 | evp_err.o: evp_err.c | ||
| 346 | evp_key.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 347 | evp_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 348 | evp_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 349 | evp_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 350 | evp_key.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 351 | evp_key.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 352 | evp_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 353 | evp_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 354 | evp_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 355 | evp_key.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 356 | evp_key.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 357 | evp_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 358 | evp_key.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 359 | evp_key.o: ../cryptlib.h evp_key.c | ||
| 360 | evp_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 361 | evp_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 362 | evp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 363 | evp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 364 | evp_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 365 | evp_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 366 | evp_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 367 | evp_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 368 | evp_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 369 | evp_lib.o: ../cryptlib.h evp_lib.c | ||
| 370 | evp_pbe.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 371 | evp_pbe.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 372 | evp_pbe.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 373 | evp_pbe.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 374 | evp_pbe.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 375 | evp_pbe.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 376 | evp_pbe.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 377 | evp_pbe.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 378 | evp_pbe.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 379 | evp_pbe.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 380 | evp_pbe.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 381 | evp_pbe.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 382 | evp_pbe.o: ../../include/openssl/x509_vfy.h ../cryptlib.h evp_pbe.c | ||
| 383 | evp_pkey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 384 | evp_pkey.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 385 | evp_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 386 | evp_pkey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 387 | evp_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 388 | evp_pkey.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 389 | evp_pkey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 390 | evp_pkey.o: ../../include/openssl/opensslconf.h | ||
| 391 | evp_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 392 | evp_pkey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 393 | evp_pkey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 394 | evp_pkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 395 | evp_pkey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 396 | evp_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h evp_pkey.c | ||
| 397 | m_dss.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 398 | m_dss.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 399 | m_dss.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 400 | m_dss.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 401 | m_dss.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 402 | m_dss.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 403 | m_dss.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 404 | m_dss.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 405 | m_dss.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 406 | m_dss.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 407 | m_dss.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 408 | m_dss.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 409 | m_dss.o: ../cryptlib.h m_dss.c | ||
| 410 | m_dss1.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 411 | m_dss1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 412 | m_dss1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 413 | m_dss1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 414 | m_dss1.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 415 | m_dss1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 416 | m_dss1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 417 | m_dss1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 418 | m_dss1.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 419 | m_dss1.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 420 | m_dss1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 421 | m_dss1.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 422 | m_dss1.o: ../cryptlib.h m_dss1.c | ||
| 423 | m_md2.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 424 | m_md2.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 425 | m_md2.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 426 | m_md2.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 427 | m_md2.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 428 | m_md2.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | ||
| 429 | m_md2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 430 | m_md2.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 431 | m_md2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 432 | m_md2.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 433 | m_md2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 434 | m_md2.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 435 | m_md2.o: ../../include/openssl/x509_vfy.h ../cryptlib.h m_md2.c | ||
| 436 | m_md4.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 437 | m_md4.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 438 | m_md4.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 439 | m_md4.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 440 | m_md4.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 441 | m_md4.o: ../../include/openssl/lhash.h ../../include/openssl/md4.h | ||
| 442 | m_md4.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 443 | m_md4.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 444 | m_md4.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 445 | m_md4.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 446 | m_md4.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 447 | m_md4.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 448 | m_md4.o: ../../include/openssl/x509_vfy.h ../cryptlib.h m_md4.c | ||
| 449 | m_md5.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 450 | m_md5.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 451 | m_md5.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 452 | m_md5.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 453 | m_md5.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 454 | m_md5.o: ../../include/openssl/lhash.h ../../include/openssl/md5.h | ||
| 455 | m_md5.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 456 | m_md5.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 457 | m_md5.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 458 | m_md5.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 459 | m_md5.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 460 | m_md5.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 461 | m_md5.o: ../../include/openssl/x509_vfy.h ../cryptlib.h m_md5.c | ||
| 462 | m_mdc2.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 463 | m_mdc2.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 464 | m_mdc2.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 465 | m_mdc2.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h | ||
| 466 | m_mdc2.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 467 | m_mdc2.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 468 | m_mdc2.o: ../../include/openssl/lhash.h ../../include/openssl/mdc2.h | ||
| 469 | m_mdc2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 470 | m_mdc2.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 471 | m_mdc2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 472 | m_mdc2.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 473 | m_mdc2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 474 | m_mdc2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 475 | m_mdc2.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h | ||
| 476 | m_mdc2.o: ../../include/openssl/x509_vfy.h ../cryptlib.h m_mdc2.c | ||
| 477 | m_null.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 478 | m_null.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 479 | m_null.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 480 | m_null.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 481 | m_null.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 482 | m_null.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 483 | m_null.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 484 | m_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 485 | m_null.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 486 | m_null.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 487 | m_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 488 | m_null.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 489 | m_null.o: ../cryptlib.h m_null.c | ||
| 490 | m_ripemd.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 491 | m_ripemd.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 492 | m_ripemd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 493 | m_ripemd.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 494 | m_ripemd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 495 | m_ripemd.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 496 | m_ripemd.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 497 | m_ripemd.o: ../../include/openssl/opensslconf.h | ||
| 498 | m_ripemd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 499 | m_ripemd.o: ../../include/openssl/pkcs7.h ../../include/openssl/ripemd.h | ||
| 500 | m_ripemd.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 501 | m_ripemd.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 502 | m_ripemd.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 503 | m_ripemd.o: ../../include/openssl/x509_vfy.h ../cryptlib.h m_ripemd.c | ||
| 504 | m_sha.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 505 | m_sha.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 506 | m_sha.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 507 | m_sha.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 508 | m_sha.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 509 | m_sha.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 510 | m_sha.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 511 | m_sha.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 512 | m_sha.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 513 | m_sha.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 514 | m_sha.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 515 | m_sha.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 516 | m_sha.o: ../cryptlib.h m_sha.c | ||
| 517 | m_sha1.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 518 | m_sha1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 519 | m_sha1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 520 | m_sha1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 521 | m_sha1.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 522 | m_sha1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 523 | m_sha1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 524 | m_sha1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 525 | m_sha1.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 526 | m_sha1.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 527 | m_sha1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 528 | m_sha1.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 529 | m_sha1.o: ../cryptlib.h m_sha1.c | ||
| 530 | names.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 531 | names.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 532 | names.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 533 | names.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 534 | names.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 535 | names.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 536 | names.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 537 | names.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 538 | names.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 539 | names.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 540 | names.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 541 | names.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 542 | names.o: ../cryptlib.h names.c | ||
| 543 | p5_crpt.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 544 | p5_crpt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 545 | p5_crpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 546 | p5_crpt.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 547 | p5_crpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 548 | p5_crpt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 549 | p5_crpt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 550 | p5_crpt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 551 | p5_crpt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 552 | p5_crpt.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 553 | p5_crpt.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 554 | p5_crpt.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 555 | p5_crpt.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p5_crpt.c | ||
| 556 | p5_crpt2.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 557 | p5_crpt2.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 558 | p5_crpt2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 559 | p5_crpt2.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 560 | p5_crpt2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 561 | p5_crpt2.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h | ||
| 562 | p5_crpt2.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 563 | p5_crpt2.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 564 | p5_crpt2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 565 | p5_crpt2.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 566 | p5_crpt2.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 567 | p5_crpt2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 568 | p5_crpt2.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 569 | p5_crpt2.o: ../cryptlib.h p5_crpt2.c | ||
| 570 | p_dec.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 571 | p_dec.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 572 | p_dec.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 573 | p_dec.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 574 | p_dec.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 575 | p_dec.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 576 | p_dec.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 577 | p_dec.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 578 | p_dec.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 579 | p_dec.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 580 | p_dec.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 581 | p_dec.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 582 | p_dec.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p_dec.c | ||
| 583 | p_enc.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 584 | p_enc.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 585 | p_enc.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 586 | p_enc.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 587 | p_enc.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 588 | p_enc.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 589 | p_enc.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 590 | p_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 591 | p_enc.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 592 | p_enc.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 593 | p_enc.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 594 | p_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 595 | p_enc.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p_enc.c | ||
| 596 | p_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 597 | p_lib.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | ||
| 598 | p_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 599 | p_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 600 | p_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 601 | p_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 602 | p_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 603 | p_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 604 | p_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 605 | p_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 606 | p_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 607 | p_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 608 | p_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 609 | p_lib.o: ../cryptlib.h p_lib.c | ||
| 610 | p_open.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 611 | p_open.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 612 | p_open.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 613 | p_open.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 614 | p_open.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 615 | p_open.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 616 | p_open.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 617 | p_open.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 618 | p_open.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 619 | p_open.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 620 | p_open.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 621 | p_open.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 622 | p_open.o: ../cryptlib.h p_open.c | ||
| 623 | p_seal.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 624 | p_seal.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 625 | p_seal.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 626 | p_seal.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 627 | p_seal.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 628 | p_seal.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 629 | p_seal.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 630 | p_seal.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 631 | p_seal.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 632 | p_seal.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 633 | p_seal.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 634 | p_seal.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 635 | p_seal.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p_seal.c | ||
| 636 | p_sign.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 637 | p_sign.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 638 | p_sign.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 639 | p_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 640 | p_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 641 | p_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 642 | p_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 643 | p_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 644 | p_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 645 | p_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 646 | p_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 647 | p_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 648 | p_sign.o: ../cryptlib.h p_sign.c | ||
| 649 | p_verify.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 650 | p_verify.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 651 | p_verify.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 652 | p_verify.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 653 | p_verify.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 654 | p_verify.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 655 | p_verify.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 656 | p_verify.o: ../../include/openssl/opensslconf.h | ||
| 657 | p_verify.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 658 | p_verify.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 659 | p_verify.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 660 | p_verify.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 661 | p_verify.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 662 | p_verify.o: ../cryptlib.h p_verify.c | ||
diff --git a/src/lib/libcrypto/hmac/Makefile.ssl b/src/lib/libcrypto/hmac/Makefile.ssl new file mode 100644 index 0000000000..e6cf1a0879 --- /dev/null +++ b/src/lib/libcrypto/hmac/Makefile.ssl | |||
| @@ -0,0 +1,89 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/md/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= hmac | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST=hmactest.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=hmac.c | ||
| 27 | LIBOBJ=hmac.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= hmac.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | hmac.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 83 | hmac.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 84 | hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h | ||
| 85 | hmac.o: ../../include/openssl/hmac.h ../../include/openssl/obj_mac.h | ||
| 86 | hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 87 | hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 88 | hmac.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 89 | hmac.o: ../../include/openssl/symhacks.h hmac.c | ||
diff --git a/src/lib/libcrypto/idea/Makefile.ssl b/src/lib/libcrypto/idea/Makefile.ssl new file mode 100644 index 0000000000..a3ac920371 --- /dev/null +++ b/src/lib/libcrypto/idea/Makefile.ssl | |||
| @@ -0,0 +1,91 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/idea/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= idea | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST=ideatest.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=i_cbc.c i_cfb64.c i_ofb64.c i_ecb.c i_skey.c | ||
| 27 | LIBOBJ=i_cbc.o i_cfb64.o i_ofb64.o i_ecb.o i_skey.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= idea.h | ||
| 32 | HEADER= idea_lcl.h $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | i_cbc.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h | ||
| 83 | i_cbc.o: i_cbc.c idea_lcl.h | ||
| 84 | i_cfb64.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h | ||
| 85 | i_cfb64.o: i_cfb64.c idea_lcl.h | ||
| 86 | i_ecb.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h | ||
| 87 | i_ecb.o: ../../include/openssl/opensslv.h i_ecb.c idea_lcl.h | ||
| 88 | i_ofb64.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h | ||
| 89 | i_ofb64.o: i_ofb64.c idea_lcl.h | ||
| 90 | i_skey.o: ../../include/openssl/idea.h ../../include/openssl/opensslconf.h | ||
| 91 | i_skey.o: i_skey.c idea_lcl.h | ||
diff --git a/src/lib/libcrypto/krb5/Makefile.ssl b/src/lib/libcrypto/krb5/Makefile.ssl new file mode 100644 index 0000000000..6dd4449e1e --- /dev/null +++ b/src/lib/libcrypto/krb5/Makefile.ssl | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | # | ||
| 2 | # OpenSSL/krb5/Makefile.ssl | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= krb5 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile README | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= krb5_asn.c | ||
| 27 | |||
| 28 | LIBOBJ= krb5_asn.o | ||
| 29 | |||
| 30 | SRC= $(LIBSRC) | ||
| 31 | |||
| 32 | EXHEADER= krb5_asn.h | ||
| 33 | HEADER= $(EXHEADER) | ||
| 34 | |||
| 35 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 36 | |||
| 37 | top: | ||
| 38 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 39 | |||
| 40 | all: lib | ||
| 41 | |||
| 42 | lib: $(LIBOBJ) | ||
| 43 | $(AR) $(LIB) $(LIBOBJ) | ||
| 44 | $(RANLIB) $(LIB) | ||
| 45 | @touch lib | ||
| 46 | |||
| 47 | files: | ||
| 48 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 49 | |||
| 50 | links: | ||
| 51 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | ||
| 52 | $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 53 | $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 54 | $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 55 | |||
| 56 | install: | ||
| 57 | @for i in $(EXHEADER) ; \ | ||
| 58 | do \ | ||
| 59 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 60 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 61 | done; | ||
| 62 | |||
| 63 | tags: | ||
| 64 | ctags $(SRC) | ||
| 65 | |||
| 66 | tests: | ||
| 67 | |||
| 68 | lint: | ||
| 69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 70 | |||
| 71 | depend: | ||
| 72 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | ||
| 73 | |||
| 74 | dclean: | ||
| 75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 76 | mv -f Makefile.new $(MAKEFILE) | ||
| 77 | |||
| 78 | clean: | ||
| 79 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 80 | |||
| 81 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 82 | |||
| 83 | krb5_asn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 84 | krb5_asn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 85 | krb5_asn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 86 | krb5_asn.o: ../../include/openssl/krb5_asn.h | ||
| 87 | krb5_asn.o: ../../include/openssl/opensslconf.h | ||
| 88 | krb5_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 89 | krb5_asn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 90 | krb5_asn.o: ../../include/openssl/symhacks.h krb5_asn.c | ||
diff --git a/src/lib/libcrypto/lhash/Makefile.ssl b/src/lib/libcrypto/lhash/Makefile.ssl new file mode 100644 index 0000000000..a6851bcd36 --- /dev/null +++ b/src/lib/libcrypto/lhash/Makefile.ssl | |||
| @@ -0,0 +1,93 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/lhash/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= lhash | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=lhash.c lh_stats.c | ||
| 27 | LIBOBJ=lhash.o lh_stats.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= lhash.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | lh_stats.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 83 | lh_stats.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 84 | lh_stats.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 85 | lh_stats.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 86 | lh_stats.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 87 | lh_stats.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 88 | lh_stats.o: ../cryptlib.h lh_stats.c | ||
| 89 | lhash.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
| 90 | lhash.o: ../../include/openssl/e_os2.h ../../include/openssl/lhash.h | ||
| 91 | lhash.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 92 | lhash.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 93 | lhash.o: ../../include/openssl/symhacks.h lhash.c | ||
diff --git a/src/lib/libcrypto/md2/Makefile.ssl b/src/lib/libcrypto/md2/Makefile.ssl new file mode 100644 index 0000000000..cd4f42f2ed --- /dev/null +++ b/src/lib/libcrypto/md2/Makefile.ssl | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/md/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= md2 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST=md2test.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=md2_dgst.c md2_one.c | ||
| 27 | LIBOBJ=md2_dgst.o md2_one.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= md2.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h | ||
| 83 | md2_dgst.o: ../../include/openssl/opensslv.h md2_dgst.c | ||
| 84 | md2_one.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 85 | md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 86 | md2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 87 | md2_one.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | ||
| 88 | md2_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 89 | md2_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 90 | md2_one.o: ../../include/openssl/symhacks.h ../cryptlib.h md2_one.c | ||
diff --git a/src/lib/libcrypto/md4/Makefile.ssl b/src/lib/libcrypto/md4/Makefile.ssl new file mode 100644 index 0000000000..12eee13608 --- /dev/null +++ b/src/lib/libcrypto/md4/Makefile.ssl | |||
| @@ -0,0 +1,88 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/md4/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= md4 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 21 | |||
| 22 | GENERAL=Makefile | ||
| 23 | TEST=md4test.c | ||
| 24 | APPS=md4.c | ||
| 25 | |||
| 26 | LIB=$(TOP)/libcrypto.a | ||
| 27 | LIBSRC=md4_dgst.c md4_one.c | ||
| 28 | LIBOBJ=md4_dgst.o md4_one.o | ||
| 29 | |||
| 30 | SRC= $(LIBSRC) | ||
| 31 | |||
| 32 | EXHEADER= md4.h | ||
| 33 | HEADER= md4_locl.h $(EXHEADER) | ||
| 34 | |||
| 35 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 36 | |||
| 37 | top: | ||
| 38 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 39 | |||
| 40 | all: lib | ||
| 41 | |||
| 42 | lib: $(LIBOBJ) | ||
| 43 | $(AR) $(LIB) $(LIBOBJ) | ||
| 44 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 45 | @touch lib | ||
| 46 | |||
| 47 | files: | ||
| 48 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 49 | |||
| 50 | links: | ||
| 51 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 55 | |||
| 56 | install: | ||
| 57 | @for i in $(EXHEADER) ; \ | ||
| 58 | do \ | ||
| 59 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 60 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 61 | done; | ||
| 62 | |||
| 63 | tags: | ||
| 64 | ctags $(SRC) | ||
| 65 | |||
| 66 | tests: | ||
| 67 | |||
| 68 | lint: | ||
| 69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 70 | |||
| 71 | depend: | ||
| 72 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 73 | |||
| 74 | dclean: | ||
| 75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 76 | mv -f Makefile.new $(MAKEFILE) | ||
| 77 | |||
| 78 | clean: | ||
| 79 | rm -f asm/mx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 80 | |||
| 81 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 82 | |||
| 83 | md4_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h | ||
| 84 | md4_dgst.o: ../../include/openssl/opensslconf.h | ||
| 85 | md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c | ||
| 86 | md4_dgst.o: md4_locl.h | ||
| 87 | md4_one.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h | ||
| 88 | md4_one.o: ../../include/openssl/opensslconf.h md4_one.c | ||
diff --git a/src/lib/libcrypto/md5/Makefile.ssl b/src/lib/libcrypto/md5/Makefile.ssl new file mode 100644 index 0000000000..fd0d63c339 --- /dev/null +++ b/src/lib/libcrypto/md5/Makefile.ssl | |||
| @@ -0,0 +1,135 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/md5/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= md5 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | MD5_ASM_OBJ= | ||
| 21 | |||
| 22 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 23 | |||
| 24 | # We let the C compiler driver to take care of .s files. This is done in | ||
| 25 | # order to be excused from maintaining a separate set of architecture | ||
| 26 | # dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC | ||
| 27 | # gcc, then the driver will automatically translate it to -xarch=v8plus | ||
| 28 | # and pass it down to assembler. | ||
| 29 | AS=$(CC) -c | ||
| 30 | ASFLAGS=$(CFLAGS) | ||
| 31 | |||
| 32 | GENERAL=Makefile | ||
| 33 | TEST=md5test.c | ||
| 34 | APPS= | ||
| 35 | |||
| 36 | LIB=$(TOP)/libcrypto.a | ||
| 37 | LIBSRC=md5_dgst.c md5_one.c | ||
| 38 | LIBOBJ=md5_dgst.o md5_one.o $(MD5_ASM_OBJ) | ||
| 39 | |||
| 40 | SRC= $(LIBSRC) | ||
| 41 | |||
| 42 | EXHEADER= md5.h | ||
| 43 | HEADER= md5_locl.h $(EXHEADER) | ||
| 44 | |||
| 45 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 46 | |||
| 47 | top: | ||
| 48 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 49 | |||
| 50 | all: lib | ||
| 51 | |||
| 52 | lib: $(LIBOBJ) | ||
| 53 | $(AR) $(LIB) $(LIBOBJ) | ||
| 54 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 55 | @touch lib | ||
| 56 | |||
| 57 | # elf | ||
| 58 | asm/mx86-elf.o: asm/mx86unix.cpp | ||
| 59 | $(CPP) -DELF -x c asm/mx86unix.cpp | as -o asm/mx86-elf.o | ||
| 60 | |||
| 61 | # solaris | ||
| 62 | asm/mx86-sol.o: asm/mx86unix.cpp | ||
| 63 | $(CC) -E -DSOL asm/mx86unix.cpp | sed 's/^#.*//' > asm/mx86-sol.s | ||
| 64 | as -o asm/mx86-sol.o asm/mx86-sol.s | ||
| 65 | rm -f asm/mx86-sol.s | ||
| 66 | |||
| 67 | # a.out | ||
| 68 | asm/mx86-out.o: asm/mx86unix.cpp | ||
| 69 | $(CPP) -DOUT asm/mx86unix.cpp | as -o asm/mx86-out.o | ||
| 70 | |||
| 71 | # bsdi | ||
| 72 | asm/mx86bsdi.o: asm/mx86unix.cpp | ||
| 73 | $(CPP) -DBSDI asm/mx86unix.cpp | sed 's/ :/:/' | as -o asm/mx86bsdi.o | ||
| 74 | |||
| 75 | asm/mx86unix.cpp: asm/md5-586.pl ../perlasm/x86asm.pl | ||
| 76 | (cd asm; $(PERL) md5-586.pl cpp >mx86unix.cpp) | ||
| 77 | |||
| 78 | asm/md5-sparcv8plus.o: asm/md5-sparcv9.S | ||
| 79 | $(CC) $(ASFLAGS) -DMD5_BLOCK_DATA_ORDER -c \ | ||
| 80 | -o asm/md5-sparcv8plus.o asm/md5-sparcv9.S | ||
| 81 | |||
| 82 | # Old GNU assembler doesn't understand V9 instructions, so we | ||
| 83 | # hire /usr/ccs/bin/as to do the job. Note that option is called | ||
| 84 | # *-gcc27, but even gcc 2>=8 users may experience similar problem | ||
| 85 | # if they didn't bother to upgrade GNU assembler. Such users should | ||
| 86 | # not choose this option, but be adviced to *remove* GNU assembler | ||
| 87 | # or upgrade it. | ||
| 88 | asm/md5-sparcv8plus-gcc27.o: asm/md5-sparcv9.S | ||
| 89 | $(CC) $(ASFLAGS) -DMD5_BLOCK_DATA_ORDER -E asm/md5-sparcv9.S | \ | ||
| 90 | /usr/ccs/bin/as -xarch=v8plus - -o asm/md5-sparcv8plus-gcc27.o | ||
| 91 | |||
| 92 | asm/md5-sparcv9.o: asm/md5-sparcv9.S | ||
| 93 | $(CC) $(ASFLAGS) -DMD5_BLOCK_DATA_ORDER -c \ | ||
| 94 | -o asm/md5-sparcv9.o asm/md5-sparcv9.S | ||
| 95 | |||
| 96 | files: | ||
| 97 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 98 | |||
| 99 | links: | ||
| 100 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 101 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 102 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 103 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 104 | |||
| 105 | install: | ||
| 106 | @for i in $(EXHEADER) ; \ | ||
| 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) $(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/mx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 129 | |||
| 130 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 131 | |||
| 132 | md5_dgst.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h | ||
| 133 | md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c | ||
| 134 | md5_dgst.o: md5_locl.h | ||
| 135 | md5_one.o: ../../include/openssl/md5.h md5_one.c | ||
diff --git a/src/lib/libcrypto/mdc2/Makefile.ssl b/src/lib/libcrypto/mdc2/Makefile.ssl new file mode 100644 index 0000000000..19cd3520eb --- /dev/null +++ b/src/lib/libcrypto/mdc2/Makefile.ssl | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/mdc2/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= mdc2 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= mdc2test.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=mdc2dgst.c mdc2_one.c | ||
| 27 | LIBOBJ=mdc2dgst.o mdc2_one.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= mdc2.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | mdc2_one.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 83 | mdc2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 84 | mdc2_one.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 85 | mdc2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 86 | mdc2_one.o: ../../include/openssl/lhash.h ../../include/openssl/mdc2.h | ||
| 87 | mdc2_one.o: ../../include/openssl/opensslconf.h | ||
| 88 | mdc2_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 89 | mdc2_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 90 | mdc2_one.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 91 | mdc2_one.o: ../cryptlib.h mdc2_one.c | ||
| 92 | mdc2dgst.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
| 93 | mdc2dgst.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | ||
| 94 | mdc2dgst.o: ../../include/openssl/mdc2.h ../../include/openssl/opensslconf.h | ||
| 95 | mdc2dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 96 | mdc2dgst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 97 | mdc2dgst.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 98 | mdc2dgst.o: mdc2dgst.c | ||
diff --git a/src/lib/libcrypto/objects/Makefile.ssl b/src/lib/libcrypto/objects/Makefile.ssl new file mode 100644 index 0000000000..efe71eeb35 --- /dev/null +++ b/src/lib/libcrypto/objects/Makefile.ssl | |||
| @@ -0,0 +1,123 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/objects/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= objects | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | PERL= perl | ||
| 19 | |||
| 20 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 21 | |||
| 22 | GENERAL=Makefile README | ||
| 23 | TEST= | ||
| 24 | APPS= | ||
| 25 | |||
| 26 | LIB=$(TOP)/libcrypto.a | ||
| 27 | LIBSRC= o_names.c obj_dat.c obj_lib.c obj_err.c | ||
| 28 | LIBOBJ= o_names.o obj_dat.o obj_lib.o obj_err.o | ||
| 29 | |||
| 30 | SRC= $(LIBSRC) | ||
| 31 | |||
| 32 | EXHEADER= objects.h obj_mac.h | ||
| 33 | HEADER= $(EXHEADER) obj_dat.h | ||
| 34 | |||
| 35 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 36 | |||
| 37 | top: | ||
| 38 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 39 | |||
| 40 | all: obj_dat.h lib | ||
| 41 | |||
| 42 | lib: $(LIBOBJ) | ||
| 43 | $(AR) $(LIB) $(LIBOBJ) | ||
| 44 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 45 | @touch lib | ||
| 46 | |||
| 47 | obj_dat.h: obj_dat.pl obj_mac.h | ||
| 48 | $(PERL) obj_dat.pl obj_mac.h obj_dat.h | ||
| 49 | |||
| 50 | # objects.pl both reads and writes obj_mac.num | ||
| 51 | obj_mac.h: objects.pl objects.txt obj_mac.num | ||
| 52 | $(PERL) objects.pl objects.txt obj_mac.num obj_mac.h | ||
| 53 | |||
| 54 | files: | ||
| 55 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 56 | |||
| 57 | links: | ||
| 58 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 59 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 60 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 61 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 62 | |||
| 63 | install: | ||
| 64 | @for i in $(EXHEADER) ; \ | ||
| 65 | do \ | ||
| 66 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 67 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 68 | done; | ||
| 69 | |||
| 70 | tags: | ||
| 71 | ctags $(SRC) | ||
| 72 | |||
| 73 | tests: | ||
| 74 | |||
| 75 | lint: | ||
| 76 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 77 | |||
| 78 | depend: | ||
| 79 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 80 | |||
| 81 | dclean: | ||
| 82 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 83 | mv -f Makefile.new $(MAKEFILE) | ||
| 84 | |||
| 85 | clean: | ||
| 86 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 87 | |||
| 88 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 89 | |||
| 90 | o_names.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 91 | o_names.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 92 | o_names.o: ../../include/openssl/e_os2.h ../../include/openssl/lhash.h | ||
| 93 | o_names.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 94 | o_names.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 95 | o_names.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 96 | o_names.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 97 | o_names.o: o_names.c | ||
| 98 | obj_dat.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 99 | obj_dat.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 100 | obj_dat.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 101 | obj_dat.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 102 | obj_dat.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 103 | obj_dat.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 104 | obj_dat.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 105 | obj_dat.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 106 | obj_dat.o: ../../include/openssl/symhacks.h ../cryptlib.h obj_dat.c obj_dat.h | ||
| 107 | obj_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 108 | obj_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 109 | obj_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 110 | obj_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 111 | obj_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 112 | obj_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 113 | obj_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 114 | obj_err.o: ../../include/openssl/symhacks.h obj_err.c | ||
| 115 | obj_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 116 | obj_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 117 | obj_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 118 | obj_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 119 | obj_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 120 | obj_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 121 | obj_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 122 | obj_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 123 | obj_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h obj_lib.c | ||
diff --git a/src/lib/libcrypto/ocsp/Makefile.ssl b/src/lib/libcrypto/ocsp/Makefile.ssl new file mode 100644 index 0000000000..b69abdc1c7 --- /dev/null +++ b/src/lib/libcrypto/ocsp/Makefile.ssl | |||
| @@ -0,0 +1,221 @@ | |||
| 1 | # | ||
| 2 | # OpenSSL/ocsp/Makefile.ssl | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= ocsp | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile README | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \ | ||
| 27 | ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c | ||
| 28 | |||
| 29 | LIBOBJ= ocsp_asn.o ocsp_ext.o ocsp_ht.o ocsp_lib.o ocsp_cl.o \ | ||
| 30 | ocsp_srv.o ocsp_prn.o ocsp_vfy.o ocsp_err.o | ||
| 31 | |||
| 32 | SRC= $(LIBSRC) | ||
| 33 | |||
| 34 | EXHEADER= ocsp.h | ||
| 35 | HEADER= $(EXHEADER) | ||
| 36 | |||
| 37 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | files: | ||
| 50 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 51 | |||
| 52 | links: | ||
| 53 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | ||
| 54 | $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 55 | $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 56 | $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 57 | |||
| 58 | install: | ||
| 59 | @for i in $(EXHEADER) ; \ | ||
| 60 | do \ | ||
| 61 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 62 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 63 | done; | ||
| 64 | |||
| 65 | tags: | ||
| 66 | ctags $(SRC) | ||
| 67 | |||
| 68 | tests: | ||
| 69 | |||
| 70 | lint: | ||
| 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 72 | |||
| 73 | depend: | ||
| 74 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | ||
| 75 | |||
| 76 | dclean: | ||
| 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 78 | mv -f Makefile.new $(MAKEFILE) | ||
| 79 | |||
| 80 | clean: | ||
| 81 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 82 | |||
| 83 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 84 | |||
| 85 | ocsp_asn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
| 86 | ocsp_asn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 87 | ocsp_asn.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 88 | ocsp_asn.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 89 | ocsp_asn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 90 | ocsp_asn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 91 | ocsp_asn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 92 | ocsp_asn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h | ||
| 93 | ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 94 | ocsp_asn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 95 | ocsp_asn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 96 | ocsp_asn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 97 | ocsp_asn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 98 | ocsp_asn.o: ../../include/openssl/x509v3.h ocsp_asn.c | ||
| 99 | ocsp_cl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 100 | ocsp_cl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 101 | ocsp_cl.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 102 | ocsp_cl.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 103 | ocsp_cl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 104 | ocsp_cl.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 105 | ocsp_cl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 106 | ocsp_cl.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h | ||
| 107 | ocsp_cl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 108 | ocsp_cl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h | ||
| 109 | ocsp_cl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h | ||
| 110 | ocsp_cl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 111 | ocsp_cl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 112 | ocsp_cl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 113 | ocsp_cl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 114 | ocsp_cl.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_cl.c | ||
| 115 | ocsp_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 116 | ocsp_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 117 | ocsp_err.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 118 | ocsp_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 119 | ocsp_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 120 | ocsp_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 121 | ocsp_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 122 | ocsp_err.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h | ||
| 123 | ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 124 | ocsp_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 125 | ocsp_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 126 | ocsp_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 127 | ocsp_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 128 | ocsp_err.o: ../../include/openssl/x509v3.h ocsp_err.c | ||
| 129 | ocsp_ext.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 130 | ocsp_ext.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 131 | ocsp_ext.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 132 | ocsp_ext.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 133 | ocsp_ext.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 134 | ocsp_ext.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 135 | ocsp_ext.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 136 | ocsp_ext.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h | ||
| 137 | ocsp_ext.o: ../../include/openssl/opensslconf.h | ||
| 138 | ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 139 | ocsp_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 140 | ocsp_ext.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 141 | ocsp_ext.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 142 | ocsp_ext.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 143 | ocsp_ext.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 144 | ocsp_ext.o: ../cryptlib.h ocsp_ext.c | ||
| 145 | ocsp_ht.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 146 | ocsp_ht.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 147 | ocsp_ht.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 148 | ocsp_ht.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 149 | ocsp_ht.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 150 | ocsp_ht.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 151 | ocsp_ht.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 152 | ocsp_ht.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h | ||
| 153 | ocsp_ht.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 154 | ocsp_ht.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 155 | ocsp_ht.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 156 | ocsp_ht.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 157 | ocsp_ht.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 158 | ocsp_ht.o: ../../include/openssl/x509v3.h ocsp_ht.c | ||
| 159 | ocsp_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 160 | ocsp_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 161 | ocsp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 162 | ocsp_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 163 | ocsp_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 164 | ocsp_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 165 | ocsp_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 166 | ocsp_lib.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h | ||
| 167 | ocsp_lib.o: ../../include/openssl/opensslconf.h | ||
| 168 | ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 169 | ocsp_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 170 | ocsp_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 171 | ocsp_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 172 | ocsp_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 173 | ocsp_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 174 | ocsp_lib.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 175 | ocsp_lib.o: ../cryptlib.h ocsp_lib.c | ||
| 176 | ocsp_prn.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 177 | ocsp_prn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 178 | ocsp_prn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 179 | ocsp_prn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 180 | ocsp_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 181 | ocsp_prn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 182 | ocsp_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 183 | ocsp_prn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h | ||
| 184 | ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 185 | ocsp_prn.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 186 | ocsp_prn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 187 | ocsp_prn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 188 | ocsp_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 189 | ocsp_prn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 190 | ocsp_prn.o: ../../include/openssl/x509v3.h ocsp_prn.c | ||
| 191 | ocsp_srv.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 192 | ocsp_srv.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 193 | ocsp_srv.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 194 | ocsp_srv.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 195 | ocsp_srv.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 196 | ocsp_srv.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 197 | ocsp_srv.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 198 | ocsp_srv.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h | ||
| 199 | ocsp_srv.o: ../../include/openssl/opensslconf.h | ||
| 200 | ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 201 | ocsp_srv.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 202 | ocsp_srv.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 203 | ocsp_srv.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 204 | ocsp_srv.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 205 | ocsp_srv.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 206 | ocsp_srv.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 207 | ocsp_srv.o: ../cryptlib.h ocsp_srv.c | ||
| 208 | ocsp_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 209 | ocsp_vfy.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 210 | ocsp_vfy.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 211 | ocsp_vfy.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 212 | ocsp_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 213 | ocsp_vfy.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 214 | ocsp_vfy.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 215 | ocsp_vfy.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h | ||
| 216 | ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 217 | ocsp_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 218 | ocsp_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 219 | ocsp_vfy.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 220 | ocsp_vfy.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 221 | ocsp_vfy.o: ../../include/openssl/x509v3.h ocsp_vfy.c | ||
diff --git a/src/lib/libcrypto/pem/Makefile.ssl b/src/lib/libcrypto/pem/Makefile.ssl new file mode 100644 index 0000000000..a051b6fecc --- /dev/null +++ b/src/lib/libcrypto/pem/Makefile.ssl | |||
| @@ -0,0 +1,250 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/pem/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= pem | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_all.c pem_err.c \ | ||
| 27 | pem_x509.c pem_xaux.c pem_oth.c pem_pk8.c pem_pkey.c | ||
| 28 | |||
| 29 | LIBOBJ= pem_sign.o pem_seal.o pem_info.o pem_lib.o pem_all.o pem_err.o \ | ||
| 30 | pem_x509.o pem_xaux.o pem_oth.o pem_pk8.o pem_pkey.o | ||
| 31 | |||
| 32 | SRC= $(LIBSRC) | ||
| 33 | |||
| 34 | EXHEADER= pem.h pem2.h | ||
| 35 | HEADER= $(EXHEADER) | ||
| 36 | |||
| 37 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | files: | ||
| 50 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 51 | |||
| 52 | links: $(EXHEADER) | ||
| 53 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 56 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 57 | |||
| 58 | install: | ||
| 59 | @for i in $(EXHEADER) ; \ | ||
| 60 | do \ | ||
| 61 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 62 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 63 | done; | ||
| 64 | |||
| 65 | tags: | ||
| 66 | ctags $(SRC) | ||
| 67 | |||
| 68 | tests: | ||
| 69 | |||
| 70 | lint: | ||
| 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 72 | |||
| 73 | depend: | ||
| 74 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | ||
| 75 | |||
| 76 | dclean: | ||
| 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 78 | mv -f Makefile.new $(MAKEFILE) | ||
| 79 | |||
| 80 | clean: | ||
| 81 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 82 | |||
| 83 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 84 | |||
| 85 | pem_all.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 86 | pem_all.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 87 | pem_all.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 88 | pem_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 89 | pem_all.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 90 | pem_all.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 91 | pem_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 92 | pem_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 93 | pem_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h | ||
| 94 | pem_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h | ||
| 95 | pem_all.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 96 | pem_all.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 97 | pem_all.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 98 | pem_all.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_all.c | ||
| 99 | pem_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 100 | pem_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 101 | pem_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 102 | pem_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 103 | pem_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 104 | pem_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 105 | pem_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 106 | pem_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 107 | pem_err.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 108 | pem_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 109 | pem_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 110 | pem_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 111 | pem_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 112 | pem_err.o: pem_err.c | ||
| 113 | pem_info.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 114 | pem_info.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 115 | pem_info.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 116 | pem_info.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 117 | pem_info.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 118 | pem_info.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 119 | pem_info.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 120 | pem_info.o: ../../include/openssl/opensslconf.h | ||
| 121 | pem_info.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 122 | pem_info.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 123 | pem_info.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 124 | pem_info.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 125 | pem_info.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 126 | pem_info.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 127 | pem_info.o: ../cryptlib.h pem_info.c | ||
| 128 | pem_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 129 | pem_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 130 | pem_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 131 | pem_lib.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 132 | pem_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 133 | pem_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 134 | pem_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 135 | pem_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 136 | pem_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 137 | pem_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h | ||
| 138 | pem_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h | ||
| 139 | pem_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 140 | pem_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 141 | pem_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 142 | pem_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 143 | pem_lib.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h | ||
| 144 | pem_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_lib.c | ||
| 145 | pem_oth.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 146 | pem_oth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 147 | pem_oth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 148 | pem_oth.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 149 | pem_oth.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 150 | pem_oth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 151 | pem_oth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 152 | pem_oth.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 153 | pem_oth.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h | ||
| 154 | pem_oth.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h | ||
| 155 | pem_oth.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 156 | pem_oth.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 157 | pem_oth.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 158 | pem_oth.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 159 | pem_oth.o: ../cryptlib.h pem_oth.c | ||
| 160 | pem_pk8.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 161 | pem_pk8.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 162 | pem_pk8.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 163 | pem_pk8.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 164 | pem_pk8.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 165 | pem_pk8.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 166 | pem_pk8.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 167 | pem_pk8.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 168 | pem_pk8.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h | ||
| 169 | pem_pk8.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h | ||
| 170 | pem_pk8.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 171 | pem_pk8.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 172 | pem_pk8.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 173 | pem_pk8.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 174 | pem_pk8.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_pk8.c | ||
| 175 | pem_pkey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 176 | pem_pkey.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 177 | pem_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 178 | pem_pkey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 179 | pem_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 180 | pem_pkey.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 181 | pem_pkey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 182 | pem_pkey.o: ../../include/openssl/opensslconf.h | ||
| 183 | pem_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 184 | pem_pkey.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 185 | pem_pkey.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 186 | pem_pkey.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 187 | pem_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 188 | pem_pkey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 189 | pem_pkey.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 190 | pem_pkey.o: ../cryptlib.h pem_pkey.c | ||
| 191 | pem_seal.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 192 | pem_seal.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 193 | pem_seal.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 194 | pem_seal.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 195 | pem_seal.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 196 | pem_seal.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 197 | pem_seal.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 198 | pem_seal.o: ../../include/openssl/opensslconf.h | ||
| 199 | pem_seal.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 200 | pem_seal.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 201 | pem_seal.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 202 | pem_seal.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 203 | pem_seal.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 204 | pem_seal.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 205 | pem_seal.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_seal.c | ||
| 206 | pem_sign.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 207 | pem_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 208 | pem_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 209 | pem_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 210 | pem_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 211 | pem_sign.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 212 | pem_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 213 | pem_sign.o: ../../include/openssl/opensslconf.h | ||
| 214 | pem_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 215 | pem_sign.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 216 | pem_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 217 | pem_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 218 | pem_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 219 | pem_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 220 | pem_sign.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_sign.c | ||
| 221 | pem_x509.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 222 | pem_x509.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 223 | pem_x509.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 224 | pem_x509.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 225 | pem_x509.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 226 | pem_x509.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 227 | pem_x509.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 228 | pem_x509.o: ../../include/openssl/opensslconf.h | ||
| 229 | pem_x509.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 230 | pem_x509.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 231 | pem_x509.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 232 | pem_x509.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 233 | pem_x509.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 234 | pem_x509.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 235 | pem_x509.o: ../cryptlib.h pem_x509.c | ||
| 236 | pem_xaux.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 237 | pem_xaux.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 238 | pem_xaux.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 239 | pem_xaux.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 240 | pem_xaux.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 241 | pem_xaux.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 242 | pem_xaux.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 243 | pem_xaux.o: ../../include/openssl/opensslconf.h | ||
| 244 | pem_xaux.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 245 | pem_xaux.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 246 | pem_xaux.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 247 | pem_xaux.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 248 | pem_xaux.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 249 | pem_xaux.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 250 | pem_xaux.o: ../cryptlib.h pem_xaux.c | ||
diff --git a/src/lib/libcrypto/pkcs12/Makefile.ssl b/src/lib/libcrypto/pkcs12/Makefile.ssl new file mode 100644 index 0000000000..cb815db72f --- /dev/null +++ b/src/lib/libcrypto/pkcs12/Makefile.ssl | |||
| @@ -0,0 +1,297 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/pkcs12/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= pkcs12 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c p12_decr.c \ | ||
| 27 | p12_init.c p12_key.c p12_kiss.c p12_mutl.c\ | ||
| 28 | p12_utl.c p12_npas.c pk12err.c p12_p8d.c p12_p8e.c | ||
| 29 | LIBOBJ= p12_add.o p12_asn.o p12_attr.o p12_crpt.o p12_crt.o p12_decr.o \ | ||
| 30 | p12_init.o p12_key.o p12_kiss.o p12_mutl.o\ | ||
| 31 | p12_utl.o p12_npas.o pk12err.o p12_p8d.o p12_p8e.o | ||
| 32 | |||
| 33 | SRC= $(LIBSRC) | ||
| 34 | |||
| 35 | EXHEADER= pkcs12.h | ||
| 36 | HEADER= $(EXHEADER) | ||
| 37 | |||
| 38 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 39 | |||
| 40 | top: | ||
| 41 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 42 | |||
| 43 | test: | ||
| 44 | |||
| 45 | all: lib | ||
| 46 | |||
| 47 | lib: $(LIBOBJ) | ||
| 48 | $(AR) $(LIB) $(LIBOBJ) | ||
| 49 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 50 | @touch lib | ||
| 51 | |||
| 52 | files: | ||
| 53 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 54 | |||
| 55 | links: | ||
| 56 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 57 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 58 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 59 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 60 | |||
| 61 | install: | ||
| 62 | @for i in $(EXHEADER) ; \ | ||
| 63 | do \ | ||
| 64 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 65 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 66 | done; | ||
| 67 | |||
| 68 | tags: | ||
| 69 | ctags $(SRC) | ||
| 70 | |||
| 71 | tests: | ||
| 72 | |||
| 73 | lint: | ||
| 74 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 75 | |||
| 76 | depend: | ||
| 77 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 78 | |||
| 79 | dclean: | ||
| 80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 81 | mv -f Makefile.new $(MAKEFILE) | ||
| 82 | |||
| 83 | clean: | ||
| 84 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 85 | |||
| 86 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 87 | |||
| 88 | p12_add.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 89 | p12_add.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 90 | p12_add.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 91 | p12_add.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 92 | p12_add.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 93 | p12_add.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 94 | p12_add.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 95 | p12_add.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 96 | p12_add.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs12.h | ||
| 97 | p12_add.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 98 | p12_add.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 99 | p12_add.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 100 | p12_add.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 101 | p12_add.o: ../cryptlib.h p12_add.c | ||
| 102 | p12_asn.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 103 | p12_asn.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 104 | p12_asn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 105 | p12_asn.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 106 | p12_asn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 107 | p12_asn.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 108 | p12_asn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 109 | p12_asn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 110 | p12_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 111 | p12_asn.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 112 | p12_asn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 113 | p12_asn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 114 | p12_asn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 115 | p12_asn.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p12_asn.c | ||
| 116 | p12_attr.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 117 | p12_attr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 118 | p12_attr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 119 | p12_attr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 120 | p12_attr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 121 | p12_attr.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 122 | p12_attr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 123 | p12_attr.o: ../../include/openssl/opensslconf.h | ||
| 124 | p12_attr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 125 | p12_attr.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 126 | p12_attr.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 127 | p12_attr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 128 | p12_attr.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 129 | p12_attr.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p12_attr.c | ||
| 130 | p12_crpt.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 131 | p12_crpt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 132 | p12_crpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 133 | p12_crpt.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 134 | p12_crpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 135 | p12_crpt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 136 | p12_crpt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 137 | p12_crpt.o: ../../include/openssl/opensslconf.h | ||
| 138 | p12_crpt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 139 | p12_crpt.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 140 | p12_crpt.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 141 | p12_crpt.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 142 | p12_crpt.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 143 | p12_crpt.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p12_crpt.c | ||
| 144 | p12_crt.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 145 | p12_crt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 146 | p12_crt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 147 | p12_crt.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 148 | p12_crt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 149 | p12_crt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 150 | p12_crt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 151 | p12_crt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 152 | p12_crt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs12.h | ||
| 153 | p12_crt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 154 | p12_crt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 155 | p12_crt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 156 | p12_crt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 157 | p12_crt.o: ../cryptlib.h p12_crt.c | ||
| 158 | p12_decr.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 159 | p12_decr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 160 | p12_decr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 161 | p12_decr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 162 | p12_decr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 163 | p12_decr.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 164 | p12_decr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 165 | p12_decr.o: ../../include/openssl/opensslconf.h | ||
| 166 | p12_decr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 167 | p12_decr.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 168 | p12_decr.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 169 | p12_decr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 170 | p12_decr.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 171 | p12_decr.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p12_decr.c | ||
| 172 | p12_init.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 173 | p12_init.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 174 | p12_init.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 175 | p12_init.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 176 | p12_init.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 177 | p12_init.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 178 | p12_init.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 179 | p12_init.o: ../../include/openssl/opensslconf.h | ||
| 180 | p12_init.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 181 | p12_init.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 182 | p12_init.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 183 | p12_init.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 184 | p12_init.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 185 | p12_init.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p12_init.c | ||
| 186 | p12_key.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 187 | p12_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 188 | p12_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 189 | p12_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 190 | p12_key.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 191 | p12_key.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 192 | p12_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 193 | p12_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 194 | p12_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs12.h | ||
| 195 | p12_key.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 196 | p12_key.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 197 | p12_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 198 | p12_key.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 199 | p12_key.o: ../cryptlib.h p12_key.c | ||
| 200 | p12_kiss.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 201 | p12_kiss.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 202 | p12_kiss.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 203 | p12_kiss.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 204 | p12_kiss.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 205 | p12_kiss.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 206 | p12_kiss.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 207 | p12_kiss.o: ../../include/openssl/opensslconf.h | ||
| 208 | p12_kiss.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 209 | p12_kiss.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 210 | p12_kiss.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 211 | p12_kiss.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 212 | p12_kiss.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 213 | p12_kiss.o: ../../include/openssl/x509_vfy.h ../cryptlib.h p12_kiss.c | ||
| 214 | p12_mutl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 215 | p12_mutl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 216 | p12_mutl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 217 | p12_mutl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 218 | p12_mutl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 219 | p12_mutl.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h | ||
| 220 | p12_mutl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 221 | p12_mutl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 222 | p12_mutl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 223 | p12_mutl.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 224 | p12_mutl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 225 | p12_mutl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 226 | p12_mutl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 227 | p12_mutl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 228 | p12_mutl.o: ../cryptlib.h p12_mutl.c | ||
| 229 | p12_npas.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 230 | p12_npas.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 231 | p12_npas.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 232 | p12_npas.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 233 | p12_npas.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 234 | p12_npas.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 235 | p12_npas.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 236 | p12_npas.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 237 | p12_npas.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 238 | p12_npas.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 239 | p12_npas.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 240 | p12_npas.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 241 | p12_npas.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 242 | p12_npas.o: ../../include/openssl/x509_vfy.h p12_npas.c | ||
| 243 | p12_p8d.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 244 | p12_p8d.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 245 | p12_p8d.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 246 | p12_p8d.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 247 | p12_p8d.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 248 | p12_p8d.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 249 | p12_p8d.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 250 | p12_p8d.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 251 | p12_p8d.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs12.h | ||
| 252 | p12_p8d.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 253 | p12_p8d.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 254 | p12_p8d.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 255 | p12_p8d.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 256 | p12_p8d.o: ../cryptlib.h p12_p8d.c | ||
| 257 | p12_p8e.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 258 | p12_p8e.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 259 | p12_p8e.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 260 | p12_p8e.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 261 | p12_p8e.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 262 | p12_p8e.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 263 | p12_p8e.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 264 | p12_p8e.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 265 | p12_p8e.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs12.h | ||
| 266 | p12_p8e.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 267 | p12_p8e.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 268 | p12_p8e.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 269 | p12_p8e.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 270 | p12_p8e.o: ../cryptlib.h p12_p8e.c | ||
| 271 | p12_utl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 272 | p12_utl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 273 | p12_utl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 274 | p12_utl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 275 | p12_utl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 276 | p12_utl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 277 | p12_utl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 278 | p12_utl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 279 | p12_utl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs12.h | ||
| 280 | p12_utl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 281 | p12_utl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 282 | p12_utl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 283 | p12_utl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 284 | p12_utl.o: ../cryptlib.h p12_utl.c | ||
| 285 | pk12err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 286 | pk12err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 287 | pk12err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 288 | pk12err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 289 | pk12err.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 290 | pk12err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 291 | pk12err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 292 | pk12err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 293 | pk12err.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h | ||
| 294 | pk12err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 295 | pk12err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 296 | pk12err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 297 | pk12err.o: ../../include/openssl/x509_vfy.h pk12err.c | ||
diff --git a/src/lib/libcrypto/pkcs7/Makefile.ssl b/src/lib/libcrypto/pkcs7/Makefile.ssl new file mode 100644 index 0000000000..f606abe440 --- /dev/null +++ b/src/lib/libcrypto/pkcs7/Makefile.ssl | |||
| @@ -0,0 +1,195 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/pkcs7/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= pkcs7 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | PEX_LIBS= | ||
| 20 | EX_LIBS= | ||
| 21 | |||
| 22 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 23 | |||
| 24 | GENERAL=Makefile README | ||
| 25 | TEST= | ||
| 26 | APPS= | ||
| 27 | |||
| 28 | LIB=$(TOP)/libcrypto.a | ||
| 29 | LIBSRC= pk7_asn1.c pk7_lib.c pkcs7err.c pk7_doit.c pk7_smime.c pk7_attr.c \ | ||
| 30 | pk7_mime.c | ||
| 31 | LIBOBJ= pk7_asn1.o pk7_lib.o pkcs7err.o pk7_doit.o pk7_smime.o pk7_attr.o \ | ||
| 32 | pk7_mime.o | ||
| 33 | |||
| 34 | SRC= $(LIBSRC) | ||
| 35 | |||
| 36 | EXHEADER= pkcs7.h | ||
| 37 | HEADER= $(EXHEADER) | ||
| 38 | |||
| 39 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 40 | |||
| 41 | top: | ||
| 42 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 43 | |||
| 44 | test: | ||
| 45 | |||
| 46 | all: lib | ||
| 47 | |||
| 48 | testapps: enc dec sign verify | ||
| 49 | |||
| 50 | enc: enc.o lib | ||
| 51 | $(CC) $(CFLAGS) -o enc enc.o $(PEX_LIBS) $(LIB) $(EX_LIBS) | ||
| 52 | |||
| 53 | dec: dec.o lib | ||
| 54 | $(CC) $(CFLAGS) -o dec dec.o $(PEX_LIBS) $(LIB) $(EX_LIBS) | ||
| 55 | |||
| 56 | sign: sign.o lib | ||
| 57 | $(CC) $(CFLAGS) -o sign sign.o $(PEX_LIBS) $(LIB) $(EX_LIBS) | ||
| 58 | |||
| 59 | verify: verify.o example.o lib | ||
| 60 | $(CC) $(CFLAGS) -o verify verify.o $(PEX_LIBS) example.o $(LIB) $(EX_LIBS) | ||
| 61 | |||
| 62 | lib: $(LIBOBJ) | ||
| 63 | $(AR) $(LIB) $(LIBOBJ) | ||
| 64 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 65 | @touch lib | ||
| 66 | |||
| 67 | files: | ||
| 68 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 69 | |||
| 70 | links: | ||
| 71 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 72 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 73 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 74 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 75 | |||
| 76 | install: | ||
| 77 | @for i in $(EXHEADER) ; \ | ||
| 78 | do \ | ||
| 79 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 80 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 81 | done; | ||
| 82 | |||
| 83 | tags: | ||
| 84 | ctags $(SRC) | ||
| 85 | |||
| 86 | tests: | ||
| 87 | |||
| 88 | lint: | ||
| 89 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 90 | |||
| 91 | depend: | ||
| 92 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 93 | |||
| 94 | dclean: | ||
| 95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 96 | mv -f Makefile.new $(MAKEFILE) | ||
| 97 | |||
| 98 | clean: | ||
| 99 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify | ||
| 100 | |||
| 101 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 102 | |||
| 103 | pk7_asn1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 104 | pk7_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 105 | pk7_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 106 | pk7_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 107 | pk7_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 108 | pk7_asn1.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 109 | pk7_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 110 | pk7_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 111 | pk7_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 112 | pk7_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 113 | pk7_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 114 | pk7_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 115 | pk7_asn1.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 116 | pk7_asn1.o: ../cryptlib.h pk7_asn1.c | ||
| 117 | pk7_attr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 118 | pk7_attr.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 119 | pk7_attr.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 120 | pk7_attr.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 121 | pk7_attr.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 122 | pk7_attr.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 123 | pk7_attr.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 124 | pk7_attr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 125 | pk7_attr.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 126 | pk7_attr.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 127 | pk7_attr.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 128 | pk7_attr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 129 | pk7_attr.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 130 | pk7_attr.o: pk7_attr.c | ||
| 131 | pk7_doit.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 132 | pk7_doit.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 133 | pk7_doit.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 134 | pk7_doit.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 135 | pk7_doit.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 136 | pk7_doit.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 137 | pk7_doit.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 138 | pk7_doit.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 139 | pk7_doit.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 140 | pk7_doit.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 141 | pk7_doit.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 142 | pk7_doit.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 143 | pk7_doit.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 144 | pk7_doit.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 145 | pk7_doit.o: ../cryptlib.h pk7_doit.c | ||
| 146 | pk7_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 147 | pk7_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 148 | pk7_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 149 | pk7_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 150 | pk7_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 151 | pk7_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 152 | pk7_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 153 | pk7_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 154 | pk7_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 155 | pk7_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 156 | pk7_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 157 | pk7_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 158 | pk7_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pk7_lib.c | ||
| 159 | pk7_mime.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 160 | pk7_mime.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 161 | pk7_mime.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 162 | pk7_mime.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 163 | pk7_mime.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 164 | pk7_mime.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 165 | pk7_mime.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 166 | pk7_mime.o: ../../include/openssl/opensslconf.h | ||
| 167 | pk7_mime.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 168 | pk7_mime.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 169 | pk7_mime.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 170 | pk7_mime.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 171 | pk7_mime.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 172 | pk7_mime.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pk7_mime.c | ||
| 173 | pk7_smime.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 174 | pk7_smime.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 175 | pk7_smime.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 176 | pk7_smime.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 177 | pk7_smime.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 178 | pk7_smime.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 179 | pk7_smime.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 180 | pk7_smime.o: ../../include/openssl/objects.h | ||
| 181 | pk7_smime.o: ../../include/openssl/opensslconf.h | ||
| 182 | pk7_smime.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 183 | pk7_smime.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 184 | pk7_smime.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 185 | pk7_smime.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 186 | pk7_smime.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 187 | pk7_smime.o: ../../include/openssl/x509v3.h ../cryptlib.h pk7_smime.c | ||
| 188 | pkcs7err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 189 | pkcs7err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 190 | pkcs7err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 191 | pkcs7err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 192 | pkcs7err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 193 | pkcs7err.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h | ||
| 194 | pkcs7err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 195 | pkcs7err.o: pkcs7err.c | ||
diff --git a/src/lib/libcrypto/rand/Makefile.ssl b/src/lib/libcrypto/rand/Makefile.ssl new file mode 100644 index 0000000000..ccf65f0d78 --- /dev/null +++ b/src/lib/libcrypto/rand/Makefile.ssl | |||
| @@ -0,0 +1,157 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/rand/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= rand | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= randtest.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \ | ||
| 27 | rand_win.c rand_unix.c rand_os2.c | ||
| 28 | LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \ | ||
| 29 | rand_win.o rand_unix.o rand_os2.o | ||
| 30 | |||
| 31 | SRC= $(LIBSRC) | ||
| 32 | |||
| 33 | EXHEADER= rand.h | ||
| 34 | HEADER= $(EXHEADER) | ||
| 35 | |||
| 36 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 37 | |||
| 38 | top: | ||
| 39 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 40 | |||
| 41 | all: lib | ||
| 42 | |||
| 43 | lib: $(LIBOBJ) | ||
| 44 | $(AR) $(LIB) $(LIBOBJ) | ||
| 45 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 46 | @touch lib | ||
| 47 | |||
| 48 | files: | ||
| 49 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 50 | |||
| 51 | links: | ||
| 52 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 56 | |||
| 57 | install: | ||
| 58 | @for i in $(EXHEADER) ; \ | ||
| 59 | do \ | ||
| 60 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 61 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 62 | done; | ||
| 63 | |||
| 64 | tags: | ||
| 65 | ctags $(SRC) | ||
| 66 | |||
| 67 | tests: | ||
| 68 | |||
| 69 | lint: | ||
| 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 71 | |||
| 72 | depend: | ||
| 73 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 74 | |||
| 75 | dclean: | ||
| 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 77 | mv -f Makefile.new $(MAKEFILE) | ||
| 78 | |||
| 79 | clean: | ||
| 80 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 81 | |||
| 82 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 83 | |||
| 84 | md_rand.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 85 | md_rand.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 86 | md_rand.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 87 | md_rand.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 88 | md_rand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 89 | md_rand.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 90 | md_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 91 | md_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 92 | md_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 93 | md_rand.o: ../../include/openssl/symhacks.h md_rand.c rand_lcl.h | ||
| 94 | rand_egd.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 95 | rand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 96 | rand_egd.o: rand_egd.c | ||
| 97 | rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
| 98 | rand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 99 | rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 100 | rand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 101 | rand_err.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 102 | rand_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 103 | rand_err.o: rand_err.c | ||
| 104 | rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 105 | rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 106 | rand_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 107 | rand_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 108 | rand_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 109 | rand_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 110 | rand_lib.o: ../../include/openssl/opensslconf.h | ||
| 111 | rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 112 | rand_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 113 | rand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 114 | rand_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 115 | rand_lib.o: ../cryptlib.h rand_lib.c | ||
| 116 | rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 117 | rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 118 | rand_os2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 119 | rand_os2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 120 | rand_os2.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 121 | rand_os2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 122 | rand_os2.o: ../../include/openssl/opensslconf.h | ||
| 123 | rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 124 | rand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 125 | rand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 126 | rand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | ||
| 127 | rand_os2.o: rand_os2.c | ||
| 128 | rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 129 | rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 130 | rand_unix.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 131 | rand_unix.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 132 | rand_unix.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 133 | rand_unix.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 134 | rand_unix.o: ../../include/openssl/opensslconf.h | ||
| 135 | rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 136 | rand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 137 | rand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 138 | rand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | ||
| 139 | rand_unix.o: rand_unix.c | ||
| 140 | rand_win.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 141 | rand_win.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 142 | rand_win.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 143 | rand_win.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 144 | rand_win.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 145 | rand_win.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 146 | rand_win.o: ../../include/openssl/opensslconf.h | ||
| 147 | rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 148 | rand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 149 | rand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 150 | rand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | ||
| 151 | rand_win.o: rand_win.c | ||
| 152 | randfile.o: ../../e_os.h ../../include/openssl/crypto.h | ||
| 153 | randfile.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 154 | randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 155 | randfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
| 156 | randfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 157 | randfile.o: randfile.c | ||
diff --git a/src/lib/libcrypto/rc2/Makefile.ssl b/src/lib/libcrypto/rc2/Makefile.ssl new file mode 100644 index 0000000000..c233b0fa0c --- /dev/null +++ b/src/lib/libcrypto/rc2/Makefile.ssl | |||
| @@ -0,0 +1,91 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/rc2/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= rc2 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST=rc2test.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=rc2_ecb.c rc2_skey.c rc2_cbc.c rc2cfb64.c rc2ofb64.c | ||
| 27 | LIBOBJ=rc2_ecb.o rc2_skey.o rc2_cbc.o rc2cfb64.o rc2ofb64.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= rc2.h | ||
| 32 | HEADER= rc2_locl.h $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | rc2_cbc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h | ||
| 83 | rc2_cbc.o: rc2_cbc.c rc2_locl.h | ||
| 84 | rc2_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 85 | rc2_ecb.o: ../../include/openssl/rc2.h rc2_ecb.c rc2_locl.h | ||
| 86 | rc2_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h | ||
| 87 | rc2_skey.o: rc2_locl.h rc2_skey.c | ||
| 88 | rc2cfb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h | ||
| 89 | rc2cfb64.o: rc2_locl.h rc2cfb64.c | ||
| 90 | rc2ofb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h | ||
| 91 | rc2ofb64.o: rc2_locl.h rc2ofb64.c | ||
diff --git a/src/lib/libcrypto/rc4/Makefile.ssl b/src/lib/libcrypto/rc4/Makefile.ssl new file mode 100644 index 0000000000..5214e512fc --- /dev/null +++ b/src/lib/libcrypto/rc4/Makefile.ssl | |||
| @@ -0,0 +1,115 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/rc4/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= rc4 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | RC4_ENC=rc4_enc.o | ||
| 21 | # or use | ||
| 22 | #RC4_ENC=asm/rx86-elf.o | ||
| 23 | #RC4_ENC=asm/rx86-out.o | ||
| 24 | #RC4_ENC=asm/rx86-sol.o | ||
| 25 | #RC4_ENC=asm/rx86bdsi.o | ||
| 26 | |||
| 27 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 28 | |||
| 29 | GENERAL=Makefile | ||
| 30 | TEST=rc4test.c | ||
| 31 | APPS= | ||
| 32 | |||
| 33 | LIB=$(TOP)/libcrypto.a | ||
| 34 | LIBSRC=rc4_skey.c rc4_enc.c | ||
| 35 | LIBOBJ=rc4_skey.o $(RC4_ENC) | ||
| 36 | |||
| 37 | SRC= $(LIBSRC) | ||
| 38 | |||
| 39 | EXHEADER= rc4.h | ||
| 40 | HEADER= $(EXHEADER) rc4_locl.h | ||
| 41 | |||
| 42 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 43 | |||
| 44 | top: | ||
| 45 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 46 | |||
| 47 | all: lib | ||
| 48 | |||
| 49 | lib: $(LIBOBJ) | ||
| 50 | $(AR) $(LIB) $(LIBOBJ) | ||
| 51 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 52 | @touch lib | ||
| 53 | |||
| 54 | # elf | ||
| 55 | asm/rx86-elf.o: asm/rx86unix.cpp | ||
| 56 | $(CPP) -DELF -x c asm/rx86unix.cpp | as -o asm/rx86-elf.o | ||
| 57 | |||
| 58 | # solaris | ||
| 59 | asm/rx86-sol.o: asm/rx86unix.cpp | ||
| 60 | $(CC) -E -DSOL asm/rx86unix.cpp | sed 's/^#.*//' > asm/rx86-sol.s | ||
| 61 | as -o asm/rx86-sol.o asm/rx86-sol.s | ||
| 62 | rm -f asm/rx86-sol.s | ||
| 63 | |||
| 64 | # a.out | ||
| 65 | asm/rx86-out.o: asm/rx86unix.cpp | ||
| 66 | $(CPP) -DOUT asm/rx86unix.cpp | as -o asm/rx86-out.o | ||
| 67 | |||
| 68 | # bsdi | ||
| 69 | asm/rx86bsdi.o: asm/rx86unix.cpp | ||
| 70 | $(CPP) -DBSDI asm/rx86unix.cpp | sed 's/ :/:/' | as -o asm/rx86bsdi.o | ||
| 71 | |||
| 72 | asm/rx86unix.cpp: asm/rc4-586.pl ../perlasm/x86asm.pl | ||
| 73 | (cd asm; $(PERL) rc4-586.pl cpp >rx86unix.cpp) | ||
| 74 | |||
| 75 | files: | ||
| 76 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 77 | |||
| 78 | links: | ||
| 79 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 80 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 81 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 82 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 83 | |||
| 84 | install: | ||
| 85 | @for i in $(EXHEADER) ; \ | ||
| 86 | do \ | ||
| 87 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 88 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 89 | done; | ||
| 90 | |||
| 91 | tags: | ||
| 92 | ctags $(SRC) | ||
| 93 | |||
| 94 | tests: | ||
| 95 | |||
| 96 | lint: | ||
| 97 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 98 | |||
| 99 | depend: | ||
| 100 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 101 | |||
| 102 | dclean: | ||
| 103 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 104 | mv -f Makefile.new $(MAKEFILE) | ||
| 105 | |||
| 106 | clean: | ||
| 107 | rm -f asm/rx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o | ||
| 108 | |||
| 109 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 110 | |||
| 111 | rc4_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc4.h | ||
| 112 | rc4_enc.o: rc4_enc.c rc4_locl.h | ||
| 113 | rc4_skey.o: ../../include/openssl/opensslconf.h | ||
| 114 | rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/rc4.h | ||
| 115 | rc4_skey.o: rc4_locl.h rc4_skey.c | ||
diff --git a/src/lib/libcrypto/rc5/Makefile.ssl b/src/lib/libcrypto/rc5/Makefile.ssl new file mode 100644 index 0000000000..10deca5ace --- /dev/null +++ b/src/lib/libcrypto/rc5/Makefile.ssl | |||
| @@ -0,0 +1,113 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/rc5/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= rc5 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | RC5_ENC= rc5_enc.o | ||
| 21 | # or use | ||
| 22 | #DES_ENC= r586-elf.o | ||
| 23 | |||
| 24 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 25 | |||
| 26 | GENERAL=Makefile | ||
| 27 | TEST=rc5test.c | ||
| 28 | APPS= | ||
| 29 | |||
| 30 | LIB=$(TOP)/libcrypto.a | ||
| 31 | LIBSRC=rc5_skey.c rc5_ecb.c rc5_enc.c rc5cfb64.c rc5ofb64.c | ||
| 32 | LIBOBJ=rc5_skey.o rc5_ecb.o $(RC5_ENC) rc5cfb64.o rc5ofb64.o | ||
| 33 | |||
| 34 | SRC= $(LIBSRC) | ||
| 35 | |||
| 36 | EXHEADER= rc5.h | ||
| 37 | HEADER= rc5_locl.h $(EXHEADER) | ||
| 38 | |||
| 39 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 40 | |||
| 41 | top: | ||
| 42 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 43 | |||
| 44 | all: lib | ||
| 45 | |||
| 46 | lib: $(LIBOBJ) | ||
| 47 | $(AR) $(LIB) $(LIBOBJ) | ||
| 48 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 49 | @touch lib | ||
| 50 | |||
| 51 | # elf | ||
| 52 | asm/r586-elf.o: asm/r586unix.cpp | ||
| 53 | $(CPP) -DELF -x c asm/r586unix.cpp | as -o asm/r586-elf.o | ||
| 54 | |||
| 55 | # solaris | ||
| 56 | asm/r586-sol.o: asm/r586unix.cpp | ||
| 57 | $(CC) -E -DSOL asm/r586unix.cpp | sed 's/^#.*//' > asm/r586-sol.s | ||
| 58 | as -o asm/r586-sol.o asm/r586-sol.s | ||
| 59 | rm -f asm/r586-sol.s | ||
| 60 | |||
| 61 | # a.out | ||
| 62 | asm/r586-out.o: asm/r586unix.cpp | ||
| 63 | $(CPP) -DOUT asm/r586unix.cpp | as -o asm/r586-out.o | ||
| 64 | |||
| 65 | # bsdi | ||
| 66 | asm/r586bsdi.o: asm/r586unix.cpp | ||
| 67 | $(CPP) -DBSDI asm/r586unix.cpp | sed 's/ :/:/' | as -o asm/r586bsdi.o | ||
| 68 | |||
| 69 | asm/r586unix.cpp: asm/rc5-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 70 | (cd asm; $(PERL) rc5-586.pl cpp >r586unix.cpp) | ||
| 71 | |||
| 72 | files: | ||
| 73 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 74 | |||
| 75 | links: | ||
| 76 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 77 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 78 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 79 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 80 | |||
| 81 | install: | ||
| 82 | @for i in $(EXHEADER) ; \ | ||
| 83 | do \ | ||
| 84 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 85 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 86 | done; | ||
| 87 | |||
| 88 | tags: | ||
| 89 | ctags $(SRC) | ||
| 90 | |||
| 91 | tests: | ||
| 92 | |||
| 93 | lint: | ||
| 94 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 95 | |||
| 96 | depend: | ||
| 97 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 98 | |||
| 99 | dclean: | ||
| 100 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 101 | mv -f Makefile.new $(MAKEFILE) | ||
| 102 | |||
| 103 | clean: | ||
| 104 | rm -f asm/r586unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 105 | |||
| 106 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 107 | |||
| 108 | rc5_ecb.o: ../../include/openssl/opensslv.h ../../include/openssl/rc5.h | ||
| 109 | rc5_ecb.o: rc5_ecb.c rc5_locl.h | ||
| 110 | rc5_enc.o: ../../include/openssl/rc5.h rc5_enc.c rc5_locl.h | ||
| 111 | rc5_skey.o: ../../include/openssl/rc5.h rc5_locl.h rc5_skey.c | ||
| 112 | rc5cfb64.o: ../../include/openssl/rc5.h rc5_locl.h rc5cfb64.c | ||
| 113 | rc5ofb64.o: ../../include/openssl/rc5.h rc5_locl.h rc5ofb64.c | ||
diff --git a/src/lib/libcrypto/rc5/asm/rc5-586.pl b/src/lib/libcrypto/rc5/asm/rc5-586.pl new file mode 100644 index 0000000000..edff1d1e64 --- /dev/null +++ b/src/lib/libcrypto/rc5/asm/rc5-586.pl | |||
| @@ -0,0 +1,109 @@ | |||
| 1 | #!/usr/local/bin/perl | ||
| 2 | |||
| 3 | push(@INC,"perlasm","../../perlasm"); | ||
| 4 | require "x86asm.pl"; | ||
| 5 | require "cbc.pl"; | ||
| 6 | |||
| 7 | &asm_init($ARGV[0],"rc5-586.pl"); | ||
| 8 | |||
| 9 | $RC5_MAX_ROUNDS=16; | ||
| 10 | $RC5_32_OFF=($RC5_MAX_ROUNDS+2)*4; | ||
| 11 | $A="edi"; | ||
| 12 | $B="esi"; | ||
| 13 | $S="ebp"; | ||
| 14 | $tmp1="eax"; | ||
| 15 | $r="ebx"; | ||
| 16 | $tmpc="ecx"; | ||
| 17 | $tmp4="edx"; | ||
| 18 | |||
| 19 | &RC5_32_encrypt("RC5_32_encrypt",1); | ||
| 20 | &RC5_32_encrypt("RC5_32_decrypt",0); | ||
| 21 | &cbc("RC5_32_cbc_encrypt","RC5_32_encrypt","RC5_32_decrypt",0,4,5,3,-1,-1); | ||
| 22 | &asm_finish(); | ||
| 23 | |||
| 24 | sub RC5_32_encrypt | ||
| 25 | { | ||
| 26 | local($name,$enc)=@_; | ||
| 27 | |||
| 28 | &function_begin_B($name,""); | ||
| 29 | |||
| 30 | &comment(""); | ||
| 31 | |||
| 32 | &push("ebp"); | ||
| 33 | &push("esi"); | ||
| 34 | &push("edi"); | ||
| 35 | &mov($tmp4,&wparam(0)); | ||
| 36 | &mov($S,&wparam(1)); | ||
| 37 | |||
| 38 | &comment("Load the 2 words"); | ||
| 39 | &mov($A,&DWP(0,$tmp4,"",0)); | ||
| 40 | &mov($B,&DWP(4,$tmp4,"",0)); | ||
| 41 | |||
| 42 | &push($r); | ||
| 43 | &mov($r, &DWP(0,$S,"",0)); | ||
| 44 | |||
| 45 | # encrypting part | ||
| 46 | |||
| 47 | if ($enc) | ||
| 48 | { | ||
| 49 | &add($A, &DWP(4+0,$S,"",0)); | ||
| 50 | &add($B, &DWP(4+4,$S,"",0)); | ||
| 51 | |||
| 52 | for ($i=0; $i<$RC5_MAX_ROUNDS; $i++) | ||
| 53 | { | ||
| 54 | &xor($A, $B); | ||
| 55 | &mov($tmp1, &DWP(12+$i*8,$S,"",0)); | ||
| 56 | &mov($tmpc, $B); | ||
| 57 | &rotl($A, &LB("ecx")); | ||
| 58 | &add($A, $tmp1); | ||
| 59 | |||
| 60 | &xor($B, $A); | ||
| 61 | &mov($tmp1, &DWP(16+$i*8,$S,"",0)); | ||
| 62 | &mov($tmpc, $A); | ||
| 63 | &rotl($B, &LB("ecx")); | ||
| 64 | &add($B, $tmp1); | ||
| 65 | if (($i == 7) || ($i == 11)) | ||
| 66 | { | ||
| 67 | &cmp($r, $i+1); | ||
| 68 | &je(&label("rc5_exit")); | ||
| 69 | } | ||
| 70 | } | ||
| 71 | } | ||
| 72 | else | ||
| 73 | { | ||
| 74 | &cmp($r, 12); | ||
| 75 | &je(&label("rc5_dec_12")); | ||
| 76 | &cmp($r, 8); | ||
| 77 | &je(&label("rc5_dec_8")); | ||
| 78 | for ($i=$RC5_MAX_ROUNDS; $i > 0; $i--) | ||
| 79 | { | ||
| 80 | &set_label("rc5_dec_$i") if ($i == 12) || ($i == 8); | ||
| 81 | &mov($tmp1, &DWP($i*8+8,$S,"",0)); | ||
| 82 | &sub($B, $tmp1); | ||
| 83 | &mov($tmpc, $A); | ||
| 84 | &rotr($B, &LB("ecx")); | ||
| 85 | &xor($B, $A); | ||
| 86 | |||
| 87 | &mov($tmp1, &DWP($i*8+4,$S,"",0)); | ||
| 88 | &sub($A, $tmp1); | ||
| 89 | &mov($tmpc, $B); | ||
| 90 | &rotr($A, &LB("ecx")); | ||
| 91 | &xor($A, $B); | ||
| 92 | } | ||
| 93 | &sub($B, &DWP(4+4,$S,"",0)); | ||
| 94 | &sub($A, &DWP(4+0,$S,"",0)); | ||
| 95 | } | ||
| 96 | |||
| 97 | &set_label("rc5_exit"); | ||
| 98 | &mov(&DWP(0,$tmp4,"",0),$A); | ||
| 99 | &mov(&DWP(4,$tmp4,"",0),$B); | ||
| 100 | |||
| 101 | &pop("ebx"); | ||
| 102 | &pop("edi"); | ||
| 103 | &pop("esi"); | ||
| 104 | &pop("ebp"); | ||
| 105 | &ret(); | ||
| 106 | &function_end_B($name); | ||
| 107 | } | ||
| 108 | |||
| 109 | |||
diff --git a/src/lib/libcrypto/rijndael/Makefile.ssl b/src/lib/libcrypto/rijndael/Makefile.ssl new file mode 100644 index 0000000000..ddc480e9d7 --- /dev/null +++ b/src/lib/libcrypto/rijndael/Makefile.ssl | |||
| @@ -0,0 +1,89 @@ | |||
| 1 | # | ||
| 2 | # crypto/rijndael/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= rijndael | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | RD_ENC= rd_enc.o | ||
| 21 | # or use | ||
| 22 | #DES_ENC= bx86-elf.o | ||
| 23 | |||
| 24 | # CFLAGS= -mpentiumpro $(INCLUDES) $(CFLAG) -O3 -fexpensive-optimizations -funroll-loops -fforce-addr | ||
| 25 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 26 | |||
| 27 | GENERAL=Makefile | ||
| 28 | TEST= | ||
| 29 | APPS= | ||
| 30 | |||
| 31 | LIB=$(TOP)/libcrypto.a | ||
| 32 | LIBSRC=rd_fst.c | ||
| 33 | LIBOBJ=rd_fst.o | ||
| 34 | |||
| 35 | SRC= $(LIBSRC) | ||
| 36 | |||
| 37 | EXHEADER=rd_fst.h rijndael.h | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | $(LIBOBJ): $(LIBSRC) | ||
| 50 | |||
| 51 | files: | ||
| 52 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 53 | |||
| 54 | links: | ||
| 55 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 56 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 57 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 58 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 59 | |||
| 60 | install: installs | ||
| 61 | |||
| 62 | installs: | ||
| 63 | @for i in $(EXHEADER) ; \ | ||
| 64 | do \ | ||
| 65 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 66 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 67 | done; | ||
| 68 | |||
| 69 | tags: | ||
| 70 | ctags $(SRC) | ||
| 71 | |||
| 72 | tests: | ||
| 73 | |||
| 74 | lint: | ||
| 75 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 76 | |||
| 77 | depend: | ||
| 78 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 79 | |||
| 80 | dclean: | ||
| 81 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 82 | mv -f Makefile.new $(MAKEFILE) | ||
| 83 | |||
| 84 | clean: | ||
| 85 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 86 | |||
| 87 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 88 | |||
| 89 | rd_fst.o: rd_fst.c rd_fst.h | ||
diff --git a/src/lib/libcrypto/rijndael/README b/src/lib/libcrypto/rijndael/README new file mode 100644 index 0000000000..1118ccbad8 --- /dev/null +++ b/src/lib/libcrypto/rijndael/README | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | Optimised ANSI C code for the Rijndael cipher (now AES) | ||
| 2 | |||
| 3 | Authors: | ||
| 4 | Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be> | ||
| 5 | Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be> | ||
| 6 | Paulo Barreto <paulo.barreto@terra.com.br> | ||
| 7 | |||
| 8 | All code contained in this distributed is placed in the public domain. | ||
| 9 | |||
| 10 | ======================================================================== | ||
| 11 | |||
| 12 | Disclaimer: | ||
| 13 | |||
| 14 | THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS | ||
| 15 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 16 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 17 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE | ||
| 18 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
| 19 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
| 20 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
| 21 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
| 22 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
| 23 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 24 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 25 | |||
| 26 | ======================================================================== | ||
| 27 | |||
| 28 | Acknowledgements: | ||
| 29 | |||
| 30 | We are deeply indebted to the following people for their bug reports, | ||
| 31 | fixes, and improvement suggestions to the API implementation. Though we | ||
| 32 | tried to list all contributions, we apologise in advance for any | ||
| 33 | missing reference: | ||
| 34 | |||
| 35 | Andrew Bales <Andrew.Bales@Honeywell.com> | ||
| 36 | Markus Friedl <markus.friedl@informatik.uni-erlangen.de> | ||
| 37 | John Skodon <skodonj@webquill.com> | ||
| 38 | |||
| 39 | ======================================================================== | ||
| 40 | |||
| 41 | Description: | ||
| 42 | |||
| 43 | This optimised implementation of Rijndael is noticeably faster than the | ||
| 44 | previous versions on Intel processors under Win32 w/ MSVC 6.0. On the | ||
| 45 | same processor under Linux w/ gcc-2.95.2, the key setup is also | ||
| 46 | considerably faster, but normal encryption/decryption is only marginally | ||
| 47 | faster. | ||
| 48 | |||
| 49 | To enable full loop unrolling for encryption/decryption, define the | ||
| 50 | conditional compilation directive FULL_UNROLL. This may help increase | ||
| 51 | performance or not, depending on the platform. | ||
| 52 | |||
| 53 | To compute the intermediate value tests, define the conditional | ||
| 54 | compilation directive INTERMEDIATE_VALUE_KAT. It may be worthwhile to | ||
| 55 | define the TRACE_KAT_MCT directive too, which provides useful progress | ||
| 56 | information during the generation of the KAT and MCT sets. | ||
| 57 | |||
| 58 | ======================================================================== | ||
| 59 | |||
| 60 | Contents: | ||
| 61 | |||
| 62 | README This file | ||
| 63 | rijndael-alg-fst.c The algorithm implementation. | ||
| 64 | rijndael-alg-fst.h The corresponding header file. | ||
| 65 | rijndael-api-fst.c NIST's implementation. | ||
| 66 | rijndael-api-fst.h The corresponding header file. | ||
| 67 | rijndael-test-fst.c A simple program to generate test vectors. | ||
| 68 | table.128 Data for the table tests and 128-bit keys. | ||
| 69 | table.192 Data for the table tests and 192-bit keys. | ||
| 70 | table.256 Data for the table tests and 256-bit keys. | ||
| 71 | fips-test-vectors.txt Key schedule and ciphertext intermediate values | ||
| 72 | (reduced set proposed for FIPS inclusion). | ||
| 73 | Makefile A sample makefile; may need some changes, | ||
| 74 | depending on the C compiler used. | ||
| 75 | |||
| 76 | N.B. Both the API implementation and the provisional reduced set of | ||
| 77 | test vectors are likely to change, according to NIST's final decision | ||
| 78 | regarding modes of operation and the FIPS contents. They are therefore | ||
| 79 | marked as "version 2.9" rather than "version 3.0". | ||
| 80 | |||
diff --git a/src/lib/libcrypto/rijndael/rd_fst.c b/src/lib/libcrypto/rijndael/rd_fst.c new file mode 100644 index 0000000000..f1597288f0 --- /dev/null +++ b/src/lib/libcrypto/rijndael/rd_fst.c | |||
| @@ -0,0 +1,1400 @@ | |||
| 1 | /** | ||
| 2 | * rijndael-alg-fst.c | ||
| 3 | * | ||
| 4 | * @version 3.0 (December 2000) | ||
| 5 | * | ||
| 6 | * Optimised ANSI C code for the Rijndael cipher (now AES) | ||
| 7 | * | ||
| 8 | * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be> | ||
| 9 | * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be> | ||
| 10 | * @author Paulo Barreto <paulo.barreto@terra.com.br> | ||
| 11 | * | ||
| 12 | * This code is hereby placed in the public domain. | ||
| 13 | * | ||
| 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS | ||
| 15 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 16 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE | ||
| 18 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
| 19 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
| 20 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
| 21 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
| 22 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
| 23 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 24 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 25 | */ | ||
| 26 | #include <assert.h> | ||
| 27 | #include <stdlib.h> | ||
| 28 | |||
| 29 | #include "rd_fst.h" | ||
| 30 | |||
| 31 | /* | ||
| 32 | Te0[x] = S [x].[02, 01, 01, 03]; | ||
| 33 | Te1[x] = S [x].[03, 02, 01, 01]; | ||
| 34 | Te2[x] = S [x].[01, 03, 02, 01]; | ||
| 35 | Te3[x] = S [x].[01, 01, 03, 02]; | ||
| 36 | Te4[x] = S [x].[01, 01, 01, 01]; | ||
| 37 | |||
| 38 | Td0[x] = Si[x].[0e, 09, 0d, 0b]; | ||
| 39 | Td1[x] = Si[x].[0b, 0e, 09, 0d]; | ||
| 40 | Td2[x] = Si[x].[0d, 0b, 0e, 09]; | ||
| 41 | Td3[x] = Si[x].[09, 0d, 0b, 0e]; | ||
| 42 | Td4[x] = Si[x].[01, 01, 01, 01]; | ||
| 43 | */ | ||
| 44 | |||
| 45 | static const u32 Te0[256] = { | ||
| 46 | 0xc66363a5U, 0xf87c7c84U, 0xee777799U, 0xf67b7b8dU, | ||
| 47 | 0xfff2f20dU, 0xd66b6bbdU, 0xde6f6fb1U, 0x91c5c554U, | ||
| 48 | 0x60303050U, 0x02010103U, 0xce6767a9U, 0x562b2b7dU, | ||
| 49 | 0xe7fefe19U, 0xb5d7d762U, 0x4dababe6U, 0xec76769aU, | ||
| 50 | 0x8fcaca45U, 0x1f82829dU, 0x89c9c940U, 0xfa7d7d87U, | ||
| 51 | 0xeffafa15U, 0xb25959ebU, 0x8e4747c9U, 0xfbf0f00bU, | ||
| 52 | 0x41adadecU, 0xb3d4d467U, 0x5fa2a2fdU, 0x45afafeaU, | ||
| 53 | 0x239c9cbfU, 0x53a4a4f7U, 0xe4727296U, 0x9bc0c05bU, | ||
| 54 | 0x75b7b7c2U, 0xe1fdfd1cU, 0x3d9393aeU, 0x4c26266aU, | ||
| 55 | 0x6c36365aU, 0x7e3f3f41U, 0xf5f7f702U, 0x83cccc4fU, | ||
| 56 | 0x6834345cU, 0x51a5a5f4U, 0xd1e5e534U, 0xf9f1f108U, | ||
| 57 | 0xe2717193U, 0xabd8d873U, 0x62313153U, 0x2a15153fU, | ||
| 58 | 0x0804040cU, 0x95c7c752U, 0x46232365U, 0x9dc3c35eU, | ||
| 59 | 0x30181828U, 0x379696a1U, 0x0a05050fU, 0x2f9a9ab5U, | ||
| 60 | 0x0e070709U, 0x24121236U, 0x1b80809bU, 0xdfe2e23dU, | ||
| 61 | 0xcdebeb26U, 0x4e272769U, 0x7fb2b2cdU, 0xea75759fU, | ||
| 62 | 0x1209091bU, 0x1d83839eU, 0x582c2c74U, 0x341a1a2eU, | ||
| 63 | 0x361b1b2dU, 0xdc6e6eb2U, 0xb45a5aeeU, 0x5ba0a0fbU, | ||
| 64 | 0xa45252f6U, 0x763b3b4dU, 0xb7d6d661U, 0x7db3b3ceU, | ||
| 65 | 0x5229297bU, 0xdde3e33eU, 0x5e2f2f71U, 0x13848497U, | ||
| 66 | 0xa65353f5U, 0xb9d1d168U, 0x00000000U, 0xc1eded2cU, | ||
| 67 | 0x40202060U, 0xe3fcfc1fU, 0x79b1b1c8U, 0xb65b5bedU, | ||
| 68 | 0xd46a6abeU, 0x8dcbcb46U, 0x67bebed9U, 0x7239394bU, | ||
| 69 | 0x944a4adeU, 0x984c4cd4U, 0xb05858e8U, 0x85cfcf4aU, | ||
| 70 | 0xbbd0d06bU, 0xc5efef2aU, 0x4faaaae5U, 0xedfbfb16U, | ||
| 71 | 0x864343c5U, 0x9a4d4dd7U, 0x66333355U, 0x11858594U, | ||
| 72 | 0x8a4545cfU, 0xe9f9f910U, 0x04020206U, 0xfe7f7f81U, | ||
| 73 | 0xa05050f0U, 0x783c3c44U, 0x259f9fbaU, 0x4ba8a8e3U, | ||
| 74 | 0xa25151f3U, 0x5da3a3feU, 0x804040c0U, 0x058f8f8aU, | ||
| 75 | 0x3f9292adU, 0x219d9dbcU, 0x70383848U, 0xf1f5f504U, | ||
| 76 | 0x63bcbcdfU, 0x77b6b6c1U, 0xafdada75U, 0x42212163U, | ||
| 77 | 0x20101030U, 0xe5ffff1aU, 0xfdf3f30eU, 0xbfd2d26dU, | ||
| 78 | 0x81cdcd4cU, 0x180c0c14U, 0x26131335U, 0xc3ecec2fU, | ||
| 79 | 0xbe5f5fe1U, 0x359797a2U, 0x884444ccU, 0x2e171739U, | ||
| 80 | 0x93c4c457U, 0x55a7a7f2U, 0xfc7e7e82U, 0x7a3d3d47U, | ||
| 81 | 0xc86464acU, 0xba5d5de7U, 0x3219192bU, 0xe6737395U, | ||
| 82 | 0xc06060a0U, 0x19818198U, 0x9e4f4fd1U, 0xa3dcdc7fU, | ||
| 83 | 0x44222266U, 0x542a2a7eU, 0x3b9090abU, 0x0b888883U, | ||
| 84 | 0x8c4646caU, 0xc7eeee29U, 0x6bb8b8d3U, 0x2814143cU, | ||
| 85 | 0xa7dede79U, 0xbc5e5ee2U, 0x160b0b1dU, 0xaddbdb76U, | ||
| 86 | 0xdbe0e03bU, 0x64323256U, 0x743a3a4eU, 0x140a0a1eU, | ||
| 87 | 0x924949dbU, 0x0c06060aU, 0x4824246cU, 0xb85c5ce4U, | ||
| 88 | 0x9fc2c25dU, 0xbdd3d36eU, 0x43acacefU, 0xc46262a6U, | ||
| 89 | 0x399191a8U, 0x319595a4U, 0xd3e4e437U, 0xf279798bU, | ||
| 90 | 0xd5e7e732U, 0x8bc8c843U, 0x6e373759U, 0xda6d6db7U, | ||
| 91 | 0x018d8d8cU, 0xb1d5d564U, 0x9c4e4ed2U, 0x49a9a9e0U, | ||
| 92 | 0xd86c6cb4U, 0xac5656faU, 0xf3f4f407U, 0xcfeaea25U, | ||
| 93 | 0xca6565afU, 0xf47a7a8eU, 0x47aeaee9U, 0x10080818U, | ||
| 94 | 0x6fbabad5U, 0xf0787888U, 0x4a25256fU, 0x5c2e2e72U, | ||
| 95 | 0x381c1c24U, 0x57a6a6f1U, 0x73b4b4c7U, 0x97c6c651U, | ||
| 96 | 0xcbe8e823U, 0xa1dddd7cU, 0xe874749cU, 0x3e1f1f21U, | ||
| 97 | 0x964b4bddU, 0x61bdbddcU, 0x0d8b8b86U, 0x0f8a8a85U, | ||
| 98 | 0xe0707090U, 0x7c3e3e42U, 0x71b5b5c4U, 0xcc6666aaU, | ||
| 99 | 0x904848d8U, 0x06030305U, 0xf7f6f601U, 0x1c0e0e12U, | ||
| 100 | 0xc26161a3U, 0x6a35355fU, 0xae5757f9U, 0x69b9b9d0U, | ||
| 101 | 0x17868691U, 0x99c1c158U, 0x3a1d1d27U, 0x279e9eb9U, | ||
| 102 | 0xd9e1e138U, 0xebf8f813U, 0x2b9898b3U, 0x22111133U, | ||
| 103 | 0xd26969bbU, 0xa9d9d970U, 0x078e8e89U, 0x339494a7U, | ||
| 104 | 0x2d9b9bb6U, 0x3c1e1e22U, 0x15878792U, 0xc9e9e920U, | ||
| 105 | 0x87cece49U, 0xaa5555ffU, 0x50282878U, 0xa5dfdf7aU, | ||
| 106 | 0x038c8c8fU, 0x59a1a1f8U, 0x09898980U, 0x1a0d0d17U, | ||
| 107 | 0x65bfbfdaU, 0xd7e6e631U, 0x844242c6U, 0xd06868b8U, | ||
| 108 | 0x824141c3U, 0x299999b0U, 0x5a2d2d77U, 0x1e0f0f11U, | ||
| 109 | 0x7bb0b0cbU, 0xa85454fcU, 0x6dbbbbd6U, 0x2c16163aU, | ||
| 110 | }; | ||
| 111 | static const u32 Te1[256] = { | ||
| 112 | 0xa5c66363U, 0x84f87c7cU, 0x99ee7777U, 0x8df67b7bU, | ||
| 113 | 0x0dfff2f2U, 0xbdd66b6bU, 0xb1de6f6fU, 0x5491c5c5U, | ||
| 114 | 0x50603030U, 0x03020101U, 0xa9ce6767U, 0x7d562b2bU, | ||
| 115 | 0x19e7fefeU, 0x62b5d7d7U, 0xe64dababU, 0x9aec7676U, | ||
| 116 | 0x458fcacaU, 0x9d1f8282U, 0x4089c9c9U, 0x87fa7d7dU, | ||
| 117 | 0x15effafaU, 0xebb25959U, 0xc98e4747U, 0x0bfbf0f0U, | ||
| 118 | 0xec41adadU, 0x67b3d4d4U, 0xfd5fa2a2U, 0xea45afafU, | ||
| 119 | 0xbf239c9cU, 0xf753a4a4U, 0x96e47272U, 0x5b9bc0c0U, | ||
| 120 | 0xc275b7b7U, 0x1ce1fdfdU, 0xae3d9393U, 0x6a4c2626U, | ||
| 121 | 0x5a6c3636U, 0x417e3f3fU, 0x02f5f7f7U, 0x4f83ccccU, | ||
| 122 | 0x5c683434U, 0xf451a5a5U, 0x34d1e5e5U, 0x08f9f1f1U, | ||
| 123 | 0x93e27171U, 0x73abd8d8U, 0x53623131U, 0x3f2a1515U, | ||
| 124 | 0x0c080404U, 0x5295c7c7U, 0x65462323U, 0x5e9dc3c3U, | ||
| 125 | 0x28301818U, 0xa1379696U, 0x0f0a0505U, 0xb52f9a9aU, | ||
| 126 | 0x090e0707U, 0x36241212U, 0x9b1b8080U, 0x3ddfe2e2U, | ||
| 127 | 0x26cdebebU, 0x694e2727U, 0xcd7fb2b2U, 0x9fea7575U, | ||
| 128 | 0x1b120909U, 0x9e1d8383U, 0x74582c2cU, 0x2e341a1aU, | ||
| 129 | 0x2d361b1bU, 0xb2dc6e6eU, 0xeeb45a5aU, 0xfb5ba0a0U, | ||
| 130 | 0xf6a45252U, 0x4d763b3bU, 0x61b7d6d6U, 0xce7db3b3U, | ||
| 131 | 0x7b522929U, 0x3edde3e3U, 0x715e2f2fU, 0x97138484U, | ||
| 132 | 0xf5a65353U, 0x68b9d1d1U, 0x00000000U, 0x2cc1ededU, | ||
| 133 | 0x60402020U, 0x1fe3fcfcU, 0xc879b1b1U, 0xedb65b5bU, | ||
| 134 | 0xbed46a6aU, 0x468dcbcbU, 0xd967bebeU, 0x4b723939U, | ||
| 135 | 0xde944a4aU, 0xd4984c4cU, 0xe8b05858U, 0x4a85cfcfU, | ||
| 136 | 0x6bbbd0d0U, 0x2ac5efefU, 0xe54faaaaU, 0x16edfbfbU, | ||
| 137 | 0xc5864343U, 0xd79a4d4dU, 0x55663333U, 0x94118585U, | ||
| 138 | 0xcf8a4545U, 0x10e9f9f9U, 0x06040202U, 0x81fe7f7fU, | ||
| 139 | 0xf0a05050U, 0x44783c3cU, 0xba259f9fU, 0xe34ba8a8U, | ||
| 140 | 0xf3a25151U, 0xfe5da3a3U, 0xc0804040U, 0x8a058f8fU, | ||
| 141 | 0xad3f9292U, 0xbc219d9dU, 0x48703838U, 0x04f1f5f5U, | ||
| 142 | 0xdf63bcbcU, 0xc177b6b6U, 0x75afdadaU, 0x63422121U, | ||
| 143 | 0x30201010U, 0x1ae5ffffU, 0x0efdf3f3U, 0x6dbfd2d2U, | ||
| 144 | 0x4c81cdcdU, 0x14180c0cU, 0x35261313U, 0x2fc3ececU, | ||
| 145 | 0xe1be5f5fU, 0xa2359797U, 0xcc884444U, 0x392e1717U, | ||
| 146 | 0x5793c4c4U, 0xf255a7a7U, 0x82fc7e7eU, 0x477a3d3dU, | ||
| 147 | 0xacc86464U, 0xe7ba5d5dU, 0x2b321919U, 0x95e67373U, | ||
| 148 | 0xa0c06060U, 0x98198181U, 0xd19e4f4fU, 0x7fa3dcdcU, | ||
| 149 | 0x66442222U, 0x7e542a2aU, 0xab3b9090U, 0x830b8888U, | ||
| 150 | 0xca8c4646U, 0x29c7eeeeU, 0xd36bb8b8U, 0x3c281414U, | ||
| 151 | 0x79a7dedeU, 0xe2bc5e5eU, 0x1d160b0bU, 0x76addbdbU, | ||
| 152 | 0x3bdbe0e0U, 0x56643232U, 0x4e743a3aU, 0x1e140a0aU, | ||
| 153 | 0xdb924949U, 0x0a0c0606U, 0x6c482424U, 0xe4b85c5cU, | ||
| 154 | 0x5d9fc2c2U, 0x6ebdd3d3U, 0xef43acacU, 0xa6c46262U, | ||
| 155 | 0xa8399191U, 0xa4319595U, 0x37d3e4e4U, 0x8bf27979U, | ||
| 156 | 0x32d5e7e7U, 0x438bc8c8U, 0x596e3737U, 0xb7da6d6dU, | ||
| 157 | 0x8c018d8dU, 0x64b1d5d5U, 0xd29c4e4eU, 0xe049a9a9U, | ||
| 158 | 0xb4d86c6cU, 0xfaac5656U, 0x07f3f4f4U, 0x25cfeaeaU, | ||
| 159 | 0xafca6565U, 0x8ef47a7aU, 0xe947aeaeU, 0x18100808U, | ||
| 160 | 0xd56fbabaU, 0x88f07878U, 0x6f4a2525U, 0x725c2e2eU, | ||
| 161 | 0x24381c1cU, 0xf157a6a6U, 0xc773b4b4U, 0x5197c6c6U, | ||
| 162 | 0x23cbe8e8U, 0x7ca1ddddU, 0x9ce87474U, 0x213e1f1fU, | ||
| 163 | 0xdd964b4bU, 0xdc61bdbdU, 0x860d8b8bU, 0x850f8a8aU, | ||
| 164 | 0x90e07070U, 0x427c3e3eU, 0xc471b5b5U, 0xaacc6666U, | ||
| 165 | 0xd8904848U, 0x05060303U, 0x01f7f6f6U, 0x121c0e0eU, | ||
| 166 | 0xa3c26161U, 0x5f6a3535U, 0xf9ae5757U, 0xd069b9b9U, | ||
| 167 | 0x91178686U, 0x5899c1c1U, 0x273a1d1dU, 0xb9279e9eU, | ||
| 168 | 0x38d9e1e1U, 0x13ebf8f8U, 0xb32b9898U, 0x33221111U, | ||
| 169 | 0xbbd26969U, 0x70a9d9d9U, 0x89078e8eU, 0xa7339494U, | ||
| 170 | 0xb62d9b9bU, 0x223c1e1eU, 0x92158787U, 0x20c9e9e9U, | ||
| 171 | 0x4987ceceU, 0xffaa5555U, 0x78502828U, 0x7aa5dfdfU, | ||
| 172 | 0x8f038c8cU, 0xf859a1a1U, 0x80098989U, 0x171a0d0dU, | ||
| 173 | 0xda65bfbfU, 0x31d7e6e6U, 0xc6844242U, 0xb8d06868U, | ||
| 174 | 0xc3824141U, 0xb0299999U, 0x775a2d2dU, 0x111e0f0fU, | ||
| 175 | 0xcb7bb0b0U, 0xfca85454U, 0xd66dbbbbU, 0x3a2c1616U, | ||
| 176 | }; | ||
| 177 | static const u32 Te2[256] = { | ||
| 178 | 0x63a5c663U, 0x7c84f87cU, 0x7799ee77U, 0x7b8df67bU, | ||
| 179 | 0xf20dfff2U, 0x6bbdd66bU, 0x6fb1de6fU, 0xc55491c5U, | ||
| 180 | 0x30506030U, 0x01030201U, 0x67a9ce67U, 0x2b7d562bU, | ||
| 181 | 0xfe19e7feU, 0xd762b5d7U, 0xabe64dabU, 0x769aec76U, | ||
| 182 | 0xca458fcaU, 0x829d1f82U, 0xc94089c9U, 0x7d87fa7dU, | ||
| 183 | 0xfa15effaU, 0x59ebb259U, 0x47c98e47U, 0xf00bfbf0U, | ||
| 184 | 0xadec41adU, 0xd467b3d4U, 0xa2fd5fa2U, 0xafea45afU, | ||
| 185 | 0x9cbf239cU, 0xa4f753a4U, 0x7296e472U, 0xc05b9bc0U, | ||
| 186 | 0xb7c275b7U, 0xfd1ce1fdU, 0x93ae3d93U, 0x266a4c26U, | ||
| 187 | 0x365a6c36U, 0x3f417e3fU, 0xf702f5f7U, 0xcc4f83ccU, | ||
| 188 | 0x345c6834U, 0xa5f451a5U, 0xe534d1e5U, 0xf108f9f1U, | ||
| 189 | 0x7193e271U, 0xd873abd8U, 0x31536231U, 0x153f2a15U, | ||
| 190 | 0x040c0804U, 0xc75295c7U, 0x23654623U, 0xc35e9dc3U, | ||
| 191 | 0x18283018U, 0x96a13796U, 0x050f0a05U, 0x9ab52f9aU, | ||
| 192 | 0x07090e07U, 0x12362412U, 0x809b1b80U, 0xe23ddfe2U, | ||
| 193 | 0xeb26cdebU, 0x27694e27U, 0xb2cd7fb2U, 0x759fea75U, | ||
| 194 | 0x091b1209U, 0x839e1d83U, 0x2c74582cU, 0x1a2e341aU, | ||
| 195 | 0x1b2d361bU, 0x6eb2dc6eU, 0x5aeeb45aU, 0xa0fb5ba0U, | ||
| 196 | 0x52f6a452U, 0x3b4d763bU, 0xd661b7d6U, 0xb3ce7db3U, | ||
| 197 | 0x297b5229U, 0xe33edde3U, 0x2f715e2fU, 0x84971384U, | ||
| 198 | 0x53f5a653U, 0xd168b9d1U, 0x00000000U, 0xed2cc1edU, | ||
| 199 | 0x20604020U, 0xfc1fe3fcU, 0xb1c879b1U, 0x5bedb65bU, | ||
| 200 | 0x6abed46aU, 0xcb468dcbU, 0xbed967beU, 0x394b7239U, | ||
| 201 | 0x4ade944aU, 0x4cd4984cU, 0x58e8b058U, 0xcf4a85cfU, | ||
| 202 | 0xd06bbbd0U, 0xef2ac5efU, 0xaae54faaU, 0xfb16edfbU, | ||
| 203 | 0x43c58643U, 0x4dd79a4dU, 0x33556633U, 0x85941185U, | ||
| 204 | 0x45cf8a45U, 0xf910e9f9U, 0x02060402U, 0x7f81fe7fU, | ||
| 205 | 0x50f0a050U, 0x3c44783cU, 0x9fba259fU, 0xa8e34ba8U, | ||
| 206 | 0x51f3a251U, 0xa3fe5da3U, 0x40c08040U, 0x8f8a058fU, | ||
| 207 | 0x92ad3f92U, 0x9dbc219dU, 0x38487038U, 0xf504f1f5U, | ||
| 208 | 0xbcdf63bcU, 0xb6c177b6U, 0xda75afdaU, 0x21634221U, | ||
| 209 | 0x10302010U, 0xff1ae5ffU, 0xf30efdf3U, 0xd26dbfd2U, | ||
| 210 | 0xcd4c81cdU, 0x0c14180cU, 0x13352613U, 0xec2fc3ecU, | ||
| 211 | 0x5fe1be5fU, 0x97a23597U, 0x44cc8844U, 0x17392e17U, | ||
| 212 | 0xc45793c4U, 0xa7f255a7U, 0x7e82fc7eU, 0x3d477a3dU, | ||
| 213 | 0x64acc864U, 0x5de7ba5dU, 0x192b3219U, 0x7395e673U, | ||
| 214 | 0x60a0c060U, 0x81981981U, 0x4fd19e4fU, 0xdc7fa3dcU, | ||
| 215 | 0x22664422U, 0x2a7e542aU, 0x90ab3b90U, 0x88830b88U, | ||
| 216 | 0x46ca8c46U, 0xee29c7eeU, 0xb8d36bb8U, 0x143c2814U, | ||
| 217 | 0xde79a7deU, 0x5ee2bc5eU, 0x0b1d160bU, 0xdb76addbU, | ||
| 218 | 0xe03bdbe0U, 0x32566432U, 0x3a4e743aU, 0x0a1e140aU, | ||
| 219 | 0x49db9249U, 0x060a0c06U, 0x246c4824U, 0x5ce4b85cU, | ||
| 220 | 0xc25d9fc2U, 0xd36ebdd3U, 0xacef43acU, 0x62a6c462U, | ||
| 221 | 0x91a83991U, 0x95a43195U, 0xe437d3e4U, 0x798bf279U, | ||
| 222 | 0xe732d5e7U, 0xc8438bc8U, 0x37596e37U, 0x6db7da6dU, | ||
| 223 | 0x8d8c018dU, 0xd564b1d5U, 0x4ed29c4eU, 0xa9e049a9U, | ||
| 224 | 0x6cb4d86cU, 0x56faac56U, 0xf407f3f4U, 0xea25cfeaU, | ||
| 225 | 0x65afca65U, 0x7a8ef47aU, 0xaee947aeU, 0x08181008U, | ||
| 226 | 0xbad56fbaU, 0x7888f078U, 0x256f4a25U, 0x2e725c2eU, | ||
| 227 | 0x1c24381cU, 0xa6f157a6U, 0xb4c773b4U, 0xc65197c6U, | ||
| 228 | 0xe823cbe8U, 0xdd7ca1ddU, 0x749ce874U, 0x1f213e1fU, | ||
| 229 | 0x4bdd964bU, 0xbddc61bdU, 0x8b860d8bU, 0x8a850f8aU, | ||
| 230 | 0x7090e070U, 0x3e427c3eU, 0xb5c471b5U, 0x66aacc66U, | ||
| 231 | 0x48d89048U, 0x03050603U, 0xf601f7f6U, 0x0e121c0eU, | ||
| 232 | 0x61a3c261U, 0x355f6a35U, 0x57f9ae57U, 0xb9d069b9U, | ||
| 233 | 0x86911786U, 0xc15899c1U, 0x1d273a1dU, 0x9eb9279eU, | ||
| 234 | 0xe138d9e1U, 0xf813ebf8U, 0x98b32b98U, 0x11332211U, | ||
| 235 | 0x69bbd269U, 0xd970a9d9U, 0x8e89078eU, 0x94a73394U, | ||
| 236 | 0x9bb62d9bU, 0x1e223c1eU, 0x87921587U, 0xe920c9e9U, | ||
| 237 | 0xce4987ceU, 0x55ffaa55U, 0x28785028U, 0xdf7aa5dfU, | ||
| 238 | 0x8c8f038cU, 0xa1f859a1U, 0x89800989U, 0x0d171a0dU, | ||
| 239 | 0xbfda65bfU, 0xe631d7e6U, 0x42c68442U, 0x68b8d068U, | ||
| 240 | 0x41c38241U, 0x99b02999U, 0x2d775a2dU, 0x0f111e0fU, | ||
| 241 | 0xb0cb7bb0U, 0x54fca854U, 0xbbd66dbbU, 0x163a2c16U, | ||
| 242 | }; | ||
| 243 | static const u32 Te3[256] = { | ||
| 244 | |||
| 245 | 0x6363a5c6U, 0x7c7c84f8U, 0x777799eeU, 0x7b7b8df6U, | ||
| 246 | 0xf2f20dffU, 0x6b6bbdd6U, 0x6f6fb1deU, 0xc5c55491U, | ||
| 247 | 0x30305060U, 0x01010302U, 0x6767a9ceU, 0x2b2b7d56U, | ||
| 248 | 0xfefe19e7U, 0xd7d762b5U, 0xababe64dU, 0x76769aecU, | ||
| 249 | 0xcaca458fU, 0x82829d1fU, 0xc9c94089U, 0x7d7d87faU, | ||
| 250 | 0xfafa15efU, 0x5959ebb2U, 0x4747c98eU, 0xf0f00bfbU, | ||
| 251 | 0xadadec41U, 0xd4d467b3U, 0xa2a2fd5fU, 0xafafea45U, | ||
| 252 | 0x9c9cbf23U, 0xa4a4f753U, 0x727296e4U, 0xc0c05b9bU, | ||
| 253 | 0xb7b7c275U, 0xfdfd1ce1U, 0x9393ae3dU, 0x26266a4cU, | ||
| 254 | 0x36365a6cU, 0x3f3f417eU, 0xf7f702f5U, 0xcccc4f83U, | ||
| 255 | 0x34345c68U, 0xa5a5f451U, 0xe5e534d1U, 0xf1f108f9U, | ||
| 256 | 0x717193e2U, 0xd8d873abU, 0x31315362U, 0x15153f2aU, | ||
| 257 | 0x04040c08U, 0xc7c75295U, 0x23236546U, 0xc3c35e9dU, | ||
| 258 | 0x18182830U, 0x9696a137U, 0x05050f0aU, 0x9a9ab52fU, | ||
| 259 | 0x0707090eU, 0x12123624U, 0x80809b1bU, 0xe2e23ddfU, | ||
| 260 | 0xebeb26cdU, 0x2727694eU, 0xb2b2cd7fU, 0x75759feaU, | ||
| 261 | 0x09091b12U, 0x83839e1dU, 0x2c2c7458U, 0x1a1a2e34U, | ||
| 262 | 0x1b1b2d36U, 0x6e6eb2dcU, 0x5a5aeeb4U, 0xa0a0fb5bU, | ||
| 263 | 0x5252f6a4U, 0x3b3b4d76U, 0xd6d661b7U, 0xb3b3ce7dU, | ||
| 264 | 0x29297b52U, 0xe3e33eddU, 0x2f2f715eU, 0x84849713U, | ||
| 265 | 0x5353f5a6U, 0xd1d168b9U, 0x00000000U, 0xeded2cc1U, | ||
| 266 | 0x20206040U, 0xfcfc1fe3U, 0xb1b1c879U, 0x5b5bedb6U, | ||
| 267 | 0x6a6abed4U, 0xcbcb468dU, 0xbebed967U, 0x39394b72U, | ||
| 268 | 0x4a4ade94U, 0x4c4cd498U, 0x5858e8b0U, 0xcfcf4a85U, | ||
| 269 | 0xd0d06bbbU, 0xefef2ac5U, 0xaaaae54fU, 0xfbfb16edU, | ||
| 270 | 0x4343c586U, 0x4d4dd79aU, 0x33335566U, 0x85859411U, | ||
| 271 | 0x4545cf8aU, 0xf9f910e9U, 0x02020604U, 0x7f7f81feU, | ||
| 272 | 0x5050f0a0U, 0x3c3c4478U, 0x9f9fba25U, 0xa8a8e34bU, | ||
| 273 | 0x5151f3a2U, 0xa3a3fe5dU, 0x4040c080U, 0x8f8f8a05U, | ||
| 274 | 0x9292ad3fU, 0x9d9dbc21U, 0x38384870U, 0xf5f504f1U, | ||
| 275 | 0xbcbcdf63U, 0xb6b6c177U, 0xdada75afU, 0x21216342U, | ||
| 276 | 0x10103020U, 0xffff1ae5U, 0xf3f30efdU, 0xd2d26dbfU, | ||
| 277 | 0xcdcd4c81U, 0x0c0c1418U, 0x13133526U, 0xecec2fc3U, | ||
| 278 | 0x5f5fe1beU, 0x9797a235U, 0x4444cc88U, 0x1717392eU, | ||
| 279 | 0xc4c45793U, 0xa7a7f255U, 0x7e7e82fcU, 0x3d3d477aU, | ||
| 280 | 0x6464acc8U, 0x5d5de7baU, 0x19192b32U, 0x737395e6U, | ||
| 281 | 0x6060a0c0U, 0x81819819U, 0x4f4fd19eU, 0xdcdc7fa3U, | ||
| 282 | 0x22226644U, 0x2a2a7e54U, 0x9090ab3bU, 0x8888830bU, | ||
| 283 | 0x4646ca8cU, 0xeeee29c7U, 0xb8b8d36bU, 0x14143c28U, | ||
| 284 | 0xdede79a7U, 0x5e5ee2bcU, 0x0b0b1d16U, 0xdbdb76adU, | ||
| 285 | 0xe0e03bdbU, 0x32325664U, 0x3a3a4e74U, 0x0a0a1e14U, | ||
| 286 | 0x4949db92U, 0x06060a0cU, 0x24246c48U, 0x5c5ce4b8U, | ||
| 287 | 0xc2c25d9fU, 0xd3d36ebdU, 0xacacef43U, 0x6262a6c4U, | ||
| 288 | 0x9191a839U, 0x9595a431U, 0xe4e437d3U, 0x79798bf2U, | ||
| 289 | 0xe7e732d5U, 0xc8c8438bU, 0x3737596eU, 0x6d6db7daU, | ||
| 290 | 0x8d8d8c01U, 0xd5d564b1U, 0x4e4ed29cU, 0xa9a9e049U, | ||
| 291 | 0x6c6cb4d8U, 0x5656faacU, 0xf4f407f3U, 0xeaea25cfU, | ||
| 292 | 0x6565afcaU, 0x7a7a8ef4U, 0xaeaee947U, 0x08081810U, | ||
| 293 | 0xbabad56fU, 0x787888f0U, 0x25256f4aU, 0x2e2e725cU, | ||
| 294 | 0x1c1c2438U, 0xa6a6f157U, 0xb4b4c773U, 0xc6c65197U, | ||
| 295 | 0xe8e823cbU, 0xdddd7ca1U, 0x74749ce8U, 0x1f1f213eU, | ||
| 296 | 0x4b4bdd96U, 0xbdbddc61U, 0x8b8b860dU, 0x8a8a850fU, | ||
| 297 | 0x707090e0U, 0x3e3e427cU, 0xb5b5c471U, 0x6666aaccU, | ||
| 298 | 0x4848d890U, 0x03030506U, 0xf6f601f7U, 0x0e0e121cU, | ||
| 299 | 0x6161a3c2U, 0x35355f6aU, 0x5757f9aeU, 0xb9b9d069U, | ||
| 300 | 0x86869117U, 0xc1c15899U, 0x1d1d273aU, 0x9e9eb927U, | ||
| 301 | 0xe1e138d9U, 0xf8f813ebU, 0x9898b32bU, 0x11113322U, | ||
| 302 | 0x6969bbd2U, 0xd9d970a9U, 0x8e8e8907U, 0x9494a733U, | ||
| 303 | 0x9b9bb62dU, 0x1e1e223cU, 0x87879215U, 0xe9e920c9U, | ||
| 304 | 0xcece4987U, 0x5555ffaaU, 0x28287850U, 0xdfdf7aa5U, | ||
| 305 | 0x8c8c8f03U, 0xa1a1f859U, 0x89898009U, 0x0d0d171aU, | ||
| 306 | 0xbfbfda65U, 0xe6e631d7U, 0x4242c684U, 0x6868b8d0U, | ||
| 307 | 0x4141c382U, 0x9999b029U, 0x2d2d775aU, 0x0f0f111eU, | ||
| 308 | 0xb0b0cb7bU, 0x5454fca8U, 0xbbbbd66dU, 0x16163a2cU, | ||
| 309 | }; | ||
| 310 | static const u32 Te4[256] = { | ||
| 311 | 0x63636363U, 0x7c7c7c7cU, 0x77777777U, 0x7b7b7b7bU, | ||
| 312 | 0xf2f2f2f2U, 0x6b6b6b6bU, 0x6f6f6f6fU, 0xc5c5c5c5U, | ||
| 313 | 0x30303030U, 0x01010101U, 0x67676767U, 0x2b2b2b2bU, | ||
| 314 | 0xfefefefeU, 0xd7d7d7d7U, 0xababababU, 0x76767676U, | ||
| 315 | 0xcacacacaU, 0x82828282U, 0xc9c9c9c9U, 0x7d7d7d7dU, | ||
| 316 | 0xfafafafaU, 0x59595959U, 0x47474747U, 0xf0f0f0f0U, | ||
| 317 | 0xadadadadU, 0xd4d4d4d4U, 0xa2a2a2a2U, 0xafafafafU, | ||
| 318 | 0x9c9c9c9cU, 0xa4a4a4a4U, 0x72727272U, 0xc0c0c0c0U, | ||
| 319 | 0xb7b7b7b7U, 0xfdfdfdfdU, 0x93939393U, 0x26262626U, | ||
| 320 | 0x36363636U, 0x3f3f3f3fU, 0xf7f7f7f7U, 0xccccccccU, | ||
| 321 | 0x34343434U, 0xa5a5a5a5U, 0xe5e5e5e5U, 0xf1f1f1f1U, | ||
| 322 | 0x71717171U, 0xd8d8d8d8U, 0x31313131U, 0x15151515U, | ||
| 323 | 0x04040404U, 0xc7c7c7c7U, 0x23232323U, 0xc3c3c3c3U, | ||
| 324 | 0x18181818U, 0x96969696U, 0x05050505U, 0x9a9a9a9aU, | ||
| 325 | 0x07070707U, 0x12121212U, 0x80808080U, 0xe2e2e2e2U, | ||
| 326 | 0xebebebebU, 0x27272727U, 0xb2b2b2b2U, 0x75757575U, | ||
| 327 | 0x09090909U, 0x83838383U, 0x2c2c2c2cU, 0x1a1a1a1aU, | ||
| 328 | 0x1b1b1b1bU, 0x6e6e6e6eU, 0x5a5a5a5aU, 0xa0a0a0a0U, | ||
| 329 | 0x52525252U, 0x3b3b3b3bU, 0xd6d6d6d6U, 0xb3b3b3b3U, | ||
| 330 | 0x29292929U, 0xe3e3e3e3U, 0x2f2f2f2fU, 0x84848484U, | ||
| 331 | 0x53535353U, 0xd1d1d1d1U, 0x00000000U, 0xededededU, | ||
| 332 | 0x20202020U, 0xfcfcfcfcU, 0xb1b1b1b1U, 0x5b5b5b5bU, | ||
| 333 | 0x6a6a6a6aU, 0xcbcbcbcbU, 0xbebebebeU, 0x39393939U, | ||
| 334 | 0x4a4a4a4aU, 0x4c4c4c4cU, 0x58585858U, 0xcfcfcfcfU, | ||
| 335 | 0xd0d0d0d0U, 0xefefefefU, 0xaaaaaaaaU, 0xfbfbfbfbU, | ||
| 336 | 0x43434343U, 0x4d4d4d4dU, 0x33333333U, 0x85858585U, | ||
| 337 | 0x45454545U, 0xf9f9f9f9U, 0x02020202U, 0x7f7f7f7fU, | ||
| 338 | 0x50505050U, 0x3c3c3c3cU, 0x9f9f9f9fU, 0xa8a8a8a8U, | ||
| 339 | 0x51515151U, 0xa3a3a3a3U, 0x40404040U, 0x8f8f8f8fU, | ||
| 340 | 0x92929292U, 0x9d9d9d9dU, 0x38383838U, 0xf5f5f5f5U, | ||
| 341 | 0xbcbcbcbcU, 0xb6b6b6b6U, 0xdadadadaU, 0x21212121U, | ||
| 342 | 0x10101010U, 0xffffffffU, 0xf3f3f3f3U, 0xd2d2d2d2U, | ||
| 343 | 0xcdcdcdcdU, 0x0c0c0c0cU, 0x13131313U, 0xececececU, | ||
| 344 | 0x5f5f5f5fU, 0x97979797U, 0x44444444U, 0x17171717U, | ||
| 345 | 0xc4c4c4c4U, 0xa7a7a7a7U, 0x7e7e7e7eU, 0x3d3d3d3dU, | ||
| 346 | 0x64646464U, 0x5d5d5d5dU, 0x19191919U, 0x73737373U, | ||
| 347 | 0x60606060U, 0x81818181U, 0x4f4f4f4fU, 0xdcdcdcdcU, | ||
| 348 | 0x22222222U, 0x2a2a2a2aU, 0x90909090U, 0x88888888U, | ||
| 349 | 0x46464646U, 0xeeeeeeeeU, 0xb8b8b8b8U, 0x14141414U, | ||
| 350 | 0xdedededeU, 0x5e5e5e5eU, 0x0b0b0b0bU, 0xdbdbdbdbU, | ||
| 351 | 0xe0e0e0e0U, 0x32323232U, 0x3a3a3a3aU, 0x0a0a0a0aU, | ||
| 352 | 0x49494949U, 0x06060606U, 0x24242424U, 0x5c5c5c5cU, | ||
| 353 | 0xc2c2c2c2U, 0xd3d3d3d3U, 0xacacacacU, 0x62626262U, | ||
| 354 | 0x91919191U, 0x95959595U, 0xe4e4e4e4U, 0x79797979U, | ||
| 355 | 0xe7e7e7e7U, 0xc8c8c8c8U, 0x37373737U, 0x6d6d6d6dU, | ||
| 356 | 0x8d8d8d8dU, 0xd5d5d5d5U, 0x4e4e4e4eU, 0xa9a9a9a9U, | ||
| 357 | 0x6c6c6c6cU, 0x56565656U, 0xf4f4f4f4U, 0xeaeaeaeaU, | ||
| 358 | 0x65656565U, 0x7a7a7a7aU, 0xaeaeaeaeU, 0x08080808U, | ||
| 359 | 0xbabababaU, 0x78787878U, 0x25252525U, 0x2e2e2e2eU, | ||
| 360 | 0x1c1c1c1cU, 0xa6a6a6a6U, 0xb4b4b4b4U, 0xc6c6c6c6U, | ||
| 361 | 0xe8e8e8e8U, 0xddddddddU, 0x74747474U, 0x1f1f1f1fU, | ||
| 362 | 0x4b4b4b4bU, 0xbdbdbdbdU, 0x8b8b8b8bU, 0x8a8a8a8aU, | ||
| 363 | 0x70707070U, 0x3e3e3e3eU, 0xb5b5b5b5U, 0x66666666U, | ||
| 364 | 0x48484848U, 0x03030303U, 0xf6f6f6f6U, 0x0e0e0e0eU, | ||
| 365 | 0x61616161U, 0x35353535U, 0x57575757U, 0xb9b9b9b9U, | ||
| 366 | 0x86868686U, 0xc1c1c1c1U, 0x1d1d1d1dU, 0x9e9e9e9eU, | ||
| 367 | 0xe1e1e1e1U, 0xf8f8f8f8U, 0x98989898U, 0x11111111U, | ||
| 368 | 0x69696969U, 0xd9d9d9d9U, 0x8e8e8e8eU, 0x94949494U, | ||
| 369 | 0x9b9b9b9bU, 0x1e1e1e1eU, 0x87878787U, 0xe9e9e9e9U, | ||
| 370 | 0xcecececeU, 0x55555555U, 0x28282828U, 0xdfdfdfdfU, | ||
| 371 | 0x8c8c8c8cU, 0xa1a1a1a1U, 0x89898989U, 0x0d0d0d0dU, | ||
| 372 | 0xbfbfbfbfU, 0xe6e6e6e6U, 0x42424242U, 0x68686868U, | ||
| 373 | 0x41414141U, 0x99999999U, 0x2d2d2d2dU, 0x0f0f0f0fU, | ||
| 374 | 0xb0b0b0b0U, 0x54545454U, 0xbbbbbbbbU, 0x16161616U, | ||
| 375 | }; | ||
| 376 | static const u32 Td0[256] = { | ||
| 377 | 0x51f4a750U, 0x7e416553U, 0x1a17a4c3U, 0x3a275e96U, | ||
| 378 | 0x3bab6bcbU, 0x1f9d45f1U, 0xacfa58abU, 0x4be30393U, | ||
| 379 | 0x2030fa55U, 0xad766df6U, 0x88cc7691U, 0xf5024c25U, | ||
| 380 | 0x4fe5d7fcU, 0xc52acbd7U, 0x26354480U, 0xb562a38fU, | ||
| 381 | 0xdeb15a49U, 0x25ba1b67U, 0x45ea0e98U, 0x5dfec0e1U, | ||
| 382 | 0xc32f7502U, 0x814cf012U, 0x8d4697a3U, 0x6bd3f9c6U, | ||
| 383 | 0x038f5fe7U, 0x15929c95U, 0xbf6d7aebU, 0x955259daU, | ||
| 384 | 0xd4be832dU, 0x587421d3U, 0x49e06929U, 0x8ec9c844U, | ||
| 385 | 0x75c2896aU, 0xf48e7978U, 0x99583e6bU, 0x27b971ddU, | ||
| 386 | 0xbee14fb6U, 0xf088ad17U, 0xc920ac66U, 0x7dce3ab4U, | ||
| 387 | 0x63df4a18U, 0xe51a3182U, 0x97513360U, 0x62537f45U, | ||
| 388 | 0xb16477e0U, 0xbb6bae84U, 0xfe81a01cU, 0xf9082b94U, | ||
| 389 | 0x70486858U, 0x8f45fd19U, 0x94de6c87U, 0x527bf8b7U, | ||
| 390 | 0xab73d323U, 0x724b02e2U, 0xe31f8f57U, 0x6655ab2aU, | ||
| 391 | 0xb2eb2807U, 0x2fb5c203U, 0x86c57b9aU, 0xd33708a5U, | ||
| 392 | 0x302887f2U, 0x23bfa5b2U, 0x02036abaU, 0xed16825cU, | ||
| 393 | 0x8acf1c2bU, 0xa779b492U, 0xf307f2f0U, 0x4e69e2a1U, | ||
| 394 | 0x65daf4cdU, 0x0605bed5U, 0xd134621fU, 0xc4a6fe8aU, | ||
| 395 | 0x342e539dU, 0xa2f355a0U, 0x058ae132U, 0xa4f6eb75U, | ||
| 396 | 0x0b83ec39U, 0x4060efaaU, 0x5e719f06U, 0xbd6e1051U, | ||
| 397 | 0x3e218af9U, 0x96dd063dU, 0xdd3e05aeU, 0x4de6bd46U, | ||
| 398 | 0x91548db5U, 0x71c45d05U, 0x0406d46fU, 0x605015ffU, | ||
| 399 | 0x1998fb24U, 0xd6bde997U, 0x894043ccU, 0x67d99e77U, | ||
| 400 | 0xb0e842bdU, 0x07898b88U, 0xe7195b38U, 0x79c8eedbU, | ||
| 401 | 0xa17c0a47U, 0x7c420fe9U, 0xf8841ec9U, 0x00000000U, | ||
| 402 | 0x09808683U, 0x322bed48U, 0x1e1170acU, 0x6c5a724eU, | ||
| 403 | 0xfd0efffbU, 0x0f853856U, 0x3daed51eU, 0x362d3927U, | ||
| 404 | 0x0a0fd964U, 0x685ca621U, 0x9b5b54d1U, 0x24362e3aU, | ||
| 405 | 0x0c0a67b1U, 0x9357e70fU, 0xb4ee96d2U, 0x1b9b919eU, | ||
| 406 | 0x80c0c54fU, 0x61dc20a2U, 0x5a774b69U, 0x1c121a16U, | ||
| 407 | 0xe293ba0aU, 0xc0a02ae5U, 0x3c22e043U, 0x121b171dU, | ||
| 408 | 0x0e090d0bU, 0xf28bc7adU, 0x2db6a8b9U, 0x141ea9c8U, | ||
| 409 | 0x57f11985U, 0xaf75074cU, 0xee99ddbbU, 0xa37f60fdU, | ||
| 410 | 0xf701269fU, 0x5c72f5bcU, 0x44663bc5U, 0x5bfb7e34U, | ||
| 411 | 0x8b432976U, 0xcb23c6dcU, 0xb6edfc68U, 0xb8e4f163U, | ||
| 412 | 0xd731dccaU, 0x42638510U, 0x13972240U, 0x84c61120U, | ||
| 413 | 0x854a247dU, 0xd2bb3df8U, 0xaef93211U, 0xc729a16dU, | ||
| 414 | 0x1d9e2f4bU, 0xdcb230f3U, 0x0d8652ecU, 0x77c1e3d0U, | ||
| 415 | 0x2bb3166cU, 0xa970b999U, 0x119448faU, 0x47e96422U, | ||
| 416 | 0xa8fc8cc4U, 0xa0f03f1aU, 0x567d2cd8U, 0x223390efU, | ||
| 417 | 0x87494ec7U, 0xd938d1c1U, 0x8ccaa2feU, 0x98d40b36U, | ||
| 418 | 0xa6f581cfU, 0xa57ade28U, 0xdab78e26U, 0x3fadbfa4U, | ||
| 419 | 0x2c3a9de4U, 0x5078920dU, 0x6a5fcc9bU, 0x547e4662U, | ||
| 420 | 0xf68d13c2U, 0x90d8b8e8U, 0x2e39f75eU, 0x82c3aff5U, | ||
| 421 | 0x9f5d80beU, 0x69d0937cU, 0x6fd52da9U, 0xcf2512b3U, | ||
| 422 | 0xc8ac993bU, 0x10187da7U, 0xe89c636eU, 0xdb3bbb7bU, | ||
| 423 | 0xcd267809U, 0x6e5918f4U, 0xec9ab701U, 0x834f9aa8U, | ||
| 424 | 0xe6956e65U, 0xaaffe67eU, 0x21bccf08U, 0xef15e8e6U, | ||
| 425 | 0xbae79bd9U, 0x4a6f36ceU, 0xea9f09d4U, 0x29b07cd6U, | ||
| 426 | 0x31a4b2afU, 0x2a3f2331U, 0xc6a59430U, 0x35a266c0U, | ||
| 427 | 0x744ebc37U, 0xfc82caa6U, 0xe090d0b0U, 0x33a7d815U, | ||
| 428 | 0xf104984aU, 0x41ecdaf7U, 0x7fcd500eU, 0x1791f62fU, | ||
| 429 | 0x764dd68dU, 0x43efb04dU, 0xccaa4d54U, 0xe49604dfU, | ||
| 430 | 0x9ed1b5e3U, 0x4c6a881bU, 0xc12c1fb8U, 0x4665517fU, | ||
| 431 | 0x9d5eea04U, 0x018c355dU, 0xfa877473U, 0xfb0b412eU, | ||
| 432 | 0xb3671d5aU, 0x92dbd252U, 0xe9105633U, 0x6dd64713U, | ||
| 433 | 0x9ad7618cU, 0x37a10c7aU, 0x59f8148eU, 0xeb133c89U, | ||
| 434 | 0xcea927eeU, 0xb761c935U, 0xe11ce5edU, 0x7a47b13cU, | ||
| 435 | 0x9cd2df59U, 0x55f2733fU, 0x1814ce79U, 0x73c737bfU, | ||
| 436 | 0x53f7cdeaU, 0x5ffdaa5bU, 0xdf3d6f14U, 0x7844db86U, | ||
| 437 | 0xcaaff381U, 0xb968c43eU, 0x3824342cU, 0xc2a3405fU, | ||
| 438 | 0x161dc372U, 0xbce2250cU, 0x283c498bU, 0xff0d9541U, | ||
| 439 | 0x39a80171U, 0x080cb3deU, 0xd8b4e49cU, 0x6456c190U, | ||
| 440 | 0x7bcb8461U, 0xd532b670U, 0x486c5c74U, 0xd0b85742U, | ||
| 441 | }; | ||
| 442 | static const u32 Td1[256] = { | ||
| 443 | 0x5051f4a7U, 0x537e4165U, 0xc31a17a4U, 0x963a275eU, | ||
| 444 | 0xcb3bab6bU, 0xf11f9d45U, 0xabacfa58U, 0x934be303U, | ||
| 445 | 0x552030faU, 0xf6ad766dU, 0x9188cc76U, 0x25f5024cU, | ||
| 446 | 0xfc4fe5d7U, 0xd7c52acbU, 0x80263544U, 0x8fb562a3U, | ||
| 447 | 0x49deb15aU, 0x6725ba1bU, 0x9845ea0eU, 0xe15dfec0U, | ||
| 448 | 0x02c32f75U, 0x12814cf0U, 0xa38d4697U, 0xc66bd3f9U, | ||
| 449 | 0xe7038f5fU, 0x9515929cU, 0xebbf6d7aU, 0xda955259U, | ||
| 450 | 0x2dd4be83U, 0xd3587421U, 0x2949e069U, 0x448ec9c8U, | ||
| 451 | 0x6a75c289U, 0x78f48e79U, 0x6b99583eU, 0xdd27b971U, | ||
| 452 | 0xb6bee14fU, 0x17f088adU, 0x66c920acU, 0xb47dce3aU, | ||
| 453 | 0x1863df4aU, 0x82e51a31U, 0x60975133U, 0x4562537fU, | ||
| 454 | 0xe0b16477U, 0x84bb6baeU, 0x1cfe81a0U, 0x94f9082bU, | ||
| 455 | 0x58704868U, 0x198f45fdU, 0x8794de6cU, 0xb7527bf8U, | ||
| 456 | 0x23ab73d3U, 0xe2724b02U, 0x57e31f8fU, 0x2a6655abU, | ||
| 457 | 0x07b2eb28U, 0x032fb5c2U, 0x9a86c57bU, 0xa5d33708U, | ||
| 458 | 0xf2302887U, 0xb223bfa5U, 0xba02036aU, 0x5ced1682U, | ||
| 459 | 0x2b8acf1cU, 0x92a779b4U, 0xf0f307f2U, 0xa14e69e2U, | ||
| 460 | 0xcd65daf4U, 0xd50605beU, 0x1fd13462U, 0x8ac4a6feU, | ||
| 461 | 0x9d342e53U, 0xa0a2f355U, 0x32058ae1U, 0x75a4f6ebU, | ||
| 462 | 0x390b83ecU, 0xaa4060efU, 0x065e719fU, 0x51bd6e10U, | ||
| 463 | 0xf93e218aU, 0x3d96dd06U, 0xaedd3e05U, 0x464de6bdU, | ||
| 464 | 0xb591548dU, 0x0571c45dU, 0x6f0406d4U, 0xff605015U, | ||
| 465 | 0x241998fbU, 0x97d6bde9U, 0xcc894043U, 0x7767d99eU, | ||
| 466 | 0xbdb0e842U, 0x8807898bU, 0x38e7195bU, 0xdb79c8eeU, | ||
| 467 | 0x47a17c0aU, 0xe97c420fU, 0xc9f8841eU, 0x00000000U, | ||
| 468 | 0x83098086U, 0x48322bedU, 0xac1e1170U, 0x4e6c5a72U, | ||
| 469 | 0xfbfd0effU, 0x560f8538U, 0x1e3daed5U, 0x27362d39U, | ||
| 470 | 0x640a0fd9U, 0x21685ca6U, 0xd19b5b54U, 0x3a24362eU, | ||
| 471 | 0xb10c0a67U, 0x0f9357e7U, 0xd2b4ee96U, 0x9e1b9b91U, | ||
| 472 | 0x4f80c0c5U, 0xa261dc20U, 0x695a774bU, 0x161c121aU, | ||
| 473 | 0x0ae293baU, 0xe5c0a02aU, 0x433c22e0U, 0x1d121b17U, | ||
| 474 | 0x0b0e090dU, 0xadf28bc7U, 0xb92db6a8U, 0xc8141ea9U, | ||
| 475 | 0x8557f119U, 0x4caf7507U, 0xbbee99ddU, 0xfda37f60U, | ||
| 476 | 0x9ff70126U, 0xbc5c72f5U, 0xc544663bU, 0x345bfb7eU, | ||
| 477 | 0x768b4329U, 0xdccb23c6U, 0x68b6edfcU, 0x63b8e4f1U, | ||
| 478 | 0xcad731dcU, 0x10426385U, 0x40139722U, 0x2084c611U, | ||
| 479 | 0x7d854a24U, 0xf8d2bb3dU, 0x11aef932U, 0x6dc729a1U, | ||
| 480 | 0x4b1d9e2fU, 0xf3dcb230U, 0xec0d8652U, 0xd077c1e3U, | ||
| 481 | 0x6c2bb316U, 0x99a970b9U, 0xfa119448U, 0x2247e964U, | ||
| 482 | 0xc4a8fc8cU, 0x1aa0f03fU, 0xd8567d2cU, 0xef223390U, | ||
| 483 | 0xc787494eU, 0xc1d938d1U, 0xfe8ccaa2U, 0x3698d40bU, | ||
| 484 | 0xcfa6f581U, 0x28a57adeU, 0x26dab78eU, 0xa43fadbfU, | ||
| 485 | 0xe42c3a9dU, 0x0d507892U, 0x9b6a5fccU, 0x62547e46U, | ||
| 486 | 0xc2f68d13U, 0xe890d8b8U, 0x5e2e39f7U, 0xf582c3afU, | ||
| 487 | 0xbe9f5d80U, 0x7c69d093U, 0xa96fd52dU, 0xb3cf2512U, | ||
| 488 | 0x3bc8ac99U, 0xa710187dU, 0x6ee89c63U, 0x7bdb3bbbU, | ||
| 489 | 0x09cd2678U, 0xf46e5918U, 0x01ec9ab7U, 0xa8834f9aU, | ||
| 490 | 0x65e6956eU, 0x7eaaffe6U, 0x0821bccfU, 0xe6ef15e8U, | ||
| 491 | 0xd9bae79bU, 0xce4a6f36U, 0xd4ea9f09U, 0xd629b07cU, | ||
| 492 | 0xaf31a4b2U, 0x312a3f23U, 0x30c6a594U, 0xc035a266U, | ||
| 493 | 0x37744ebcU, 0xa6fc82caU, 0xb0e090d0U, 0x1533a7d8U, | ||
| 494 | 0x4af10498U, 0xf741ecdaU, 0x0e7fcd50U, 0x2f1791f6U, | ||
| 495 | 0x8d764dd6U, 0x4d43efb0U, 0x54ccaa4dU, 0xdfe49604U, | ||
| 496 | 0xe39ed1b5U, 0x1b4c6a88U, 0xb8c12c1fU, 0x7f466551U, | ||
| 497 | 0x049d5eeaU, 0x5d018c35U, 0x73fa8774U, 0x2efb0b41U, | ||
| 498 | 0x5ab3671dU, 0x5292dbd2U, 0x33e91056U, 0x136dd647U, | ||
| 499 | 0x8c9ad761U, 0x7a37a10cU, 0x8e59f814U, 0x89eb133cU, | ||
| 500 | 0xeecea927U, 0x35b761c9U, 0xede11ce5U, 0x3c7a47b1U, | ||
| 501 | 0x599cd2dfU, 0x3f55f273U, 0x791814ceU, 0xbf73c737U, | ||
| 502 | 0xea53f7cdU, 0x5b5ffdaaU, 0x14df3d6fU, 0x867844dbU, | ||
| 503 | 0x81caaff3U, 0x3eb968c4U, 0x2c382434U, 0x5fc2a340U, | ||
| 504 | 0x72161dc3U, 0x0cbce225U, 0x8b283c49U, 0x41ff0d95U, | ||
| 505 | 0x7139a801U, 0xde080cb3U, 0x9cd8b4e4U, 0x906456c1U, | ||
| 506 | 0x617bcb84U, 0x70d532b6U, 0x74486c5cU, 0x42d0b857U, | ||
| 507 | }; | ||
| 508 | static const u32 Td2[256] = { | ||
| 509 | 0xa75051f4U, 0x65537e41U, 0xa4c31a17U, 0x5e963a27U, | ||
| 510 | 0x6bcb3babU, 0x45f11f9dU, 0x58abacfaU, 0x03934be3U, | ||
| 511 | 0xfa552030U, 0x6df6ad76U, 0x769188ccU, 0x4c25f502U, | ||
| 512 | 0xd7fc4fe5U, 0xcbd7c52aU, 0x44802635U, 0xa38fb562U, | ||
| 513 | 0x5a49deb1U, 0x1b6725baU, 0x0e9845eaU, 0xc0e15dfeU, | ||
| 514 | 0x7502c32fU, 0xf012814cU, 0x97a38d46U, 0xf9c66bd3U, | ||
| 515 | 0x5fe7038fU, 0x9c951592U, 0x7aebbf6dU, 0x59da9552U, | ||
| 516 | 0x832dd4beU, 0x21d35874U, 0x692949e0U, 0xc8448ec9U, | ||
| 517 | 0x896a75c2U, 0x7978f48eU, 0x3e6b9958U, 0x71dd27b9U, | ||
| 518 | 0x4fb6bee1U, 0xad17f088U, 0xac66c920U, 0x3ab47dceU, | ||
| 519 | 0x4a1863dfU, 0x3182e51aU, 0x33609751U, 0x7f456253U, | ||
| 520 | 0x77e0b164U, 0xae84bb6bU, 0xa01cfe81U, 0x2b94f908U, | ||
| 521 | 0x68587048U, 0xfd198f45U, 0x6c8794deU, 0xf8b7527bU, | ||
| 522 | 0xd323ab73U, 0x02e2724bU, 0x8f57e31fU, 0xab2a6655U, | ||
| 523 | 0x2807b2ebU, 0xc2032fb5U, 0x7b9a86c5U, 0x08a5d337U, | ||
| 524 | 0x87f23028U, 0xa5b223bfU, 0x6aba0203U, 0x825ced16U, | ||
| 525 | 0x1c2b8acfU, 0xb492a779U, 0xf2f0f307U, 0xe2a14e69U, | ||
| 526 | 0xf4cd65daU, 0xbed50605U, 0x621fd134U, 0xfe8ac4a6U, | ||
| 527 | 0x539d342eU, 0x55a0a2f3U, 0xe132058aU, 0xeb75a4f6U, | ||
| 528 | 0xec390b83U, 0xefaa4060U, 0x9f065e71U, 0x1051bd6eU, | ||
| 529 | |||
| 530 | 0x8af93e21U, 0x063d96ddU, 0x05aedd3eU, 0xbd464de6U, | ||
| 531 | 0x8db59154U, 0x5d0571c4U, 0xd46f0406U, 0x15ff6050U, | ||
| 532 | 0xfb241998U, 0xe997d6bdU, 0x43cc8940U, 0x9e7767d9U, | ||
| 533 | 0x42bdb0e8U, 0x8b880789U, 0x5b38e719U, 0xeedb79c8U, | ||
| 534 | 0x0a47a17cU, 0x0fe97c42U, 0x1ec9f884U, 0x00000000U, | ||
| 535 | 0x86830980U, 0xed48322bU, 0x70ac1e11U, 0x724e6c5aU, | ||
| 536 | 0xfffbfd0eU, 0x38560f85U, 0xd51e3daeU, 0x3927362dU, | ||
| 537 | 0xd9640a0fU, 0xa621685cU, 0x54d19b5bU, 0x2e3a2436U, | ||
| 538 | 0x67b10c0aU, 0xe70f9357U, 0x96d2b4eeU, 0x919e1b9bU, | ||
| 539 | 0xc54f80c0U, 0x20a261dcU, 0x4b695a77U, 0x1a161c12U, | ||
| 540 | 0xba0ae293U, 0x2ae5c0a0U, 0xe0433c22U, 0x171d121bU, | ||
| 541 | 0x0d0b0e09U, 0xc7adf28bU, 0xa8b92db6U, 0xa9c8141eU, | ||
| 542 | 0x198557f1U, 0x074caf75U, 0xddbbee99U, 0x60fda37fU, | ||
| 543 | 0x269ff701U, 0xf5bc5c72U, 0x3bc54466U, 0x7e345bfbU, | ||
| 544 | 0x29768b43U, 0xc6dccb23U, 0xfc68b6edU, 0xf163b8e4U, | ||
| 545 | 0xdccad731U, 0x85104263U, 0x22401397U, 0x112084c6U, | ||
| 546 | 0x247d854aU, 0x3df8d2bbU, 0x3211aef9U, 0xa16dc729U, | ||
| 547 | 0x2f4b1d9eU, 0x30f3dcb2U, 0x52ec0d86U, 0xe3d077c1U, | ||
| 548 | 0x166c2bb3U, 0xb999a970U, 0x48fa1194U, 0x642247e9U, | ||
| 549 | 0x8cc4a8fcU, 0x3f1aa0f0U, 0x2cd8567dU, 0x90ef2233U, | ||
| 550 | 0x4ec78749U, 0xd1c1d938U, 0xa2fe8ccaU, 0x0b3698d4U, | ||
| 551 | 0x81cfa6f5U, 0xde28a57aU, 0x8e26dab7U, 0xbfa43fadU, | ||
| 552 | 0x9de42c3aU, 0x920d5078U, 0xcc9b6a5fU, 0x4662547eU, | ||
| 553 | 0x13c2f68dU, 0xb8e890d8U, 0xf75e2e39U, 0xaff582c3U, | ||
| 554 | 0x80be9f5dU, 0x937c69d0U, 0x2da96fd5U, 0x12b3cf25U, | ||
| 555 | 0x993bc8acU, 0x7da71018U, 0x636ee89cU, 0xbb7bdb3bU, | ||
| 556 | 0x7809cd26U, 0x18f46e59U, 0xb701ec9aU, 0x9aa8834fU, | ||
| 557 | 0x6e65e695U, 0xe67eaaffU, 0xcf0821bcU, 0xe8e6ef15U, | ||
| 558 | 0x9bd9bae7U, 0x36ce4a6fU, 0x09d4ea9fU, 0x7cd629b0U, | ||
| 559 | 0xb2af31a4U, 0x23312a3fU, 0x9430c6a5U, 0x66c035a2U, | ||
| 560 | 0xbc37744eU, 0xcaa6fc82U, 0xd0b0e090U, 0xd81533a7U, | ||
| 561 | 0x984af104U, 0xdaf741ecU, 0x500e7fcdU, 0xf62f1791U, | ||
| 562 | 0xd68d764dU, 0xb04d43efU, 0x4d54ccaaU, 0x04dfe496U, | ||
| 563 | 0xb5e39ed1U, 0x881b4c6aU, 0x1fb8c12cU, 0x517f4665U, | ||
| 564 | 0xea049d5eU, 0x355d018cU, 0x7473fa87U, 0x412efb0bU, | ||
| 565 | 0x1d5ab367U, 0xd25292dbU, 0x5633e910U, 0x47136dd6U, | ||
| 566 | 0x618c9ad7U, 0x0c7a37a1U, 0x148e59f8U, 0x3c89eb13U, | ||
| 567 | 0x27eecea9U, 0xc935b761U, 0xe5ede11cU, 0xb13c7a47U, | ||
| 568 | 0xdf599cd2U, 0x733f55f2U, 0xce791814U, 0x37bf73c7U, | ||
| 569 | 0xcdea53f7U, 0xaa5b5ffdU, 0x6f14df3dU, 0xdb867844U, | ||
| 570 | 0xf381caafU, 0xc43eb968U, 0x342c3824U, 0x405fc2a3U, | ||
| 571 | 0xc372161dU, 0x250cbce2U, 0x498b283cU, 0x9541ff0dU, | ||
| 572 | 0x017139a8U, 0xb3de080cU, 0xe49cd8b4U, 0xc1906456U, | ||
| 573 | 0x84617bcbU, 0xb670d532U, 0x5c74486cU, 0x5742d0b8U, | ||
| 574 | }; | ||
| 575 | static const u32 Td3[256] = { | ||
| 576 | 0xf4a75051U, 0x4165537eU, 0x17a4c31aU, 0x275e963aU, | ||
| 577 | 0xab6bcb3bU, 0x9d45f11fU, 0xfa58abacU, 0xe303934bU, | ||
| 578 | 0x30fa5520U, 0x766df6adU, 0xcc769188U, 0x024c25f5U, | ||
| 579 | 0xe5d7fc4fU, 0x2acbd7c5U, 0x35448026U, 0x62a38fb5U, | ||
| 580 | 0xb15a49deU, 0xba1b6725U, 0xea0e9845U, 0xfec0e15dU, | ||
| 581 | 0x2f7502c3U, 0x4cf01281U, 0x4697a38dU, 0xd3f9c66bU, | ||
| 582 | 0x8f5fe703U, 0x929c9515U, 0x6d7aebbfU, 0x5259da95U, | ||
| 583 | 0xbe832dd4U, 0x7421d358U, 0xe0692949U, 0xc9c8448eU, | ||
| 584 | 0xc2896a75U, 0x8e7978f4U, 0x583e6b99U, 0xb971dd27U, | ||
| 585 | 0xe14fb6beU, 0x88ad17f0U, 0x20ac66c9U, 0xce3ab47dU, | ||
| 586 | 0xdf4a1863U, 0x1a3182e5U, 0x51336097U, 0x537f4562U, | ||
| 587 | 0x6477e0b1U, 0x6bae84bbU, 0x81a01cfeU, 0x082b94f9U, | ||
| 588 | 0x48685870U, 0x45fd198fU, 0xde6c8794U, 0x7bf8b752U, | ||
| 589 | 0x73d323abU, 0x4b02e272U, 0x1f8f57e3U, 0x55ab2a66U, | ||
| 590 | 0xeb2807b2U, 0xb5c2032fU, 0xc57b9a86U, 0x3708a5d3U, | ||
| 591 | 0x2887f230U, 0xbfa5b223U, 0x036aba02U, 0x16825cedU, | ||
| 592 | 0xcf1c2b8aU, 0x79b492a7U, 0x07f2f0f3U, 0x69e2a14eU, | ||
| 593 | 0xdaf4cd65U, 0x05bed506U, 0x34621fd1U, 0xa6fe8ac4U, | ||
| 594 | 0x2e539d34U, 0xf355a0a2U, 0x8ae13205U, 0xf6eb75a4U, | ||
| 595 | 0x83ec390bU, 0x60efaa40U, 0x719f065eU, 0x6e1051bdU, | ||
| 596 | 0x218af93eU, 0xdd063d96U, 0x3e05aeddU, 0xe6bd464dU, | ||
| 597 | 0x548db591U, 0xc45d0571U, 0x06d46f04U, 0x5015ff60U, | ||
| 598 | 0x98fb2419U, 0xbde997d6U, 0x4043cc89U, 0xd99e7767U, | ||
| 599 | 0xe842bdb0U, 0x898b8807U, 0x195b38e7U, 0xc8eedb79U, | ||
| 600 | 0x7c0a47a1U, 0x420fe97cU, 0x841ec9f8U, 0x00000000U, | ||
| 601 | 0x80868309U, 0x2bed4832U, 0x1170ac1eU, 0x5a724e6cU, | ||
| 602 | 0x0efffbfdU, 0x8538560fU, 0xaed51e3dU, 0x2d392736U, | ||
| 603 | 0x0fd9640aU, 0x5ca62168U, 0x5b54d19bU, 0x362e3a24U, | ||
| 604 | 0x0a67b10cU, 0x57e70f93U, 0xee96d2b4U, 0x9b919e1bU, | ||
| 605 | 0xc0c54f80U, 0xdc20a261U, 0x774b695aU, 0x121a161cU, | ||
| 606 | 0x93ba0ae2U, 0xa02ae5c0U, 0x22e0433cU, 0x1b171d12U, | ||
| 607 | 0x090d0b0eU, 0x8bc7adf2U, 0xb6a8b92dU, 0x1ea9c814U, | ||
| 608 | 0xf1198557U, 0x75074cafU, 0x99ddbbeeU, 0x7f60fda3U, | ||
| 609 | 0x01269ff7U, 0x72f5bc5cU, 0x663bc544U, 0xfb7e345bU, | ||
| 610 | 0x4329768bU, 0x23c6dccbU, 0xedfc68b6U, 0xe4f163b8U, | ||
| 611 | 0x31dccad7U, 0x63851042U, 0x97224013U, 0xc6112084U, | ||
| 612 | 0x4a247d85U, 0xbb3df8d2U, 0xf93211aeU, 0x29a16dc7U, | ||
| 613 | 0x9e2f4b1dU, 0xb230f3dcU, 0x8652ec0dU, 0xc1e3d077U, | ||
| 614 | 0xb3166c2bU, 0x70b999a9U, 0x9448fa11U, 0xe9642247U, | ||
| 615 | 0xfc8cc4a8U, 0xf03f1aa0U, 0x7d2cd856U, 0x3390ef22U, | ||
| 616 | 0x494ec787U, 0x38d1c1d9U, 0xcaa2fe8cU, 0xd40b3698U, | ||
| 617 | 0xf581cfa6U, 0x7ade28a5U, 0xb78e26daU, 0xadbfa43fU, | ||
| 618 | 0x3a9de42cU, 0x78920d50U, 0x5fcc9b6aU, 0x7e466254U, | ||
| 619 | 0x8d13c2f6U, 0xd8b8e890U, 0x39f75e2eU, 0xc3aff582U, | ||
| 620 | 0x5d80be9fU, 0xd0937c69U, 0xd52da96fU, 0x2512b3cfU, | ||
| 621 | 0xac993bc8U, 0x187da710U, 0x9c636ee8U, 0x3bbb7bdbU, | ||
| 622 | 0x267809cdU, 0x5918f46eU, 0x9ab701ecU, 0x4f9aa883U, | ||
| 623 | 0x956e65e6U, 0xffe67eaaU, 0xbccf0821U, 0x15e8e6efU, | ||
| 624 | 0xe79bd9baU, 0x6f36ce4aU, 0x9f09d4eaU, 0xb07cd629U, | ||
| 625 | 0xa4b2af31U, 0x3f23312aU, 0xa59430c6U, 0xa266c035U, | ||
| 626 | 0x4ebc3774U, 0x82caa6fcU, 0x90d0b0e0U, 0xa7d81533U, | ||
| 627 | 0x04984af1U, 0xecdaf741U, 0xcd500e7fU, 0x91f62f17U, | ||
| 628 | 0x4dd68d76U, 0xefb04d43U, 0xaa4d54ccU, 0x9604dfe4U, | ||
| 629 | 0xd1b5e39eU, 0x6a881b4cU, 0x2c1fb8c1U, 0x65517f46U, | ||
| 630 | 0x5eea049dU, 0x8c355d01U, 0x877473faU, 0x0b412efbU, | ||
| 631 | 0x671d5ab3U, 0xdbd25292U, 0x105633e9U, 0xd647136dU, | ||
| 632 | 0xd7618c9aU, 0xa10c7a37U, 0xf8148e59U, 0x133c89ebU, | ||
| 633 | 0xa927eeceU, 0x61c935b7U, 0x1ce5ede1U, 0x47b13c7aU, | ||
| 634 | 0xd2df599cU, 0xf2733f55U, 0x14ce7918U, 0xc737bf73U, | ||
| 635 | 0xf7cdea53U, 0xfdaa5b5fU, 0x3d6f14dfU, 0x44db8678U, | ||
| 636 | 0xaff381caU, 0x68c43eb9U, 0x24342c38U, 0xa3405fc2U, | ||
| 637 | 0x1dc37216U, 0xe2250cbcU, 0x3c498b28U, 0x0d9541ffU, | ||
| 638 | 0xa8017139U, 0x0cb3de08U, 0xb4e49cd8U, 0x56c19064U, | ||
| 639 | 0xcb84617bU, 0x32b670d5U, 0x6c5c7448U, 0xb85742d0U, | ||
| 640 | }; | ||
| 641 | static const u32 Td4[256] = { | ||
| 642 | 0x52525252U, 0x09090909U, 0x6a6a6a6aU, 0xd5d5d5d5U, | ||
| 643 | 0x30303030U, 0x36363636U, 0xa5a5a5a5U, 0x38383838U, | ||
| 644 | 0xbfbfbfbfU, 0x40404040U, 0xa3a3a3a3U, 0x9e9e9e9eU, | ||
| 645 | 0x81818181U, 0xf3f3f3f3U, 0xd7d7d7d7U, 0xfbfbfbfbU, | ||
| 646 | 0x7c7c7c7cU, 0xe3e3e3e3U, 0x39393939U, 0x82828282U, | ||
| 647 | 0x9b9b9b9bU, 0x2f2f2f2fU, 0xffffffffU, 0x87878787U, | ||
| 648 | 0x34343434U, 0x8e8e8e8eU, 0x43434343U, 0x44444444U, | ||
| 649 | 0xc4c4c4c4U, 0xdedededeU, 0xe9e9e9e9U, 0xcbcbcbcbU, | ||
| 650 | 0x54545454U, 0x7b7b7b7bU, 0x94949494U, 0x32323232U, | ||
| 651 | 0xa6a6a6a6U, 0xc2c2c2c2U, 0x23232323U, 0x3d3d3d3dU, | ||
| 652 | 0xeeeeeeeeU, 0x4c4c4c4cU, 0x95959595U, 0x0b0b0b0bU, | ||
| 653 | 0x42424242U, 0xfafafafaU, 0xc3c3c3c3U, 0x4e4e4e4eU, | ||
| 654 | 0x08080808U, 0x2e2e2e2eU, 0xa1a1a1a1U, 0x66666666U, | ||
| 655 | 0x28282828U, 0xd9d9d9d9U, 0x24242424U, 0xb2b2b2b2U, | ||
| 656 | 0x76767676U, 0x5b5b5b5bU, 0xa2a2a2a2U, 0x49494949U, | ||
| 657 | 0x6d6d6d6dU, 0x8b8b8b8bU, 0xd1d1d1d1U, 0x25252525U, | ||
| 658 | 0x72727272U, 0xf8f8f8f8U, 0xf6f6f6f6U, 0x64646464U, | ||
| 659 | 0x86868686U, 0x68686868U, 0x98989898U, 0x16161616U, | ||
| 660 | 0xd4d4d4d4U, 0xa4a4a4a4U, 0x5c5c5c5cU, 0xccccccccU, | ||
| 661 | 0x5d5d5d5dU, 0x65656565U, 0xb6b6b6b6U, 0x92929292U, | ||
| 662 | 0x6c6c6c6cU, 0x70707070U, 0x48484848U, 0x50505050U, | ||
| 663 | 0xfdfdfdfdU, 0xededededU, 0xb9b9b9b9U, 0xdadadadaU, | ||
| 664 | 0x5e5e5e5eU, 0x15151515U, 0x46464646U, 0x57575757U, | ||
| 665 | 0xa7a7a7a7U, 0x8d8d8d8dU, 0x9d9d9d9dU, 0x84848484U, | ||
| 666 | 0x90909090U, 0xd8d8d8d8U, 0xababababU, 0x00000000U, | ||
| 667 | 0x8c8c8c8cU, 0xbcbcbcbcU, 0xd3d3d3d3U, 0x0a0a0a0aU, | ||
| 668 | 0xf7f7f7f7U, 0xe4e4e4e4U, 0x58585858U, 0x05050505U, | ||
| 669 | 0xb8b8b8b8U, 0xb3b3b3b3U, 0x45454545U, 0x06060606U, | ||
| 670 | 0xd0d0d0d0U, 0x2c2c2c2cU, 0x1e1e1e1eU, 0x8f8f8f8fU, | ||
| 671 | 0xcacacacaU, 0x3f3f3f3fU, 0x0f0f0f0fU, 0x02020202U, | ||
| 672 | 0xc1c1c1c1U, 0xafafafafU, 0xbdbdbdbdU, 0x03030303U, | ||
| 673 | 0x01010101U, 0x13131313U, 0x8a8a8a8aU, 0x6b6b6b6bU, | ||
| 674 | 0x3a3a3a3aU, 0x91919191U, 0x11111111U, 0x41414141U, | ||
| 675 | 0x4f4f4f4fU, 0x67676767U, 0xdcdcdcdcU, 0xeaeaeaeaU, | ||
| 676 | 0x97979797U, 0xf2f2f2f2U, 0xcfcfcfcfU, 0xcecececeU, | ||
| 677 | 0xf0f0f0f0U, 0xb4b4b4b4U, 0xe6e6e6e6U, 0x73737373U, | ||
| 678 | 0x96969696U, 0xacacacacU, 0x74747474U, 0x22222222U, | ||
| 679 | 0xe7e7e7e7U, 0xadadadadU, 0x35353535U, 0x85858585U, | ||
| 680 | 0xe2e2e2e2U, 0xf9f9f9f9U, 0x37373737U, 0xe8e8e8e8U, | ||
| 681 | 0x1c1c1c1cU, 0x75757575U, 0xdfdfdfdfU, 0x6e6e6e6eU, | ||
| 682 | 0x47474747U, 0xf1f1f1f1U, 0x1a1a1a1aU, 0x71717171U, | ||
| 683 | 0x1d1d1d1dU, 0x29292929U, 0xc5c5c5c5U, 0x89898989U, | ||
| 684 | 0x6f6f6f6fU, 0xb7b7b7b7U, 0x62626262U, 0x0e0e0e0eU, | ||
| 685 | 0xaaaaaaaaU, 0x18181818U, 0xbebebebeU, 0x1b1b1b1bU, | ||
| 686 | 0xfcfcfcfcU, 0x56565656U, 0x3e3e3e3eU, 0x4b4b4b4bU, | ||
| 687 | 0xc6c6c6c6U, 0xd2d2d2d2U, 0x79797979U, 0x20202020U, | ||
| 688 | 0x9a9a9a9aU, 0xdbdbdbdbU, 0xc0c0c0c0U, 0xfefefefeU, | ||
| 689 | 0x78787878U, 0xcdcdcdcdU, 0x5a5a5a5aU, 0xf4f4f4f4U, | ||
| 690 | 0x1f1f1f1fU, 0xddddddddU, 0xa8a8a8a8U, 0x33333333U, | ||
| 691 | 0x88888888U, 0x07070707U, 0xc7c7c7c7U, 0x31313131U, | ||
| 692 | 0xb1b1b1b1U, 0x12121212U, 0x10101010U, 0x59595959U, | ||
| 693 | 0x27272727U, 0x80808080U, 0xececececU, 0x5f5f5f5fU, | ||
| 694 | 0x60606060U, 0x51515151U, 0x7f7f7f7fU, 0xa9a9a9a9U, | ||
| 695 | 0x19191919U, 0xb5b5b5b5U, 0x4a4a4a4aU, 0x0d0d0d0dU, | ||
| 696 | 0x2d2d2d2dU, 0xe5e5e5e5U, 0x7a7a7a7aU, 0x9f9f9f9fU, | ||
| 697 | 0x93939393U, 0xc9c9c9c9U, 0x9c9c9c9cU, 0xefefefefU, | ||
| 698 | 0xa0a0a0a0U, 0xe0e0e0e0U, 0x3b3b3b3bU, 0x4d4d4d4dU, | ||
| 699 | 0xaeaeaeaeU, 0x2a2a2a2aU, 0xf5f5f5f5U, 0xb0b0b0b0U, | ||
| 700 | 0xc8c8c8c8U, 0xebebebebU, 0xbbbbbbbbU, 0x3c3c3c3cU, | ||
| 701 | 0x83838383U, 0x53535353U, 0x99999999U, 0x61616161U, | ||
| 702 | 0x17171717U, 0x2b2b2b2bU, 0x04040404U, 0x7e7e7e7eU, | ||
| 703 | 0xbabababaU, 0x77777777U, 0xd6d6d6d6U, 0x26262626U, | ||
| 704 | 0xe1e1e1e1U, 0x69696969U, 0x14141414U, 0x63636363U, | ||
| 705 | 0x55555555U, 0x21212121U, 0x0c0c0c0cU, 0x7d7d7d7dU, | ||
| 706 | }; | ||
| 707 | static const u32 rcon[] = { | ||
| 708 | 0x01000000, 0x02000000, 0x04000000, 0x08000000, | ||
| 709 | 0x10000000, 0x20000000, 0x40000000, 0x80000000, | ||
| 710 | 0x1B000000, 0x36000000, /* for 128-bit blocks, Rijndael never uses more than 10 rcon values */ | ||
| 711 | }; | ||
| 712 | |||
| 713 | #define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) | ||
| 714 | |||
| 715 | #ifdef _MSC_VER | ||
| 716 | #define GETU32(p) SWAP(*((u32 *)(p))) | ||
| 717 | #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } | ||
| 718 | #else | ||
| 719 | #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3])) | ||
| 720 | #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); } | ||
| 721 | #endif | ||
| 722 | |||
| 723 | /** | ||
| 724 | * Expand the cipher key into the encryption key schedule. | ||
| 725 | * | ||
| 726 | * @return the number of rounds for the given cipher key size. | ||
| 727 | */ | ||
| 728 | int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { | ||
| 729 | int i = 0; | ||
| 730 | u32 temp; | ||
| 731 | |||
| 732 | rk[0] = GETU32(cipherKey ); | ||
| 733 | rk[1] = GETU32(cipherKey + 4); | ||
| 734 | rk[2] = GETU32(cipherKey + 8); | ||
| 735 | rk[3] = GETU32(cipherKey + 12); | ||
| 736 | if (keyBits == 128) { | ||
| 737 | for (;;) { | ||
| 738 | temp = rk[3]; | ||
| 739 | rk[4] = rk[0] ^ | ||
| 740 | (Te4[(temp >> 16) & 0xff] & 0xff000000) ^ | ||
| 741 | (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^ | ||
| 742 | (Te4[(temp ) & 0xff] & 0x0000ff00) ^ | ||
| 743 | (Te4[(temp >> 24) ] & 0x000000ff) ^ | ||
| 744 | rcon[i]; | ||
| 745 | rk[5] = rk[1] ^ rk[4]; | ||
| 746 | rk[6] = rk[2] ^ rk[5]; | ||
| 747 | rk[7] = rk[3] ^ rk[6]; | ||
| 748 | if (++i == 10) { | ||
| 749 | return 10; | ||
| 750 | } | ||
| 751 | rk += 4; | ||
| 752 | } | ||
| 753 | } | ||
| 754 | rk[4] = GETU32(cipherKey + 16); | ||
| 755 | rk[5] = GETU32(cipherKey + 20); | ||
| 756 | if (keyBits == 192) { | ||
| 757 | for (;;) { | ||
| 758 | temp = rk[ 5]; | ||
| 759 | rk[ 6] = rk[ 0] ^ | ||
| 760 | (Te4[(temp >> 16) & 0xff] & 0xff000000) ^ | ||
| 761 | (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^ | ||
| 762 | (Te4[(temp ) & 0xff] & 0x0000ff00) ^ | ||
| 763 | (Te4[(temp >> 24) ] & 0x000000ff) ^ | ||
| 764 | rcon[i]; | ||
| 765 | rk[ 7] = rk[ 1] ^ rk[ 6]; | ||
| 766 | rk[ 8] = rk[ 2] ^ rk[ 7]; | ||
| 767 | rk[ 9] = rk[ 3] ^ rk[ 8]; | ||
| 768 | if (++i == 8) { | ||
| 769 | return 12; | ||
| 770 | } | ||
| 771 | rk[10] = rk[ 4] ^ rk[ 9]; | ||
| 772 | rk[11] = rk[ 5] ^ rk[10]; | ||
| 773 | rk += 6; | ||
| 774 | } | ||
| 775 | } | ||
| 776 | rk[6] = GETU32(cipherKey + 24); | ||
| 777 | rk[7] = GETU32(cipherKey + 28); | ||
| 778 | if (keyBits == 256) { | ||
| 779 | for (;;) { | ||
| 780 | temp = rk[ 7]; | ||
| 781 | rk[ 8] = rk[ 0] ^ | ||
| 782 | (Te4[(temp >> 16) & 0xff] & 0xff000000) ^ | ||
| 783 | (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^ | ||
| 784 | (Te4[(temp ) & 0xff] & 0x0000ff00) ^ | ||
| 785 | (Te4[(temp >> 24) ] & 0x000000ff) ^ | ||
| 786 | rcon[i]; | ||
| 787 | rk[ 9] = rk[ 1] ^ rk[ 8]; | ||
| 788 | rk[10] = rk[ 2] ^ rk[ 9]; | ||
| 789 | rk[11] = rk[ 3] ^ rk[10]; | ||
| 790 | if (++i == 7) { | ||
| 791 | return 14; | ||
| 792 | } | ||
| 793 | temp = rk[11]; | ||
| 794 | rk[12] = rk[ 4] ^ | ||
| 795 | (Te4[(temp >> 24) ] & 0xff000000) ^ | ||
| 796 | (Te4[(temp >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 797 | (Te4[(temp >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 798 | (Te4[(temp ) & 0xff] & 0x000000ff); | ||
| 799 | rk[13] = rk[ 5] ^ rk[12]; | ||
| 800 | rk[14] = rk[ 6] ^ rk[13]; | ||
| 801 | rk[15] = rk[ 7] ^ rk[14]; | ||
| 802 | |||
| 803 | rk += 8; | ||
| 804 | } | ||
| 805 | } | ||
| 806 | return 0; | ||
| 807 | } | ||
| 808 | |||
| 809 | /** | ||
| 810 | * Expand the cipher key into the decryption key schedule. | ||
| 811 | * | ||
| 812 | * @return the number of rounds for the given cipher key size. | ||
| 813 | */ | ||
| 814 | int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { | ||
| 815 | int Nr, i, j; | ||
| 816 | u32 temp; | ||
| 817 | |||
| 818 | /* expand the cipher key: */ | ||
| 819 | Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits); | ||
| 820 | /* invert the order of the round keys: */ | ||
| 821 | for (i = 0, j = 4*Nr; i < j; i += 4, j -= 4) { | ||
| 822 | temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; | ||
| 823 | temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; | ||
| 824 | temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; | ||
| 825 | temp = rk[i + 3]; rk[i + 3] = rk[j + 3]; rk[j + 3] = temp; | ||
| 826 | } | ||
| 827 | /* apply the inverse MixColumn transform to all round keys but the first and the last: */ | ||
| 828 | for (i = 1; i < Nr; i++) { | ||
| 829 | rk += 4; | ||
| 830 | rk[0] = | ||
| 831 | Td0[Te4[(rk[0] >> 24) ] & 0xff] ^ | ||
| 832 | Td1[Te4[(rk[0] >> 16) & 0xff] & 0xff] ^ | ||
| 833 | Td2[Te4[(rk[0] >> 8) & 0xff] & 0xff] ^ | ||
| 834 | Td3[Te4[(rk[0] ) & 0xff] & 0xff]; | ||
| 835 | rk[1] = | ||
| 836 | Td0[Te4[(rk[1] >> 24) ] & 0xff] ^ | ||
| 837 | Td1[Te4[(rk[1] >> 16) & 0xff] & 0xff] ^ | ||
| 838 | Td2[Te4[(rk[1] >> 8) & 0xff] & 0xff] ^ | ||
| 839 | Td3[Te4[(rk[1] ) & 0xff] & 0xff]; | ||
| 840 | rk[2] = | ||
| 841 | Td0[Te4[(rk[2] >> 24) ] & 0xff] ^ | ||
| 842 | Td1[Te4[(rk[2] >> 16) & 0xff] & 0xff] ^ | ||
| 843 | Td2[Te4[(rk[2] >> 8) & 0xff] & 0xff] ^ | ||
| 844 | Td3[Te4[(rk[2] ) & 0xff] & 0xff]; | ||
| 845 | rk[3] = | ||
| 846 | Td0[Te4[(rk[3] >> 24) ] & 0xff] ^ | ||
| 847 | Td1[Te4[(rk[3] >> 16) & 0xff] & 0xff] ^ | ||
| 848 | Td2[Te4[(rk[3] >> 8) & 0xff] & 0xff] ^ | ||
| 849 | Td3[Te4[(rk[3] ) & 0xff] & 0xff]; | ||
| 850 | } | ||
| 851 | return Nr; | ||
| 852 | } | ||
| 853 | |||
| 854 | void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 ct[16]) { | ||
| 855 | u32 s0, s1, s2, s3, t0, t1, t2, t3; | ||
| 856 | #ifndef FULL_UNROLL | ||
| 857 | int r; | ||
| 858 | #endif /* ?FULL_UNROLL */ | ||
| 859 | |||
| 860 | /* | ||
| 861 | * map byte array block to cipher state | ||
| 862 | * and add initial round key: | ||
| 863 | */ | ||
| 864 | s0 = GETU32(pt ) ^ rk[0]; | ||
| 865 | s1 = GETU32(pt + 4) ^ rk[1]; | ||
| 866 | s2 = GETU32(pt + 8) ^ rk[2]; | ||
| 867 | s3 = GETU32(pt + 12) ^ rk[3]; | ||
| 868 | #ifdef FULL_UNROLL | ||
| 869 | /* round 1: */ | ||
| 870 | t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; | ||
| 871 | t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; | ||
| 872 | t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; | ||
| 873 | t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; | ||
| 874 | /* round 2: */ | ||
| 875 | s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[ 8]; | ||
| 876 | s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9]; | ||
| 877 | s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10]; | ||
| 878 | s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11]; | ||
| 879 | /* round 3: */ | ||
| 880 | t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; | ||
| 881 | t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; | ||
| 882 | t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; | ||
| 883 | t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[15]; | ||
| 884 | /* round 4: */ | ||
| 885 | s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[16]; | ||
| 886 | s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[17]; | ||
| 887 | s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[18]; | ||
| 888 | s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[19]; | ||
| 889 | /* round 5: */ | ||
| 890 | t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[20]; | ||
| 891 | t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[21]; | ||
| 892 | t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[22]; | ||
| 893 | t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[23]; | ||
| 894 | /* round 6: */ | ||
| 895 | s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[24]; | ||
| 896 | s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[25]; | ||
| 897 | s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[26]; | ||
| 898 | s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[27]; | ||
| 899 | /* round 7: */ | ||
| 900 | t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[28]; | ||
| 901 | t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[29]; | ||
| 902 | t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[30]; | ||
| 903 | t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[31]; | ||
| 904 | /* round 8: */ | ||
| 905 | s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[32]; | ||
| 906 | s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[33]; | ||
| 907 | s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[34]; | ||
| 908 | s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[35]; | ||
| 909 | /* round 9: */ | ||
| 910 | t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[36]; | ||
| 911 | t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[37]; | ||
| 912 | t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[38]; | ||
| 913 | t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[39]; | ||
| 914 | if (Nr > 10) { | ||
| 915 | /* round 10: */ | ||
| 916 | s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[40]; | ||
| 917 | s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[41]; | ||
| 918 | s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[42]; | ||
| 919 | s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[43]; | ||
| 920 | /* round 11: */ | ||
| 921 | t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[44]; | ||
| 922 | t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[45]; | ||
| 923 | t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[46]; | ||
| 924 | t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[47]; | ||
| 925 | if (Nr > 12) { | ||
| 926 | /* round 12: */ | ||
| 927 | s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[48]; | ||
| 928 | s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[49]; | ||
| 929 | s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[50]; | ||
| 930 | s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[51]; | ||
| 931 | /* round 13: */ | ||
| 932 | t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[52]; | ||
| 933 | t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[53]; | ||
| 934 | t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[54]; | ||
| 935 | t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[55]; | ||
| 936 | } | ||
| 937 | } | ||
| 938 | rk += Nr << 2; | ||
| 939 | #else /* !FULL_UNROLL */ | ||
| 940 | /* | ||
| 941 | * Nr - 1 full rounds: | ||
| 942 | */ | ||
| 943 | r = Nr >> 1; | ||
| 944 | for (;;) { | ||
| 945 | t0 = | ||
| 946 | Te0[(s0 >> 24) ] ^ | ||
| 947 | Te1[(s1 >> 16) & 0xff] ^ | ||
| 948 | Te2[(s2 >> 8) & 0xff] ^ | ||
| 949 | Te3[(s3 ) & 0xff] ^ | ||
| 950 | rk[4]; | ||
| 951 | t1 = | ||
| 952 | Te0[(s1 >> 24) ] ^ | ||
| 953 | Te1[(s2 >> 16) & 0xff] ^ | ||
| 954 | Te2[(s3 >> 8) & 0xff] ^ | ||
| 955 | Te3[(s0 ) & 0xff] ^ | ||
| 956 | rk[5]; | ||
| 957 | t2 = | ||
| 958 | Te0[(s2 >> 24) ] ^ | ||
| 959 | Te1[(s3 >> 16) & 0xff] ^ | ||
| 960 | Te2[(s0 >> 8) & 0xff] ^ | ||
| 961 | Te3[(s1 ) & 0xff] ^ | ||
| 962 | rk[6]; | ||
| 963 | t3 = | ||
| 964 | Te0[(s3 >> 24) ] ^ | ||
| 965 | Te1[(s0 >> 16) & 0xff] ^ | ||
| 966 | Te2[(s1 >> 8) & 0xff] ^ | ||
| 967 | Te3[(s2 ) & 0xff] ^ | ||
| 968 | rk[7]; | ||
| 969 | |||
| 970 | rk += 8; | ||
| 971 | if (--r == 0) { | ||
| 972 | break; | ||
| 973 | } | ||
| 974 | |||
| 975 | s0 = | ||
| 976 | Te0[(t0 >> 24) ] ^ | ||
| 977 | Te1[(t1 >> 16) & 0xff] ^ | ||
| 978 | Te2[(t2 >> 8) & 0xff] ^ | ||
| 979 | Te3[(t3 ) & 0xff] ^ | ||
| 980 | rk[0]; | ||
| 981 | s1 = | ||
| 982 | Te0[(t1 >> 24) ] ^ | ||
| 983 | Te1[(t2 >> 16) & 0xff] ^ | ||
| 984 | Te2[(t3 >> 8) & 0xff] ^ | ||
| 985 | Te3[(t0 ) & 0xff] ^ | ||
| 986 | rk[1]; | ||
| 987 | s2 = | ||
| 988 | Te0[(t2 >> 24) ] ^ | ||
| 989 | Te1[(t3 >> 16) & 0xff] ^ | ||
| 990 | Te2[(t0 >> 8) & 0xff] ^ | ||
| 991 | Te3[(t1 ) & 0xff] ^ | ||
| 992 | rk[2]; | ||
| 993 | s3 = | ||
| 994 | Te0[(t3 >> 24) ] ^ | ||
| 995 | Te1[(t0 >> 16) & 0xff] ^ | ||
| 996 | Te2[(t1 >> 8) & 0xff] ^ | ||
| 997 | Te3[(t2 ) & 0xff] ^ | ||
| 998 | rk[3]; | ||
| 999 | } | ||
| 1000 | #endif /* ?FULL_UNROLL */ | ||
| 1001 | /* | ||
| 1002 | * apply last round and | ||
| 1003 | * map cipher state to byte array block: | ||
| 1004 | */ | ||
| 1005 | s0 = | ||
| 1006 | (Te4[(t0 >> 24) ] & 0xff000000) ^ | ||
| 1007 | (Te4[(t1 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1008 | (Te4[(t2 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1009 | (Te4[(t3 ) & 0xff] & 0x000000ff) ^ | ||
| 1010 | rk[0]; | ||
| 1011 | PUTU32(ct , s0); | ||
| 1012 | s1 = | ||
| 1013 | (Te4[(t1 >> 24) ] & 0xff000000) ^ | ||
| 1014 | (Te4[(t2 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1015 | (Te4[(t3 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1016 | (Te4[(t0 ) & 0xff] & 0x000000ff) ^ | ||
| 1017 | rk[1]; | ||
| 1018 | PUTU32(ct + 4, s1); | ||
| 1019 | s2 = | ||
| 1020 | (Te4[(t2 >> 24) ] & 0xff000000) ^ | ||
| 1021 | (Te4[(t3 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1022 | (Te4[(t0 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1023 | (Te4[(t1 ) & 0xff] & 0x000000ff) ^ | ||
| 1024 | rk[2]; | ||
| 1025 | PUTU32(ct + 8, s2); | ||
| 1026 | s3 = | ||
| 1027 | (Te4[(t3 >> 24) ] & 0xff000000) ^ | ||
| 1028 | (Te4[(t0 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1029 | (Te4[(t1 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1030 | (Te4[(t2 ) & 0xff] & 0x000000ff) ^ | ||
| 1031 | rk[3]; | ||
| 1032 | PUTU32(ct + 12, s3); | ||
| 1033 | } | ||
| 1034 | |||
| 1035 | void rijndaelDecrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 ct[16], u8 pt[16]) { | ||
| 1036 | u32 s0, s1, s2, s3, t0, t1, t2, t3; | ||
| 1037 | #ifndef FULL_UNROLL | ||
| 1038 | int r; | ||
| 1039 | #endif /* ?FULL_UNROLL */ | ||
| 1040 | |||
| 1041 | /* | ||
| 1042 | * map byte array block to cipher state | ||
| 1043 | * and add initial round key: | ||
| 1044 | */ | ||
| 1045 | s0 = GETU32(ct ) ^ rk[0]; | ||
| 1046 | s1 = GETU32(ct + 4) ^ rk[1]; | ||
| 1047 | s2 = GETU32(ct + 8) ^ rk[2]; | ||
| 1048 | s3 = GETU32(ct + 12) ^ rk[3]; | ||
| 1049 | #ifdef FULL_UNROLL | ||
| 1050 | /* round 1: */ | ||
| 1051 | t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[ 4]; | ||
| 1052 | t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[ 5]; | ||
| 1053 | t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[ 6]; | ||
| 1054 | t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[ 7]; | ||
| 1055 | /* round 2: */ | ||
| 1056 | s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[ 8]; | ||
| 1057 | s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[ 9]; | ||
| 1058 | s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[10]; | ||
| 1059 | s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[11]; | ||
| 1060 | /* round 3: */ | ||
| 1061 | t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[12]; | ||
| 1062 | t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[13]; | ||
| 1063 | t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[14]; | ||
| 1064 | t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[15]; | ||
| 1065 | /* round 4: */ | ||
| 1066 | s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[16]; | ||
| 1067 | s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[17]; | ||
| 1068 | s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[18]; | ||
| 1069 | s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[19]; | ||
| 1070 | /* round 5: */ | ||
| 1071 | t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[20]; | ||
| 1072 | t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[21]; | ||
| 1073 | t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[22]; | ||
| 1074 | t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[23]; | ||
| 1075 | /* round 6: */ | ||
| 1076 | s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[24]; | ||
| 1077 | s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[25]; | ||
| 1078 | s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[26]; | ||
| 1079 | s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[27]; | ||
| 1080 | /* round 7: */ | ||
| 1081 | t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[28]; | ||
| 1082 | t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[29]; | ||
| 1083 | t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[30]; | ||
| 1084 | t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[31]; | ||
| 1085 | /* round 8: */ | ||
| 1086 | s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[32]; | ||
| 1087 | s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[33]; | ||
| 1088 | s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[34]; | ||
| 1089 | s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[35]; | ||
| 1090 | /* round 9: */ | ||
| 1091 | t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[36]; | ||
| 1092 | t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[37]; | ||
| 1093 | t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[38]; | ||
| 1094 | t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[39]; | ||
| 1095 | if (Nr > 10) { | ||
| 1096 | /* round 10: */ | ||
| 1097 | s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[40]; | ||
| 1098 | s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[41]; | ||
| 1099 | s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[42]; | ||
| 1100 | s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[43]; | ||
| 1101 | /* round 11: */ | ||
| 1102 | t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[44]; | ||
| 1103 | t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[45]; | ||
| 1104 | t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[46]; | ||
| 1105 | t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[47]; | ||
| 1106 | if (Nr > 12) { | ||
| 1107 | /* round 12: */ | ||
| 1108 | s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[48]; | ||
| 1109 | s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[49]; | ||
| 1110 | s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[50]; | ||
| 1111 | s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[51]; | ||
| 1112 | /* round 13: */ | ||
| 1113 | t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[52]; | ||
| 1114 | t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[53]; | ||
| 1115 | t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[54]; | ||
| 1116 | t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[55]; | ||
| 1117 | } | ||
| 1118 | } | ||
| 1119 | rk += Nr << 2; | ||
| 1120 | #else /* !FULL_UNROLL */ | ||
| 1121 | /* | ||
| 1122 | * Nr - 1 full rounds: | ||
| 1123 | */ | ||
| 1124 | r = Nr >> 1; | ||
| 1125 | for (;;) { | ||
| 1126 | t0 = | ||
| 1127 | Td0[(s0 >> 24) ] ^ | ||
| 1128 | Td1[(s3 >> 16) & 0xff] ^ | ||
| 1129 | Td2[(s2 >> 8) & 0xff] ^ | ||
| 1130 | Td3[(s1 ) & 0xff] ^ | ||
| 1131 | rk[4]; | ||
| 1132 | t1 = | ||
| 1133 | Td0[(s1 >> 24) ] ^ | ||
| 1134 | Td1[(s0 >> 16) & 0xff] ^ | ||
| 1135 | Td2[(s3 >> 8) & 0xff] ^ | ||
| 1136 | Td3[(s2 ) & 0xff] ^ | ||
| 1137 | rk[5]; | ||
| 1138 | t2 = | ||
| 1139 | Td0[(s2 >> 24) ] ^ | ||
| 1140 | Td1[(s1 >> 16) & 0xff] ^ | ||
| 1141 | Td2[(s0 >> 8) & 0xff] ^ | ||
| 1142 | Td3[(s3 ) & 0xff] ^ | ||
| 1143 | rk[6]; | ||
| 1144 | t3 = | ||
| 1145 | Td0[(s3 >> 24) ] ^ | ||
| 1146 | Td1[(s2 >> 16) & 0xff] ^ | ||
| 1147 | Td2[(s1 >> 8) & 0xff] ^ | ||
| 1148 | Td3[(s0 ) & 0xff] ^ | ||
| 1149 | rk[7]; | ||
| 1150 | |||
| 1151 | rk += 8; | ||
| 1152 | if (--r == 0) { | ||
| 1153 | break; | ||
| 1154 | } | ||
| 1155 | |||
| 1156 | s0 = | ||
| 1157 | Td0[(t0 >> 24) ] ^ | ||
| 1158 | Td1[(t3 >> 16) & 0xff] ^ | ||
| 1159 | Td2[(t2 >> 8) & 0xff] ^ | ||
| 1160 | Td3[(t1 ) & 0xff] ^ | ||
| 1161 | rk[0]; | ||
| 1162 | s1 = | ||
| 1163 | Td0[(t1 >> 24) ] ^ | ||
| 1164 | Td1[(t0 >> 16) & 0xff] ^ | ||
| 1165 | Td2[(t3 >> 8) & 0xff] ^ | ||
| 1166 | Td3[(t2 ) & 0xff] ^ | ||
| 1167 | rk[1]; | ||
| 1168 | s2 = | ||
| 1169 | Td0[(t2 >> 24) ] ^ | ||
| 1170 | Td1[(t1 >> 16) & 0xff] ^ | ||
| 1171 | Td2[(t0 >> 8) & 0xff] ^ | ||
| 1172 | Td3[(t3 ) & 0xff] ^ | ||
| 1173 | rk[2]; | ||
| 1174 | s3 = | ||
| 1175 | Td0[(t3 >> 24) ] ^ | ||
| 1176 | Td1[(t2 >> 16) & 0xff] ^ | ||
| 1177 | Td2[(t1 >> 8) & 0xff] ^ | ||
| 1178 | Td3[(t0 ) & 0xff] ^ | ||
| 1179 | rk[3]; | ||
| 1180 | } | ||
| 1181 | #endif /* ?FULL_UNROLL */ | ||
| 1182 | /* | ||
| 1183 | * apply last round and | ||
| 1184 | * map cipher state to byte array block: | ||
| 1185 | */ | ||
| 1186 | s0 = | ||
| 1187 | (Td4[(t0 >> 24) ] & 0xff000000) ^ | ||
| 1188 | (Td4[(t3 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1189 | (Td4[(t2 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1190 | (Td4[(t1 ) & 0xff] & 0x000000ff) ^ | ||
| 1191 | rk[0]; | ||
| 1192 | PUTU32(pt , s0); | ||
| 1193 | s1 = | ||
| 1194 | (Td4[(t1 >> 24) ] & 0xff000000) ^ | ||
| 1195 | (Td4[(t0 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1196 | (Td4[(t3 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1197 | (Td4[(t2 ) & 0xff] & 0x000000ff) ^ | ||
| 1198 | rk[1]; | ||
| 1199 | PUTU32(pt + 4, s1); | ||
| 1200 | s2 = | ||
| 1201 | (Td4[(t2 >> 24) ] & 0xff000000) ^ | ||
| 1202 | (Td4[(t1 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1203 | (Td4[(t0 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1204 | (Td4[(t3 ) & 0xff] & 0x000000ff) ^ | ||
| 1205 | rk[2]; | ||
| 1206 | PUTU32(pt + 8, s2); | ||
| 1207 | s3 = | ||
| 1208 | (Td4[(t3 >> 24) ] & 0xff000000) ^ | ||
| 1209 | (Td4[(t2 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1210 | (Td4[(t1 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1211 | (Td4[(t0 ) & 0xff] & 0x000000ff) ^ | ||
| 1212 | rk[3]; | ||
| 1213 | PUTU32(pt + 12, s3); | ||
| 1214 | } | ||
| 1215 | |||
| 1216 | #ifdef INTERMEDIATE_VALUE_KAT | ||
| 1217 | |||
| 1218 | void rijndaelEncryptRound(const u32 rk[/*4*(Nr + 1)*/], int Nr, u8 block[16], int rounds) { | ||
| 1219 | int r; | ||
| 1220 | u32 s0, s1, s2, s3, t0, t1, t2, t3; | ||
| 1221 | |||
| 1222 | /* | ||
| 1223 | * map byte array block to cipher state | ||
| 1224 | * and add initial round key: | ||
| 1225 | */ | ||
| 1226 | s0 = GETU32(block ) ^ rk[0]; | ||
| 1227 | s1 = GETU32(block + 4) ^ rk[1]; | ||
| 1228 | s2 = GETU32(block + 8) ^ rk[2]; | ||
| 1229 | s3 = GETU32(block + 12) ^ rk[3]; | ||
| 1230 | rk += 4; | ||
| 1231 | |||
| 1232 | /* | ||
| 1233 | * Nr - 1 full rounds: | ||
| 1234 | */ | ||
| 1235 | for (r = (rounds < Nr ? rounds : Nr - 1); r > 0; r--) { | ||
| 1236 | t0 = | ||
| 1237 | Te0[(s0 >> 24) ] ^ | ||
| 1238 | Te1[(s1 >> 16) & 0xff] ^ | ||
| 1239 | Te2[(s2 >> 8) & 0xff] ^ | ||
| 1240 | Te3[(s3 ) & 0xff] ^ | ||
| 1241 | rk[0]; | ||
| 1242 | t1 = | ||
| 1243 | Te0[(s1 >> 24) ] ^ | ||
| 1244 | Te1[(s2 >> 16) & 0xff] ^ | ||
| 1245 | Te2[(s3 >> 8) & 0xff] ^ | ||
| 1246 | Te3[(s0 ) & 0xff] ^ | ||
| 1247 | rk[1]; | ||
| 1248 | t2 = | ||
| 1249 | Te0[(s2 >> 24) ] ^ | ||
| 1250 | Te1[(s3 >> 16) & 0xff] ^ | ||
| 1251 | Te2[(s0 >> 8) & 0xff] ^ | ||
| 1252 | Te3[(s1 ) & 0xff] ^ | ||
| 1253 | rk[2]; | ||
| 1254 | t3 = | ||
| 1255 | Te0[(s3 >> 24) ] ^ | ||
| 1256 | Te1[(s0 >> 16) & 0xff] ^ | ||
| 1257 | Te2[(s1 >> 8) & 0xff] ^ | ||
| 1258 | Te3[(s2 ) & 0xff] ^ | ||
| 1259 | rk[3]; | ||
| 1260 | |||
| 1261 | s0 = t0; | ||
| 1262 | s1 = t1; | ||
| 1263 | s2 = t2; | ||
| 1264 | s3 = t3; | ||
| 1265 | rk += 4; | ||
| 1266 | |||
| 1267 | } | ||
| 1268 | |||
| 1269 | /* | ||
| 1270 | * apply last round and | ||
| 1271 | * map cipher state to byte array block: | ||
| 1272 | */ | ||
| 1273 | if (rounds == Nr) { | ||
| 1274 | t0 = | ||
| 1275 | (Te4[(s0 >> 24) ] & 0xff000000) ^ | ||
| 1276 | (Te4[(s1 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1277 | (Te4[(s2 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1278 | (Te4[(s3 ) & 0xff] & 0x000000ff) ^ | ||
| 1279 | rk[0]; | ||
| 1280 | t1 = | ||
| 1281 | (Te4[(s1 >> 24) ] & 0xff000000) ^ | ||
| 1282 | (Te4[(s2 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1283 | (Te4[(s3 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1284 | (Te4[(s0 ) & 0xff] & 0x000000ff) ^ | ||
| 1285 | rk[1]; | ||
| 1286 | t2 = | ||
| 1287 | (Te4[(s2 >> 24) ] & 0xff000000) ^ | ||
| 1288 | (Te4[(s3 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1289 | (Te4[(s0 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1290 | (Te4[(s1 ) & 0xff] & 0x000000ff) ^ | ||
| 1291 | rk[2]; | ||
| 1292 | t3 = | ||
| 1293 | (Te4[(s3 >> 24) ] & 0xff000000) ^ | ||
| 1294 | (Te4[(s0 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1295 | (Te4[(s1 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1296 | (Te4[(s2 ) & 0xff] & 0x000000ff) ^ | ||
| 1297 | rk[3]; | ||
| 1298 | |||
| 1299 | s0 = t0; | ||
| 1300 | s1 = t1; | ||
| 1301 | s2 = t2; | ||
| 1302 | s3 = t3; | ||
| 1303 | } | ||
| 1304 | |||
| 1305 | PUTU32(block , s0); | ||
| 1306 | PUTU32(block + 4, s1); | ||
| 1307 | PUTU32(block + 8, s2); | ||
| 1308 | PUTU32(block + 12, s3); | ||
| 1309 | } | ||
| 1310 | |||
| 1311 | void rijndaelDecryptRound(const u32 rk[/*4*(Nr + 1)*/], int Nr, u8 block[16], int rounds) { | ||
| 1312 | int r; | ||
| 1313 | u32 s0, s1, s2, s3, t0, t1, t2, t3; | ||
| 1314 | |||
| 1315 | /* | ||
| 1316 | * map byte array block to cipher state | ||
| 1317 | * and add initial round key: | ||
| 1318 | */ | ||
| 1319 | s0 = GETU32(block ) ^ rk[0]; | ||
| 1320 | s1 = GETU32(block + 4) ^ rk[1]; | ||
| 1321 | s2 = GETU32(block + 8) ^ rk[2]; | ||
| 1322 | s3 = GETU32(block + 12) ^ rk[3]; | ||
| 1323 | rk += 4; | ||
| 1324 | |||
| 1325 | /* | ||
| 1326 | * Nr - 1 full rounds: | ||
| 1327 | */ | ||
| 1328 | for (r = (rounds < Nr ? rounds : Nr) - 1; r > 0; r--) { | ||
| 1329 | t0 = | ||
| 1330 | Td0[(s0 >> 24) ] ^ | ||
| 1331 | Td1[(s3 >> 16) & 0xff] ^ | ||
| 1332 | Td2[(s2 >> 8) & 0xff] ^ | ||
| 1333 | Td3[(s1 ) & 0xff] ^ | ||
| 1334 | rk[0]; | ||
| 1335 | t1 = | ||
| 1336 | Td0[(s1 >> 24) ] ^ | ||
| 1337 | Td1[(s0 >> 16) & 0xff] ^ | ||
| 1338 | Td2[(s3 >> 8) & 0xff] ^ | ||
| 1339 | Td3[(s2 ) & 0xff] ^ | ||
| 1340 | rk[1]; | ||
| 1341 | t2 = | ||
| 1342 | Td0[(s2 >> 24) ] ^ | ||
| 1343 | Td1[(s1 >> 16) & 0xff] ^ | ||
| 1344 | Td2[(s0 >> 8) & 0xff] ^ | ||
| 1345 | Td3[(s3 ) & 0xff] ^ | ||
| 1346 | rk[2]; | ||
| 1347 | t3 = | ||
| 1348 | Td0[(s3 >> 24) ] ^ | ||
| 1349 | Td1[(s2 >> 16) & 0xff] ^ | ||
| 1350 | Td2[(s1 >> 8) & 0xff] ^ | ||
| 1351 | Td3[(s0 ) & 0xff] ^ | ||
| 1352 | rk[3]; | ||
| 1353 | |||
| 1354 | s0 = t0; | ||
| 1355 | s1 = t1; | ||
| 1356 | s2 = t2; | ||
| 1357 | s3 = t3; | ||
| 1358 | rk += 4; | ||
| 1359 | |||
| 1360 | } | ||
| 1361 | |||
| 1362 | /* | ||
| 1363 | * complete the last round and | ||
| 1364 | * map cipher state to byte array block: | ||
| 1365 | */ | ||
| 1366 | t0 = | ||
| 1367 | (Td4[(s0 >> 24) ] & 0xff000000) ^ | ||
| 1368 | (Td4[(s3 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1369 | (Td4[(s2 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1370 | (Td4[(s1 ) & 0xff] & 0x000000ff); | ||
| 1371 | t1 = | ||
| 1372 | (Td4[(s1 >> 24) ] & 0xff000000) ^ | ||
| 1373 | (Td4[(s0 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1374 | (Td4[(s3 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1375 | (Td4[(s2 ) & 0xff] & 0x000000ff); | ||
| 1376 | t2 = | ||
| 1377 | (Td4[(s2 >> 24) ] & 0xff000000) ^ | ||
| 1378 | (Td4[(s1 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1379 | (Td4[(s0 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1380 | (Td4[(s3 ) & 0xff] & 0x000000ff); | ||
| 1381 | t3 = | ||
| 1382 | (Td4[(s3 >> 24) ] & 0xff000000) ^ | ||
| 1383 | (Td4[(s2 >> 16) & 0xff] & 0x00ff0000) ^ | ||
| 1384 | (Td4[(s1 >> 8) & 0xff] & 0x0000ff00) ^ | ||
| 1385 | (Td4[(s0 ) & 0xff] & 0x000000ff); | ||
| 1386 | |||
| 1387 | if (rounds == Nr) { | ||
| 1388 | t0 ^= rk[0]; | ||
| 1389 | t1 ^= rk[1]; | ||
| 1390 | t2 ^= rk[2]; | ||
| 1391 | t3 ^= rk[3]; | ||
| 1392 | } | ||
| 1393 | |||
| 1394 | PUTU32(block , t0); | ||
| 1395 | PUTU32(block + 4, t1); | ||
| 1396 | PUTU32(block + 8, t2); | ||
| 1397 | PUTU32(block + 12, t3); | ||
| 1398 | } | ||
| 1399 | |||
| 1400 | #endif /* INTERMEDIATE_VALUE_KAT */ | ||
diff --git a/src/lib/libcrypto/rijndael/rd_fst.h b/src/lib/libcrypto/rijndael/rd_fst.h new file mode 100644 index 0000000000..fcace29478 --- /dev/null +++ b/src/lib/libcrypto/rijndael/rd_fst.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /** | ||
| 2 | * rijndael-alg-fst.h | ||
| 3 | * | ||
| 4 | * @version 3.0 (December 2000) | ||
| 5 | * | ||
| 6 | * Optimised ANSI C code for the Rijndael cipher (now AES) | ||
| 7 | * | ||
| 8 | * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be> | ||
| 9 | * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be> | ||
| 10 | * @author Paulo Barreto <paulo.barreto@terra.com.br> | ||
| 11 | * | ||
| 12 | * This code is hereby placed in the public domain. | ||
| 13 | * | ||
| 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS | ||
| 15 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 16 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE | ||
| 18 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
| 19 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
| 20 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
| 21 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
| 22 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
| 23 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 24 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 25 | */ | ||
| 26 | #ifndef __RIJNDAEL_ALG_FST_H | ||
| 27 | #define __RIJNDAEL_ALG_FST_H | ||
| 28 | |||
| 29 | #define MAXKC (256/32) | ||
| 30 | #define MAXKB (256/8) | ||
| 31 | #define MAXNR 14 | ||
| 32 | |||
| 33 | typedef unsigned char u8; | ||
| 34 | typedef unsigned short u16; | ||
| 35 | typedef unsigned int u32; | ||
| 36 | |||
| 37 | int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits); | ||
| 38 | int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits); | ||
| 39 | void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 ct[16]); | ||
| 40 | void rijndaelDecrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 ct[16], u8 pt[16]); | ||
| 41 | |||
| 42 | #endif /* __RIJNDAEL_ALG_FST_H */ | ||
diff --git a/src/lib/libcrypto/rijndael/rijndael.h b/src/lib/libcrypto/rijndael/rijndael.h new file mode 100644 index 0000000000..72edcc2942 --- /dev/null +++ b/src/lib/libcrypto/rijndael/rijndael.h | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #include "openssl/rd_fst.h" | ||
| 2 | |||
| 3 | typedef struct | ||
| 4 | { | ||
| 5 | u32 rd_key[4 *(MAXNR + 1)]; | ||
| 6 | int rounds; | ||
| 7 | } RIJNDAEL_KEY; | ||
diff --git a/src/lib/libcrypto/ripemd/Makefile.ssl b/src/lib/libcrypto/ripemd/Makefile.ssl new file mode 100644 index 0000000000..eb819e64f5 --- /dev/null +++ b/src/lib/libcrypto/ripemd/Makefile.ssl | |||
| @@ -0,0 +1,110 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/ripemd/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= ripemd | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | RIP_ASM_OBJ= | ||
| 21 | |||
| 22 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 23 | |||
| 24 | GENERAL=Makefile | ||
| 25 | TEST=rmdtest.c | ||
| 26 | APPS= | ||
| 27 | |||
| 28 | LIB=$(TOP)/libcrypto.a | ||
| 29 | LIBSRC=rmd_dgst.c rmd_one.c | ||
| 30 | LIBOBJ=rmd_dgst.o rmd_one.o $(RMD160_ASM_OBJ) | ||
| 31 | |||
| 32 | SRC= $(LIBSRC) | ||
| 33 | |||
| 34 | EXHEADER= ripemd.h | ||
| 35 | HEADER= rmd_locl.h rmdconst.h $(EXHEADER) | ||
| 36 | |||
| 37 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | # elf | ||
| 50 | asm/rm86-elf.o: asm/rm86unix.cpp | ||
| 51 | $(CPP) -DELF -x c asm/rm86unix.cpp | as -o asm/rm86-elf.o | ||
| 52 | |||
| 53 | # solaris | ||
| 54 | asm/rm86-sol.o: asm/rm86unix.cpp | ||
| 55 | $(CC) -E -DSOL asm/rm86unix.cpp | sed 's/^#.*//' > asm/rm86-sol.s | ||
| 56 | as -o asm/rm86-sol.o asm/rm86-sol.s | ||
| 57 | rm -f asm/rm86-sol.s | ||
| 58 | |||
| 59 | # a.out | ||
| 60 | asm/rm86-out.o: asm/rm86unix.cpp | ||
| 61 | $(CPP) -DOUT asm/rm86unix.cpp | as -o asm/rm86-out.o | ||
| 62 | |||
| 63 | # bsdi | ||
| 64 | asm/rm86bsdi.o: asm/rm86unix.cpp | ||
| 65 | $(CPP) -DBSDI asm/rm86unix.cpp | sed 's/ :/:/' | as -o asm/rm86bsdi.o | ||
| 66 | |||
| 67 | asm/rm86unix.cpp: asm/rmd-586.pl ../perlasm/x86asm.pl | ||
| 68 | (cd asm; $(PERL) rmd-586.pl cpp >rm86unix.cpp) | ||
| 69 | |||
| 70 | files: | ||
| 71 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 72 | |||
| 73 | links: | ||
| 74 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 75 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 76 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 77 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 78 | |||
| 79 | install: | ||
| 80 | @for i in $(EXHEADER) ; \ | ||
| 81 | do \ | ||
| 82 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 83 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 84 | done; | ||
| 85 | |||
| 86 | tags: | ||
| 87 | ctags $(SRC) | ||
| 88 | |||
| 89 | tests: | ||
| 90 | |||
| 91 | lint: | ||
| 92 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 93 | |||
| 94 | depend: | ||
| 95 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 96 | |||
| 97 | dclean: | ||
| 98 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 99 | mv -f Makefile.new $(MAKEFILE) | ||
| 100 | |||
| 101 | clean: | ||
| 102 | rm -f asm/rm86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 103 | |||
| 104 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 105 | |||
| 106 | rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 107 | rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h | ||
| 108 | rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h | ||
| 109 | rmd_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 110 | rmd_one.o: ../../include/openssl/ripemd.h rmd_one.c | ||
diff --git a/src/lib/libcrypto/rsa/Makefile.ssl b/src/lib/libcrypto/rsa/Makefile.ssl new file mode 100644 index 0000000000..f1e93c2fa3 --- /dev/null +++ b/src/lib/libcrypto/rsa/Makefile.ssl | |||
| @@ -0,0 +1,219 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/rsa/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= rsa | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST=rsa_test.c | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c \ | ||
| 27 | rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c rsa_chk.c rsa_null.c \ | ||
| 28 | rsa_asn1.c | ||
| 29 | LIBOBJ= rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o rsa_err.o \ | ||
| 30 | rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o rsa_chk.o rsa_null.o \ | ||
| 31 | rsa_asn1.o | ||
| 32 | |||
| 33 | SRC= $(LIBSRC) | ||
| 34 | |||
| 35 | EXHEADER= rsa.h | ||
| 36 | HEADER= $(EXHEADER) | ||
| 37 | |||
| 38 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 39 | |||
| 40 | top: | ||
| 41 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 42 | |||
| 43 | all: lib | ||
| 44 | |||
| 45 | lib: $(LIBOBJ) | ||
| 46 | $(AR) $(LIB) $(LIBOBJ) | ||
| 47 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 48 | @touch lib | ||
| 49 | |||
| 50 | files: | ||
| 51 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 52 | |||
| 53 | links: | ||
| 54 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 56 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 57 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 58 | |||
| 59 | install: | ||
| 60 | @for i in $(EXHEADER) ; \ | ||
| 61 | do \ | ||
| 62 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 63 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 64 | done; | ||
| 65 | |||
| 66 | tags: | ||
| 67 | ctags $(SRC) | ||
| 68 | |||
| 69 | tests: | ||
| 70 | |||
| 71 | lint: | ||
| 72 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 73 | |||
| 74 | depend: | ||
| 75 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 76 | |||
| 77 | dclean: | ||
| 78 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 79 | mv -f Makefile.new $(MAKEFILE) | ||
| 80 | |||
| 81 | clean: | ||
| 82 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 83 | |||
| 84 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 85 | |||
| 86 | rsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 87 | rsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 88 | rsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 89 | rsa_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 90 | rsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 91 | rsa_asn1.o: ../../include/openssl/opensslconf.h | ||
| 92 | rsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 93 | rsa_asn1.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 94 | rsa_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 95 | rsa_asn1.o: ../cryptlib.h rsa_asn1.c | ||
| 96 | rsa_chk.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 97 | rsa_chk.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 98 | rsa_chk.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 99 | rsa_chk.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 100 | rsa_chk.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 101 | rsa_chk.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 102 | rsa_chk.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 103 | rsa_chk.o: rsa_chk.c | ||
| 104 | rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 105 | rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 106 | rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 107 | rsa_eay.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 108 | rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 109 | rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 110 | rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 111 | rsa_eay.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 112 | rsa_eay.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 113 | rsa_eay.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 114 | rsa_eay.o: ../../include/openssl/ui.h ../cryptlib.h rsa_eay.c | ||
| 115 | rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 116 | rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 117 | rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 118 | rsa_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 119 | rsa_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 120 | rsa_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 121 | rsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 122 | rsa_err.o: rsa_err.c | ||
| 123 | rsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 124 | rsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 125 | rsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 126 | rsa_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 127 | rsa_gen.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 128 | rsa_gen.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 129 | rsa_gen.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 130 | rsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 131 | rsa_gen.o: ../cryptlib.h rsa_gen.c | ||
| 132 | rsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 133 | rsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 134 | rsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 135 | rsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 136 | rsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 137 | rsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 138 | rsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 139 | rsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
| 140 | rsa_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 141 | rsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 142 | rsa_lib.o: ../../include/openssl/ui.h ../cryptlib.h rsa_lib.c | ||
| 143 | rsa_none.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 144 | rsa_none.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 145 | rsa_none.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 146 | rsa_none.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 147 | rsa_none.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 148 | rsa_none.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 149 | rsa_none.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 150 | rsa_none.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 151 | rsa_none.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_none.c | ||
| 152 | rsa_null.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 153 | rsa_null.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 154 | rsa_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 155 | rsa_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 156 | rsa_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 157 | rsa_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 158 | rsa_null.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 159 | rsa_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 160 | rsa_null.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_null.c | ||
| 161 | rsa_oaep.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 162 | rsa_oaep.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 163 | rsa_oaep.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 164 | rsa_oaep.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 165 | rsa_oaep.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 166 | rsa_oaep.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 167 | rsa_oaep.o: ../../include/openssl/opensslconf.h | ||
| 168 | rsa_oaep.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 169 | rsa_oaep.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 170 | rsa_oaep.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 171 | rsa_oaep.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 172 | rsa_oaep.o: ../cryptlib.h rsa_oaep.c | ||
| 173 | rsa_pk1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 174 | rsa_pk1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 175 | rsa_pk1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 176 | rsa_pk1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 177 | rsa_pk1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 178 | rsa_pk1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 179 | rsa_pk1.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 180 | rsa_pk1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 181 | rsa_pk1.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_pk1.c | ||
| 182 | rsa_saos.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 183 | rsa_saos.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 184 | rsa_saos.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 185 | rsa_saos.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 186 | rsa_saos.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 187 | rsa_saos.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 188 | rsa_saos.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 189 | rsa_saos.o: ../../include/openssl/opensslconf.h | ||
| 190 | rsa_saos.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 191 | rsa_saos.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 192 | rsa_saos.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 193 | rsa_saos.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 194 | rsa_saos.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 195 | rsa_saos.o: ../cryptlib.h rsa_saos.c | ||
| 196 | rsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 197 | rsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 198 | rsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 199 | rsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 200 | rsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
| 201 | rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 202 | rsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 203 | rsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 204 | rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 205 | rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
| 206 | rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 207 | rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 208 | rsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 209 | rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 210 | rsa_sign.o: ../cryptlib.h rsa_sign.c | ||
| 211 | rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 212 | rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 213 | rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 214 | rsa_ssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 215 | rsa_ssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 216 | rsa_ssl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 217 | rsa_ssl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
| 218 | rsa_ssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 219 | rsa_ssl.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_ssl.c | ||
diff --git a/src/lib/libcrypto/sha/Makefile.ssl b/src/lib/libcrypto/sha/Makefile.ssl new file mode 100644 index 0000000000..51ba7811c4 --- /dev/null +++ b/src/lib/libcrypto/sha/Makefile.ssl | |||
| @@ -0,0 +1,115 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/sha/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= sha | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | INSTALL_PREFIX= | ||
| 12 | OPENSSLDIR= /usr/local/ssl | ||
| 13 | INSTALLTOP=/usr/local/ssl | ||
| 14 | MAKE= make -f Makefile.ssl | ||
| 15 | MAKEDEPPROG= makedepend | ||
| 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 17 | MAKEFILE= Makefile.ssl | ||
| 18 | AR= ar r | ||
| 19 | |||
| 20 | SHA1_ASM_OBJ= | ||
| 21 | |||
| 22 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 23 | |||
| 24 | GENERAL=Makefile | ||
| 25 | TEST=shatest.c sha1test.c | ||
| 26 | APPS= | ||
| 27 | |||
| 28 | LIB=$(TOP)/libcrypto.a | ||
| 29 | LIBSRC=sha_dgst.c sha1dgst.c sha_one.c sha1_one.c | ||
| 30 | LIBOBJ=sha_dgst.o sha1dgst.o sha_one.o sha1_one.o $(SHA1_ASM_OBJ) | ||
| 31 | |||
| 32 | SRC= $(LIBSRC) | ||
| 33 | |||
| 34 | EXHEADER= sha.h | ||
| 35 | HEADER= sha_locl.h $(EXHEADER) | ||
| 36 | |||
| 37 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 38 | |||
| 39 | top: | ||
| 40 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 41 | |||
| 42 | all: lib | ||
| 43 | |||
| 44 | lib: $(LIBOBJ) | ||
| 45 | $(AR) $(LIB) $(LIBOBJ) | ||
| 46 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 47 | @touch lib | ||
| 48 | |||
| 49 | # elf | ||
| 50 | asm/sx86-elf.o: asm/sx86unix.cpp | ||
| 51 | $(CPP) -DELF -x c asm/sx86unix.cpp | as -o asm/sx86-elf.o | ||
| 52 | |||
| 53 | # solaris | ||
| 54 | asm/sx86-sol.o: asm/sx86unix.cpp | ||
| 55 | $(CC) -E -DSOL asm/sx86unix.cpp | sed 's/^#.*//' > asm/sx86-sol.s | ||
| 56 | as -o asm/sx86-sol.o asm/sx86-sol.s | ||
| 57 | rm -f asm/sx86-sol.s | ||
| 58 | |||
| 59 | # a.out | ||
| 60 | asm/sx86-out.o: asm/sx86unix.cpp | ||
| 61 | $(CPP) -DOUT asm/sx86unix.cpp | as -o asm/sx86-out.o | ||
| 62 | |||
| 63 | # bsdi | ||
| 64 | asm/sx86bsdi.o: asm/sx86unix.cpp | ||
| 65 | $(CPP) -DBSDI asm/sx86unix.cpp | sed 's/ :/:/' | as -o asm/sx86bsdi.o | ||
| 66 | |||
| 67 | asm/sx86unix.cpp: asm/sha1-586.pl ../perlasm/x86asm.pl | ||
| 68 | (cd asm; $(PERL) sha1-586.pl cpp $(PROCESSOR) >sx86unix.cpp) | ||
| 69 | |||
| 70 | files: | ||
| 71 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 72 | |||
| 73 | links: | ||
| 74 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 75 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 76 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 77 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 78 | |||
| 79 | install: | ||
| 80 | @for i in $(EXHEADER) ; \ | ||
| 81 | do \ | ||
| 82 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 83 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 84 | done; | ||
| 85 | |||
| 86 | tags: | ||
| 87 | ctags $(SRC) | ||
| 88 | |||
| 89 | tests: | ||
| 90 | |||
| 91 | lint: | ||
| 92 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 93 | |||
| 94 | depend: | ||
| 95 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 96 | |||
| 97 | dclean: | ||
| 98 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 99 | mv -f Makefile.new $(MAKEFILE) | ||
| 100 | |||
| 101 | clean: | ||
| 102 | rm -f asm/sx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o | ||
| 103 | |||
| 104 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 105 | |||
| 106 | sha1_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 107 | sha1_one.o: ../../include/openssl/sha.h sha1_one.c | ||
| 108 | sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 109 | sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h | ||
| 110 | sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h | ||
| 111 | sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 112 | sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h | ||
| 113 | sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h | ||
| 114 | sha_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 115 | sha_one.o: ../../include/openssl/sha.h sha_one.c | ||
diff --git a/src/lib/libcrypto/stack/Makefile.ssl b/src/lib/libcrypto/stack/Makefile.ssl new file mode 100644 index 0000000000..16219af9a9 --- /dev/null +++ b/src/lib/libcrypto/stack/Makefile.ssl | |||
| @@ -0,0 +1,88 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/stack/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= stack | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=stack.c | ||
| 27 | LIBOBJ=stack.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= stack.h safestack.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | stack.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 83 | stack.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 84 | stack.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 85 | stack.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 86 | stack.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 87 | stack.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 88 | stack.o: ../cryptlib.h stack.c | ||
diff --git a/src/lib/libcrypto/txt_db/Makefile.ssl b/src/lib/libcrypto/txt_db/Makefile.ssl new file mode 100644 index 0000000000..f681065da3 --- /dev/null +++ b/src/lib/libcrypto/txt_db/Makefile.ssl | |||
| @@ -0,0 +1,88 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/txt_db/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= txt_db | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC=txt_db.c | ||
| 27 | LIBOBJ=txt_db.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= txt_db.h | ||
| 32 | HEADER= $(EXHEADER) | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | files: | ||
| 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 48 | |||
| 49 | links: | ||
| 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 54 | |||
| 55 | install: | ||
| 56 | @for i in $(EXHEADER) ; \ | ||
| 57 | do \ | ||
| 58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 60 | done; | ||
| 61 | |||
| 62 | tags: | ||
| 63 | ctags $(SRC) | ||
| 64 | |||
| 65 | tests: | ||
| 66 | |||
| 67 | lint: | ||
| 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 69 | |||
| 70 | depend: | ||
| 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 72 | |||
| 73 | dclean: | ||
| 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 75 | mv -f Makefile.new $(MAKEFILE) | ||
| 76 | |||
| 77 | clean: | ||
| 78 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 79 | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 81 | |||
| 82 | txt_db.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 83 | txt_db.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 84 | txt_db.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 85 | txt_db.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 86 | txt_db.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 87 | txt_db.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 88 | txt_db.o: ../../include/openssl/txt_db.h ../cryptlib.h txt_db.c | ||
diff --git a/src/lib/libcrypto/ui/Makefile.ssl b/src/lib/libcrypto/ui/Makefile.ssl new file mode 100644 index 0000000000..d51c1ff67a --- /dev/null +++ b/src/lib/libcrypto/ui/Makefile.ssl | |||
| @@ -0,0 +1,117 @@ | |||
| 1 | # | ||
| 2 | # OpenSSL/crypto/ui/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= ui | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile | ||
| 22 | #TEST= uitest.c | ||
| 23 | TEST= | ||
| 24 | APPS= | ||
| 25 | |||
| 26 | COMPATSRC= ui_compat.c | ||
| 27 | COMPATOBJ= ui_compat.o | ||
| 28 | |||
| 29 | LIB=$(TOP)/libcrypto.a | ||
| 30 | LIBSRC= ui_err.c ui_lib.c ui_openssl.c ui_util.c $(COMPATSRC) | ||
| 31 | LIBOBJ= ui_err.o ui_lib.o ui_openssl.o ui_util.o $(COMPATOBJ) | ||
| 32 | |||
| 33 | SRC= $(LIBSRC) | ||
| 34 | |||
| 35 | EXHEADER= ui.h ui_compat.h | ||
| 36 | HEADER= $(EXHEADER) ui_locl.h | ||
| 37 | |||
| 38 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 39 | |||
| 40 | top: | ||
| 41 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 42 | |||
| 43 | all: lib | ||
| 44 | |||
| 45 | lib: $(LIBOBJ) | ||
| 46 | $(AR) $(LIB) $(LIBOBJ) | ||
| 47 | $(RANLIB) $(LIB) | ||
| 48 | @touch lib | ||
| 49 | |||
| 50 | files: | ||
| 51 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 52 | |||
| 53 | links: | ||
| 54 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 55 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 56 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 57 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 58 | |||
| 59 | install: | ||
| 60 | @for i in $(EXHEADER) ; \ | ||
| 61 | do \ | ||
| 62 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 63 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 64 | done; | ||
| 65 | |||
| 66 | tags: | ||
| 67 | ctags $(SRC) | ||
| 68 | |||
| 69 | tests: | ||
| 70 | |||
| 71 | lint: | ||
| 72 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 73 | |||
| 74 | depend: | ||
| 75 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 76 | |||
| 77 | dclean: | ||
| 78 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 79 | mv -f Makefile.new $(MAKEFILE) | ||
| 80 | |||
| 81 | clean: | ||
| 82 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 83 | |||
| 84 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 85 | |||
| 86 | ui_compat.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 87 | ui_compat.o: ../../include/openssl/opensslconf.h | ||
| 88 | ui_compat.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 89 | ui_compat.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 90 | ui_compat.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | ||
| 91 | ui_compat.o: ui_compat.c | ||
| 92 | ui_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
| 93 | ui_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 94 | ui_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 95 | ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 96 | ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 97 | ui_err.o: ../../include/openssl/ui.h ui_err.c | ||
| 98 | ui_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | ||
| 99 | ui_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 100 | ui_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 101 | ui_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 102 | ui_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 103 | ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_lib.c | ||
| 104 | ui_lib.o: ui_locl.h | ||
| 105 | ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h | ||
| 106 | ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 107 | ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 108 | ui_openssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
| 109 | ui_openssl.o: ../../include/openssl/opensslv.h | ||
| 110 | ui_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 111 | ui_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 112 | ui_openssl.o: ../cryptlib.h ui_locl.h ui_openssl.c | ||
| 113 | ui_util.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 114 | ui_util.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 115 | ui_util.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 116 | ui_util.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 117 | ui_util.o: ui_util.c | ||
diff --git a/src/lib/libcrypto/util/pl/Mingw32f.pl b/src/lib/libcrypto/util/pl/Mingw32f.pl new file mode 100644 index 0000000000..44f5673d7a --- /dev/null +++ b/src/lib/libcrypto/util/pl/Mingw32f.pl | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | #!/usr/local/bin/perl | ||
| 2 | # | ||
| 3 | # Mingw32f.pl -- copy files; Mingw32.pl is needed to do the compiling. | ||
| 4 | # | ||
| 5 | |||
| 6 | $o='\\'; | ||
| 7 | $cp='copy'; | ||
| 8 | $rm='del'; | ||
| 9 | |||
| 10 | # C compiler stuff | ||
| 11 | |||
| 12 | $cc='gcc'; | ||
| 13 | if ($debug) | ||
| 14 | { $cflags="-g2 -ggdb -DDSO_WIN32"; } | ||
| 15 | else | ||
| 16 | { $cflags="-O3 -fomit-frame-pointer -DDSO_WIN32"; } | ||
| 17 | |||
| 18 | $obj='.o'; | ||
| 19 | $ofile='-o '; | ||
| 20 | |||
| 21 | # EXE linking stuff | ||
| 22 | $link='${CC}'; | ||
| 23 | $lflags='${CFLAGS}'; | ||
| 24 | $efile='-o '; | ||
| 25 | $exep=''; | ||
| 26 | $ex_libs="-lwsock32 -lgdi32"; | ||
| 27 | |||
| 28 | # static library stuff | ||
| 29 | $mklib='ar r'; | ||
| 30 | $mlflags=''; | ||
| 31 | $ranlib='ranlib'; | ||
| 32 | $plib='lib'; | ||
| 33 | $libp=".a"; | ||
| 34 | $shlibp=".a"; | ||
| 35 | $lfile=''; | ||
| 36 | |||
| 37 | $asm='as'; | ||
| 38 | $afile='-o '; | ||
| 39 | $bn_asm_obj=""; | ||
| 40 | $bn_asm_src=""; | ||
| 41 | $des_enc_obj=""; | ||
| 42 | $des_enc_src=""; | ||
| 43 | $bf_enc_obj=""; | ||
| 44 | $bf_enc_src=""; | ||
| 45 | |||
| 46 | sub do_lib_rule | ||
| 47 | { | ||
| 48 | local($obj,$target,$name,$shlib)=@_; | ||
| 49 | local($ret,$_,$Name); | ||
| 50 | |||
| 51 | $target =~ s/\//$o/g if $o ne '/'; | ||
| 52 | $target="$target"; | ||
| 53 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
| 54 | |||
| 55 | $ret.="$target: \$(${Name}OBJ)\n"; | ||
| 56 | $ret.="\t\$(RM) $target\n"; | ||
| 57 | $ret.="\t\$(MKLIB) $target \$(${Name}OBJ)\n"; | ||
| 58 | $ret.="\t\$(RANLIB) $target\n\n"; | ||
| 59 | } | ||
| 60 | |||
| 61 | sub do_link_rule | ||
| 62 | { | ||
| 63 | local($target,$files,$dep_libs,$libs)=@_; | ||
| 64 | local($ret,$_); | ||
| 65 | |||
| 66 | $file =~ s/\//$o/g if $o ne '/'; | ||
| 67 | $n=&bname($target); | ||
| 68 | $ret.="$target: $files $dep_libs\n"; | ||
| 69 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n"; | ||
| 70 | return($ret); | ||
| 71 | } | ||
| 72 | 1; | ||
| 73 | |||
diff --git a/src/lib/libcrypto/x509/Makefile.ssl b/src/lib/libcrypto/x509/Makefile.ssl new file mode 100644 index 0000000000..3063f448c0 --- /dev/null +++ b/src/lib/libcrypto/x509/Makefile.ssl | |||
| @@ -0,0 +1,410 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/x509/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= x509 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile README | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= x509_def.c x509_d2.c x509_r2x.c x509_cmp.c \ | ||
| 27 | x509_obj.c x509_req.c x509spki.c x509_vfy.c \ | ||
| 28 | x509_set.c x509cset.c x509rset.c x509_err.c \ | ||
| 29 | x509name.c x509_v3.c x509_ext.c x509_att.c \ | ||
| 30 | x509type.c x509_lu.c x_all.c x509_txt.c \ | ||
| 31 | x509_trs.c by_file.c by_dir.c | ||
| 32 | LIBOBJ= x509_def.o x509_d2.o x509_r2x.o x509_cmp.o \ | ||
| 33 | x509_obj.o x509_req.o x509spki.o x509_vfy.o \ | ||
| 34 | x509_set.o x509cset.o x509rset.o x509_err.o \ | ||
| 35 | x509name.o x509_v3.o x509_ext.o x509_att.o \ | ||
| 36 | x509type.o x509_lu.o x_all.o x509_txt.o \ | ||
| 37 | x509_trs.o by_file.o by_dir.o | ||
| 38 | |||
| 39 | SRC= $(LIBSRC) | ||
| 40 | |||
| 41 | EXHEADER= x509.h x509_vfy.h | ||
| 42 | HEADER= $(EXHEADER) | ||
| 43 | |||
| 44 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 45 | |||
| 46 | top: | ||
| 47 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 48 | |||
| 49 | all: lib | ||
| 50 | |||
| 51 | lib: $(LIBOBJ) | ||
| 52 | $(AR) $(LIB) $(LIBOBJ) | ||
| 53 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 54 | @touch lib | ||
| 55 | |||
| 56 | files: | ||
| 57 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 58 | |||
| 59 | links: | ||
| 60 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 61 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 62 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 63 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 64 | |||
| 65 | install: | ||
| 66 | @for i in $(EXHEADER) ; \ | ||
| 67 | do \ | ||
| 68 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 69 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 70 | done; | ||
| 71 | |||
| 72 | tags: | ||
| 73 | ctags $(SRC) | ||
| 74 | |||
| 75 | tests: | ||
| 76 | |||
| 77 | lint: | ||
| 78 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 79 | |||
| 80 | depend: | ||
| 81 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 82 | |||
| 83 | dclean: | ||
| 84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 85 | mv -f Makefile.new $(MAKEFILE) | ||
| 86 | |||
| 87 | clean: | ||
| 88 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 89 | |||
| 90 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 91 | |||
| 92 | by_dir.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 93 | by_dir.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 94 | by_dir.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 95 | by_dir.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 96 | by_dir.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 97 | by_dir.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 98 | by_dir.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 99 | by_dir.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 100 | by_dir.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 101 | by_dir.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 102 | by_dir.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 103 | by_dir.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 104 | by_dir.o: ../cryptlib.h by_dir.c | ||
| 105 | by_file.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 106 | by_file.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 107 | by_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 108 | by_file.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 109 | by_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 110 | by_file.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 111 | by_file.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 112 | by_file.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 113 | by_file.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h | ||
| 114 | by_file.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h | ||
| 115 | by_file.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 116 | by_file.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 117 | by_file.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 118 | by_file.o: ../../include/openssl/x509_vfy.h ../cryptlib.h by_file.c | ||
| 119 | x509_att.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 120 | x509_att.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 121 | x509_att.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 122 | x509_att.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 123 | x509_att.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 124 | x509_att.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 125 | x509_att.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 126 | x509_att.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 127 | x509_att.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 128 | x509_att.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 129 | x509_att.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 130 | x509_att.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 131 | x509_att.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 132 | x509_att.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_att.c | ||
| 133 | x509_cmp.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 134 | x509_cmp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 135 | x509_cmp.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 136 | x509_cmp.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 137 | x509_cmp.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 138 | x509_cmp.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 139 | x509_cmp.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 140 | x509_cmp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 141 | x509_cmp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 142 | x509_cmp.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 143 | x509_cmp.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 144 | x509_cmp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 145 | x509_cmp.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 146 | x509_cmp.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_cmp.c | ||
| 147 | x509_d2.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 148 | x509_d2.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 149 | x509_d2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 150 | x509_d2.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 151 | x509_d2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 152 | x509_d2.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 153 | x509_d2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 154 | x509_d2.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 155 | x509_d2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 156 | x509_d2.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 157 | x509_d2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 158 | x509_d2.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 159 | x509_d2.o: ../../include/openssl/x509_vfy.h ../cryptlib.h x509_d2.c | ||
| 160 | x509_def.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 161 | x509_def.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 162 | x509_def.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 163 | x509_def.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 164 | x509_def.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 165 | x509_def.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 166 | x509_def.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 167 | x509_def.o: ../../include/openssl/opensslconf.h | ||
| 168 | x509_def.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 169 | x509_def.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 170 | x509_def.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 171 | x509_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 172 | x509_def.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 173 | x509_def.o: ../cryptlib.h x509_def.c | ||
| 174 | x509_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 175 | x509_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 176 | x509_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 177 | x509_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 178 | x509_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 179 | x509_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 180 | x509_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 181 | x509_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 182 | x509_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 183 | x509_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 184 | x509_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 185 | x509_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 186 | x509_err.o: x509_err.c | ||
| 187 | x509_ext.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 188 | x509_ext.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 189 | x509_ext.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 190 | x509_ext.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 191 | x509_ext.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 192 | x509_ext.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 193 | x509_ext.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 194 | x509_ext.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 195 | x509_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 196 | x509_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 197 | x509_ext.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 198 | x509_ext.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 199 | x509_ext.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 200 | x509_ext.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_ext.c | ||
| 201 | x509_lu.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 202 | x509_lu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 203 | x509_lu.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 204 | x509_lu.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 205 | x509_lu.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 206 | x509_lu.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 207 | x509_lu.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 208 | x509_lu.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 209 | x509_lu.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 210 | x509_lu.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 211 | x509_lu.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 212 | x509_lu.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 213 | x509_lu.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 214 | x509_lu.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_lu.c | ||
| 215 | x509_obj.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 216 | x509_obj.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 217 | x509_obj.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 218 | x509_obj.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 219 | x509_obj.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 220 | x509_obj.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 221 | x509_obj.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 222 | x509_obj.o: ../../include/openssl/opensslconf.h | ||
| 223 | x509_obj.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 224 | x509_obj.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 225 | x509_obj.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 226 | x509_obj.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 227 | x509_obj.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 228 | x509_obj.o: ../cryptlib.h x509_obj.c | ||
| 229 | x509_r2x.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 230 | x509_r2x.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 231 | x509_r2x.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 232 | x509_r2x.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 233 | x509_r2x.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 234 | x509_r2x.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 235 | x509_r2x.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 236 | x509_r2x.o: ../../include/openssl/opensslconf.h | ||
| 237 | x509_r2x.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 238 | x509_r2x.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 239 | x509_r2x.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 240 | x509_r2x.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 241 | x509_r2x.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 242 | x509_r2x.o: ../cryptlib.h x509_r2x.c | ||
| 243 | x509_req.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 244 | x509_req.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 245 | x509_req.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 246 | x509_req.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 247 | x509_req.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 248 | x509_req.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 249 | x509_req.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 250 | x509_req.o: ../../include/openssl/opensslconf.h | ||
| 251 | x509_req.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 252 | x509_req.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h | ||
| 253 | x509_req.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 254 | x509_req.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 255 | x509_req.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 256 | x509_req.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 257 | x509_req.o: ../cryptlib.h x509_req.c | ||
| 258 | x509_set.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 259 | x509_set.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 260 | x509_set.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 261 | x509_set.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 262 | x509_set.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 263 | x509_set.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 264 | x509_set.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 265 | x509_set.o: ../../include/openssl/opensslconf.h | ||
| 266 | x509_set.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 267 | x509_set.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 268 | x509_set.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 269 | x509_set.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 270 | x509_set.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 271 | x509_set.o: ../cryptlib.h x509_set.c | ||
| 272 | x509_trs.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 273 | x509_trs.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 274 | x509_trs.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 275 | x509_trs.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 276 | x509_trs.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 277 | x509_trs.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 278 | x509_trs.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 279 | x509_trs.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 280 | x509_trs.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 281 | x509_trs.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 282 | x509_trs.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 283 | x509_trs.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 284 | x509_trs.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 285 | x509_trs.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_trs.c | ||
| 286 | x509_txt.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 287 | x509_txt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 288 | x509_txt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 289 | x509_txt.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 290 | x509_txt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 291 | x509_txt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 292 | x509_txt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 293 | x509_txt.o: ../../include/openssl/opensslconf.h | ||
| 294 | x509_txt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 295 | x509_txt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 296 | x509_txt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 297 | x509_txt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 298 | x509_txt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 299 | x509_txt.o: ../cryptlib.h x509_txt.c | ||
| 300 | x509_v3.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 301 | x509_v3.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 302 | x509_v3.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 303 | x509_v3.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 304 | x509_v3.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 305 | x509_v3.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 306 | x509_v3.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 307 | x509_v3.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 308 | x509_v3.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 309 | x509_v3.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 310 | x509_v3.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 311 | x509_v3.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 312 | x509_v3.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 313 | x509_v3.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_v3.c | ||
| 314 | x509_vfy.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 315 | x509_vfy.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 316 | x509_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 317 | x509_vfy.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 318 | x509_vfy.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 319 | x509_vfy.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 320 | x509_vfy.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 321 | x509_vfy.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 322 | x509_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 323 | x509_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 324 | x509_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 325 | x509_vfy.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 326 | x509_vfy.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 327 | x509_vfy.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_vfy.c | ||
| 328 | x509cset.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 329 | x509cset.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 330 | x509cset.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 331 | x509cset.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 332 | x509cset.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 333 | x509cset.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 334 | x509cset.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 335 | x509cset.o: ../../include/openssl/opensslconf.h | ||
| 336 | x509cset.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 337 | x509cset.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 338 | x509cset.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 339 | x509cset.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 340 | x509cset.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 341 | x509cset.o: ../cryptlib.h x509cset.c | ||
| 342 | x509name.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 343 | x509name.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 344 | x509name.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 345 | x509name.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 346 | x509name.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 347 | x509name.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 348 | x509name.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 349 | x509name.o: ../../include/openssl/opensslconf.h | ||
| 350 | x509name.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 351 | x509name.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 352 | x509name.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 353 | x509name.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 354 | x509name.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 355 | x509name.o: ../cryptlib.h x509name.c | ||
| 356 | x509rset.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 357 | x509rset.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 358 | x509rset.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 359 | x509rset.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 360 | x509rset.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 361 | x509rset.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 362 | x509rset.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 363 | x509rset.o: ../../include/openssl/opensslconf.h | ||
| 364 | x509rset.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 365 | x509rset.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 366 | x509rset.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 367 | x509rset.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 368 | x509rset.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 369 | x509rset.o: ../cryptlib.h x509rset.c | ||
| 370 | x509spki.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 371 | x509spki.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 372 | x509spki.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 373 | x509spki.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 374 | x509spki.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 375 | x509spki.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 376 | x509spki.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 377 | x509spki.o: ../../include/openssl/opensslconf.h | ||
| 378 | x509spki.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 379 | x509spki.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 380 | x509spki.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 381 | x509spki.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 382 | x509spki.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 383 | x509spki.o: ../cryptlib.h x509spki.c | ||
| 384 | x509type.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 385 | x509type.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 386 | x509type.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 387 | x509type.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 388 | x509type.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 389 | x509type.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 390 | x509type.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 391 | x509type.o: ../../include/openssl/opensslconf.h | ||
| 392 | x509type.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 393 | x509type.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 394 | x509type.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 395 | x509type.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 396 | x509type.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 397 | x509type.o: ../cryptlib.h x509type.c | ||
| 398 | x_all.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 399 | x_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 400 | x_all.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 401 | x_all.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 402 | x_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 403 | x_all.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 404 | x_all.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 405 | x_all.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 406 | x_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 407 | x_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 408 | x_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 409 | x_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 410 | x_all.o: ../cryptlib.h x_all.c | ||
diff --git a/src/lib/libcrypto/x509v3/Makefile.ssl b/src/lib/libcrypto/x509v3/Makefile.ssl new file mode 100644 index 0000000000..da7c859476 --- /dev/null +++ b/src/lib/libcrypto/x509v3/Makefile.ssl | |||
| @@ -0,0 +1,420 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/x509v3/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= x509v3 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 12 | INSTALLTOP=/usr/local/ssl | ||
| 13 | MAKE= make -f Makefile.ssl | ||
| 14 | MAKEDEPPROG= makedepend | ||
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 16 | MAKEFILE= Makefile.ssl | ||
| 17 | AR= ar r | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile README | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= v3_bcons.c v3_bitst.c v3_conf.c v3_extku.c v3_ia5.c v3_lib.c \ | ||
| 27 | v3_prn.c v3_utl.c v3err.c v3_genn.c v3_alt.c v3_skey.c v3_akey.c v3_pku.c \ | ||
| 28 | v3_int.c v3_enum.c v3_sxnet.c v3_cpols.c v3_crld.c v3_purp.c v3_info.c \ | ||
| 29 | v3_ocsp.c v3_akeya.c | ||
| 30 | LIBOBJ= v3_bcons.o v3_bitst.o v3_conf.o v3_extku.o v3_ia5.o v3_lib.o \ | ||
| 31 | v3_prn.o v3_utl.o v3err.o v3_genn.o v3_alt.o v3_skey.o v3_akey.o v3_pku.o \ | ||
| 32 | v3_int.o v3_enum.o v3_sxnet.o v3_cpols.o v3_crld.o v3_purp.o v3_info.o \ | ||
| 33 | v3_ocsp.o v3_akeya.o | ||
| 34 | |||
| 35 | SRC= $(LIBSRC) | ||
| 36 | |||
| 37 | EXHEADER= x509v3.h | ||
| 38 | HEADER= $(EXHEADER) | ||
| 39 | |||
| 40 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 41 | |||
| 42 | top: | ||
| 43 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 44 | |||
| 45 | all: lib | ||
| 46 | |||
| 47 | lib: $(LIBOBJ) | ||
| 48 | $(AR) $(LIB) $(LIBOBJ) | ||
| 49 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 50 | @touch lib | ||
| 51 | |||
| 52 | files: | ||
| 53 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | ||
| 54 | |||
| 55 | links: | ||
| 56 | @$(TOP)/util/point.sh Makefile.ssl Makefile | ||
| 57 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 58 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 59 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 60 | |||
| 61 | install: | ||
| 62 | @for i in $(EXHEADER) ; \ | ||
| 63 | do \ | ||
| 64 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 65 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 66 | done; | ||
| 67 | |||
| 68 | tags: | ||
| 69 | ctags $(SRC) | ||
| 70 | |||
| 71 | tests: | ||
| 72 | |||
| 73 | lint: | ||
| 74 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 75 | |||
| 76 | depend: | ||
| 77 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | ||
| 78 | |||
| 79 | dclean: | ||
| 80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 81 | mv -f Makefile.new $(MAKEFILE) | ||
| 82 | |||
| 83 | clean: | ||
| 84 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 85 | |||
| 86 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 87 | |||
| 88 | v3_akey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 89 | v3_akey.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 90 | v3_akey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 91 | v3_akey.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 92 | v3_akey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 93 | v3_akey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 94 | v3_akey.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 95 | v3_akey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 96 | v3_akey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 97 | v3_akey.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 98 | v3_akey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 99 | v3_akey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 100 | v3_akey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 101 | v3_akey.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 102 | v3_akey.o: ../cryptlib.h v3_akey.c | ||
| 103 | v3_akeya.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 104 | v3_akeya.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 105 | v3_akeya.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 106 | v3_akeya.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 107 | v3_akeya.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 108 | v3_akeya.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 109 | v3_akeya.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 110 | v3_akeya.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 111 | v3_akeya.o: ../../include/openssl/opensslconf.h | ||
| 112 | v3_akeya.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 113 | v3_akeya.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 114 | v3_akeya.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 115 | v3_akeya.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 116 | v3_akeya.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 117 | v3_akeya.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_akeya.c | ||
| 118 | v3_alt.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 119 | v3_alt.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 120 | v3_alt.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 121 | v3_alt.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 122 | v3_alt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 123 | v3_alt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 124 | v3_alt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 125 | v3_alt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 126 | v3_alt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 127 | v3_alt.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 128 | v3_alt.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 129 | v3_alt.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 130 | v3_alt.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 131 | v3_alt.o: ../cryptlib.h v3_alt.c | ||
| 132 | v3_bcons.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 133 | v3_bcons.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 134 | v3_bcons.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 135 | v3_bcons.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 136 | v3_bcons.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 137 | v3_bcons.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 138 | v3_bcons.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 139 | v3_bcons.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 140 | v3_bcons.o: ../../include/openssl/opensslconf.h | ||
| 141 | v3_bcons.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 142 | v3_bcons.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 143 | v3_bcons.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 144 | v3_bcons.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 145 | v3_bcons.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 146 | v3_bcons.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_bcons.c | ||
| 147 | v3_bitst.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 148 | v3_bitst.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 149 | v3_bitst.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 150 | v3_bitst.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 151 | v3_bitst.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 152 | v3_bitst.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 153 | v3_bitst.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 154 | v3_bitst.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 155 | v3_bitst.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 156 | v3_bitst.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 157 | v3_bitst.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 158 | v3_bitst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 159 | v3_bitst.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 160 | v3_bitst.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_bitst.c | ||
| 161 | v3_conf.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 162 | v3_conf.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 163 | v3_conf.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 164 | v3_conf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 165 | v3_conf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 166 | v3_conf.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 167 | v3_conf.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 168 | v3_conf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 169 | v3_conf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 170 | v3_conf.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 171 | v3_conf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 172 | v3_conf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 173 | v3_conf.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 174 | v3_conf.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_conf.c | ||
| 175 | v3_cpols.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 176 | v3_cpols.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 177 | v3_cpols.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 178 | v3_cpols.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 179 | v3_cpols.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 180 | v3_cpols.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 181 | v3_cpols.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 182 | v3_cpols.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 183 | v3_cpols.o: ../../include/openssl/opensslconf.h | ||
| 184 | v3_cpols.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 185 | v3_cpols.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 186 | v3_cpols.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 187 | v3_cpols.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 188 | v3_cpols.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 189 | v3_cpols.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_cpols.c | ||
| 190 | v3_crld.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 191 | v3_crld.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 192 | v3_crld.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 193 | v3_crld.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 194 | v3_crld.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 195 | v3_crld.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 196 | v3_crld.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 197 | v3_crld.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 198 | v3_crld.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 199 | v3_crld.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 200 | v3_crld.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 201 | v3_crld.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 202 | v3_crld.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 203 | v3_crld.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 204 | v3_crld.o: ../cryptlib.h v3_crld.c | ||
| 205 | v3_enum.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 206 | v3_enum.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 207 | v3_enum.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 208 | v3_enum.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 209 | v3_enum.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 210 | v3_enum.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 211 | v3_enum.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 212 | v3_enum.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 213 | v3_enum.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 214 | v3_enum.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 215 | v3_enum.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 216 | v3_enum.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 217 | v3_enum.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 218 | v3_enum.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_enum.c | ||
| 219 | v3_extku.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 220 | v3_extku.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 221 | v3_extku.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 222 | v3_extku.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 223 | v3_extku.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 224 | v3_extku.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 225 | v3_extku.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 226 | v3_extku.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 227 | v3_extku.o: ../../include/openssl/opensslconf.h | ||
| 228 | v3_extku.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 229 | v3_extku.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 230 | v3_extku.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 231 | v3_extku.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 232 | v3_extku.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 233 | v3_extku.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_extku.c | ||
| 234 | v3_genn.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 235 | v3_genn.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 236 | v3_genn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 237 | v3_genn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 238 | v3_genn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 239 | v3_genn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 240 | v3_genn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 241 | v3_genn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 242 | v3_genn.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 243 | v3_genn.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 244 | v3_genn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 245 | v3_genn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 246 | v3_genn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 247 | v3_genn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 248 | v3_genn.o: ../cryptlib.h v3_genn.c | ||
| 249 | v3_ia5.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 250 | v3_ia5.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 251 | v3_ia5.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 252 | v3_ia5.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 253 | v3_ia5.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 254 | v3_ia5.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 255 | v3_ia5.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 256 | v3_ia5.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 257 | v3_ia5.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 258 | v3_ia5.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 259 | v3_ia5.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 260 | v3_ia5.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 261 | v3_ia5.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 262 | v3_ia5.o: ../cryptlib.h v3_ia5.c | ||
| 263 | v3_info.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 264 | v3_info.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 265 | v3_info.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 266 | v3_info.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 267 | v3_info.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 268 | v3_info.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 269 | v3_info.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 270 | v3_info.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 271 | v3_info.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 272 | v3_info.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 273 | v3_info.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 274 | v3_info.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 275 | v3_info.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 276 | v3_info.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 277 | v3_info.o: ../cryptlib.h v3_info.c | ||
| 278 | v3_int.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 279 | v3_int.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 280 | v3_int.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 281 | v3_int.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 282 | v3_int.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 283 | v3_int.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 284 | v3_int.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 285 | v3_int.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 286 | v3_int.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 287 | v3_int.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 288 | v3_int.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 289 | v3_int.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 290 | v3_int.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 291 | v3_int.o: ../cryptlib.h v3_int.c | ||
| 292 | v3_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 293 | v3_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 294 | v3_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 295 | v3_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 296 | v3_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 297 | v3_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 298 | v3_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 299 | v3_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 300 | v3_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 301 | v3_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 302 | v3_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 303 | v3_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 304 | v3_lib.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 305 | v3_lib.o: ../cryptlib.h ext_dat.h v3_lib.c | ||
| 306 | v3_ocsp.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 307 | v3_ocsp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 308 | v3_ocsp.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 309 | v3_ocsp.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 310 | v3_ocsp.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 311 | v3_ocsp.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 312 | v3_ocsp.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 313 | v3_ocsp.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h | ||
| 314 | v3_ocsp.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 315 | v3_ocsp.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 316 | v3_ocsp.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 317 | v3_ocsp.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 318 | v3_ocsp.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 319 | v3_ocsp.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 320 | v3_ocsp.o: ../cryptlib.h v3_ocsp.c | ||
| 321 | v3_pku.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 322 | v3_pku.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 323 | v3_pku.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 324 | v3_pku.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 325 | v3_pku.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 326 | v3_pku.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 327 | v3_pku.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 328 | v3_pku.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 329 | v3_pku.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 330 | v3_pku.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 331 | v3_pku.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 332 | v3_pku.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 333 | v3_pku.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 334 | v3_pku.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 335 | v3_pku.o: ../cryptlib.h v3_pku.c | ||
| 336 | v3_prn.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 337 | v3_prn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 338 | v3_prn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 339 | v3_prn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 340 | v3_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 341 | v3_prn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 342 | v3_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 343 | v3_prn.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 344 | v3_prn.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 345 | v3_prn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 346 | v3_prn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 347 | v3_prn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 348 | v3_prn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 349 | v3_prn.o: ../cryptlib.h v3_prn.c | ||
| 350 | v3_purp.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 351 | v3_purp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 352 | v3_purp.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 353 | v3_purp.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 354 | v3_purp.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 355 | v3_purp.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 356 | v3_purp.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 357 | v3_purp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 358 | v3_purp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 359 | v3_purp.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 360 | v3_purp.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 361 | v3_purp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 362 | v3_purp.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 363 | v3_purp.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_purp.c | ||
| 364 | v3_skey.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 365 | v3_skey.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 366 | v3_skey.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h | ||
| 367 | v3_skey.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
| 368 | v3_skey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
| 369 | v3_skey.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 370 | v3_skey.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 371 | v3_skey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 372 | v3_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 373 | v3_skey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 374 | v3_skey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 375 | v3_skey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 376 | v3_skey.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 377 | v3_skey.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_skey.c | ||
| 378 | v3_sxnet.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 379 | v3_sxnet.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
| 380 | v3_sxnet.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 381 | v3_sxnet.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 382 | v3_sxnet.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 383 | v3_sxnet.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 384 | v3_sxnet.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 385 | v3_sxnet.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 386 | v3_sxnet.o: ../../include/openssl/opensslconf.h | ||
| 387 | v3_sxnet.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 388 | v3_sxnet.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
| 389 | v3_sxnet.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
| 390 | v3_sxnet.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 391 | v3_sxnet.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
| 392 | v3_sxnet.o: ../../include/openssl/x509v3.h ../cryptlib.h v3_sxnet.c | ||
| 393 | v3_utl.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 394 | v3_utl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 395 | v3_utl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 396 | v3_utl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 397 | v3_utl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 398 | v3_utl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 399 | v3_utl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 400 | v3_utl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 401 | v3_utl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 402 | v3_utl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 403 | v3_utl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 404 | v3_utl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 405 | v3_utl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 406 | v3_utl.o: ../cryptlib.h v3_utl.c | ||
| 407 | v3err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 408 | v3err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
| 409 | v3err.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | ||
| 410 | v3err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
| 411 | v3err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 412 | v3err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
| 413 | v3err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 414 | v3err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 415 | v3err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h | ||
| 416 | v3err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
| 417 | v3err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 418 | v3err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 419 | v3err.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
| 420 | v3err.o: v3err.c | ||
