├── .astylerc ├── .didntcomefromthenpmregistry ├── .editorconfig ├── .gitignore ├── .gitmodules ├── .jshintrc ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── HISTORY.md ├── LICENSE ├── README.md ├── TESTING.md ├── appveyor.yml ├── examples ├── add-and-commit.js ├── apps │ └── git_profanity_check.js ├── clone.js ├── cloneFromGithubWith2Factor.js ├── create-branch.js ├── create-new-repo.js ├── details-for-tree-entry.js ├── diff-commits.js ├── fetch.js ├── general.js ├── index-add-and-remove.js ├── merge-cleanly.js ├── merge-with-conflicts.js ├── pull.js ├── push.js ├── read-file.js ├── remove-and-commit.js ├── status.js ├── walk-history-for-file.js ├── walk-history.js └── walk-tree.js ├── generate ├── index.js ├── input │ ├── callbacks.json │ ├── descriptor.json │ ├── ignored-missing-tests.json │ ├── libgit2-supplement.json │ └── v0.23.1.json ├── scripts │ ├── generateJson.js │ ├── generateMissingTests.js │ ├── generateNativeCode.js │ ├── helpers.js │ └── utils.js └── templates │ ├── filters │ ├── and.js │ ├── args_info.js │ ├── cpp_to_v8.js │ ├── default_value.js │ ├── fields_info.js │ ├── has_return_type.js │ ├── has_return_value.js │ ├── is_double_pointer.js │ ├── is_fixed_length_string.js │ ├── is_oid.js │ ├── is_payload.js │ ├── is_pointer.js │ ├── is_v8_value.js │ ├── js_args_count.js │ ├── or.js │ ├── payload_for.js │ ├── replace.js │ ├── returns_count.js │ ├── returns_info.js │ ├── title_case.js │ ├── un_pointer.js │ └── upper.js │ ├── manual │ ├── include │ │ ├── callback_wrapper.h │ │ ├── functions │ │ │ └── copy.h │ │ ├── git_buf_converter.h │ │ ├── macros.h │ │ ├── str_array_converter.h │ │ └── wrapper.h │ └── src │ │ ├── functions │ │ └── copy.cc │ │ ├── git_buf_converter.cc │ │ ├── str_array_converter.cc │ │ └── wrapper.cc │ ├── partials │ ├── async_function.cc │ ├── callback_helpers.cc │ ├── convert_from_v8.cc │ ├── convert_to_v8.cc │ ├── doc.cc │ ├── field_accessors.cc │ ├── fields.cc │ ├── guard_arguments.cc │ └── sync_function.cc │ └── templates │ ├── binding.gyp │ ├── class_content.cc │ ├── class_header.h │ ├── enums.js │ ├── nodegit.cc │ ├── nodegit.js │ ├── struct_content.cc │ └── struct_header.h ├── guides ├── README.md ├── cloning │ ├── README.md │ ├── gh-two-factor │ │ ├── README.md │ │ └── index.js │ ├── index.js │ └── ssh-with-agent │ │ ├── README.md │ │ └── index.js ├── install │ ├── README.md │ ├── electron │ │ └── README.md │ ├── from-source │ │ └── README.md │ └── nw.js │ │ └── README.md └── repositories │ ├── README.md │ ├── index.js │ └── initializing │ ├── README.md │ └── index.js ├── lib ├── blob.js ├── checkout.js ├── cherrypick.js ├── clone.js ├── commit.js ├── config.js ├── convenient_hunk.js ├── convenient_line.js ├── convenient_patch.js ├── diff.js ├── index.js ├── merge.js ├── note.js ├── object.js ├── odb.js ├── odb_object.js ├── oid.js ├── rebase.js ├── reference.js ├── remote.js ├── repository.js ├── reset.js ├── revwalk.js ├── signature.js ├── stash.js ├── status.js ├── status_file.js ├── status_list.js ├── tag.js ├── tree.js ├── tree_entry.js └── utils │ ├── lookup_wrapper.js │ ├── normalize_options.js │ └── shallow_clone.js ├── lifecycleScripts ├── checkPrepared.js ├── clean.js ├── install.js ├── prepareForBuild.js └── retrieveExternalDependencies.js ├── package.json ├── test ├── id_rsa ├── id_rsa.pub ├── index.js ├── runner.js ├── tests │ ├── attr.js │ ├── blob.js │ ├── branch.js │ ├── checkout.js │ ├── cherrypick.js │ ├── clone.js │ ├── commit.js │ ├── config.js │ ├── cred.js │ ├── diff.js │ ├── graph.js │ ├── index.js │ ├── merge.js │ ├── note.js │ ├── odb.js │ ├── oid.js │ ├── packbuilder.js │ ├── pathspec.js │ ├── rebase.js │ ├── refs.js │ ├── remote.js │ ├── repository.js │ ├── reset.js │ ├── revparse.js │ ├── revwalk.js │ ├── signature.js │ ├── stage.js │ ├── stash.js │ ├── status.js │ ├── status_file.js │ ├── status_list.js │ ├── tag.js │ └── tree_entry.js └── utils │ └── repository_setup.js └── vendor ├── README.md ├── libgit2.gyp ├── openssl ├── README.md ├── asm │ ├── Makefile │ ├── x64-elf-gas │ │ ├── aes │ │ │ ├── aes-x86_64.s │ │ │ ├── aesni-sha1-x86_64.s │ │ │ └── aesni-x86_64.s │ │ ├── bn │ │ │ ├── modexp512-x86_64.s │ │ │ └── x86_64-mont.s │ │ ├── camellia │ │ │ └── cmll-x86_64.s │ │ ├── md5 │ │ │ └── md5-x86_64.s │ │ ├── rc4 │ │ │ ├── rc4-md5-x86_64.s │ │ │ └── rc4-x86_64.s │ │ ├── sha │ │ │ ├── sha1-x86_64.s │ │ │ └── sha512-x86_64.s │ │ ├── whrlpool │ │ │ └── wp-x86_64.s │ │ └── x86_64cpuid.s │ ├── x64-macosx-gas │ │ ├── aes │ │ │ ├── aes-x86_64.s │ │ │ ├── aesni-sha1-x86_64.s │ │ │ └── aesni-x86_64.s │ │ ├── bn │ │ │ ├── modexp512-x86_64.s │ │ │ └── x86_64-mont.s │ │ ├── camellia │ │ │ └── cmll-x86_64.s │ │ ├── md5 │ │ │ └── md5-x86_64.s │ │ ├── rc4 │ │ │ ├── rc4-md5-x86_64.s │ │ │ └── rc4-x86_64.s │ │ ├── sha │ │ │ ├── sha1-x86_64.s │ │ │ └── sha512-x86_64.s │ │ ├── whrlpool │ │ │ └── wp-x86_64.s │ │ └── x86_64cpuid.s │ ├── x64-win32-masm │ │ ├── aes │ │ │ ├── aes-x86_64.asm │ │ │ ├── aesni-sha1-x86_64.asm │ │ │ └── aesni-x86_64.asm │ │ ├── bn │ │ │ ├── modexp512-x86_64.asm │ │ │ └── x86_64-mont.asm │ │ ├── camellia │ │ │ └── cmll-x86_64.asm │ │ ├── md5 │ │ │ └── md5-x86_64.asm │ │ ├── rc4 │ │ │ ├── rc4-md5-x86_64.asm │ │ │ └── rc4-x86_64.asm │ │ ├── sha │ │ │ ├── sha1-x86_64.asm │ │ │ └── sha512-x86_64.asm │ │ ├── whrlpool │ │ │ └── wp-x86_64.asm │ │ ├── x86_64cpuid.asm │ │ └── x86_64cpuid.asm.orig │ ├── x86-elf-gas │ │ ├── aes │ │ │ ├── aes-586.s │ │ │ └── aesni-x86.s │ │ ├── bf │ │ │ └── bf-686.s │ │ ├── bn │ │ │ ├── x86-mont.s │ │ │ └── x86.s │ │ ├── camellia │ │ │ └── cmll-x86.s │ │ ├── cast │ │ │ └── cast-586.s │ │ ├── des │ │ │ ├── crypt586.s │ │ │ └── des-586.s │ │ ├── md5 │ │ │ └── md5-586.s │ │ ├── rc4 │ │ │ └── rc4-586.s │ │ ├── rc5 │ │ │ └── rc5-586.s │ │ ├── ripemd │ │ │ └── rmd-586.s │ │ ├── sha │ │ │ ├── sha1-586.s │ │ │ ├── sha256-586.s │ │ │ └── sha512-586.s │ │ ├── whrlpool │ │ │ └── wp-mmx.s │ │ └── x86cpuid.s │ ├── x86-macosx-gas │ │ ├── aes │ │ │ ├── aes-586.s │ │ │ └── aesni-x86.s │ │ ├── bf │ │ │ └── bf-686.s │ │ ├── bn │ │ │ ├── x86-mont.s │ │ │ └── x86.s │ │ ├── camellia │ │ │ └── cmll-x86.s │ │ ├── cast │ │ │ └── cast-586.s │ │ ├── des │ │ │ ├── crypt586.s │ │ │ └── des-586.s │ │ ├── md5 │ │ │ └── md5-586.s │ │ ├── rc4 │ │ │ └── rc4-586.s │ │ ├── rc5 │ │ │ └── rc5-586.s │ │ ├── ripemd │ │ │ └── rmd-586.s │ │ ├── sha │ │ │ ├── sha1-586.s │ │ │ ├── sha256-586.s │ │ │ └── sha512-586.s │ │ ├── whrlpool │ │ │ └── wp-mmx.s │ │ └── x86cpuid.s │ └── x86-win32-masm │ │ ├── aes │ │ ├── aes-586.asm │ │ └── aesni-x86.asm │ │ ├── bf │ │ └── bf-686.asm │ │ ├── bn │ │ ├── x86-mont.asm │ │ └── x86.asm │ │ ├── camellia │ │ └── cmll-x86.asm │ │ ├── cast │ │ └── cast-586.asm │ │ ├── des │ │ ├── crypt586.asm │ │ └── des-586.asm │ │ ├── md5 │ │ └── md5-586.asm │ │ ├── rc4 │ │ └── rc4-586.asm │ │ ├── rc5 │ │ └── rc5-586.asm │ │ ├── ripemd │ │ └── rmd-586.asm │ │ ├── sha │ │ ├── sha1-586.asm │ │ ├── sha256-586.asm │ │ └── sha512-586.asm │ │ ├── whrlpool │ │ └── wp-mmx.asm │ │ └── x86cpuid.asm ├── config │ └── opensslconf.h └── openssl │ ├── ACKNOWLEDGMENTS │ ├── CHANGES │ ├── CHANGES.SSLeay │ ├── Configure │ ├── FAQ │ ├── INSTALL │ ├── INSTALL.DJGPP │ ├── INSTALL.MacOS │ ├── INSTALL.NW │ ├── INSTALL.OS2 │ ├── INSTALL.VMS │ ├── INSTALL.W32 │ ├── INSTALL.W64 │ ├── INSTALL.WCE │ ├── LICENSE │ ├── MacOS │ ├── GUSI_Init.cpp │ ├── GetHTTPS.src │ │ ├── CPStringUtils.cpp │ │ ├── CPStringUtils.hpp │ │ ├── ErrorHandling.cpp │ │ ├── ErrorHandling.hpp │ │ ├── GetHTTPS.cpp │ │ ├── MacSocket.cpp │ │ └── MacSocket.h │ ├── OpenSSL.mcp.hqx │ ├── Randomizer.cpp │ ├── Randomizer.h │ ├── TODO │ ├── _MWERKS_GUSI_prefix.h │ ├── _MWERKS_prefix.h │ ├── buildinf.h │ ├── mklinks.as.hqx │ └── opensslconf.h │ ├── Makefile │ ├── Makefile.org │ ├── Makefile.shared │ ├── NEWS │ ├── Netware │ ├── build.bat │ ├── cpy_tests.bat │ ├── do_tests.pl │ ├── globals.txt │ ├── readme.txt │ └── set_env.bat │ ├── PROBLEMS │ ├── README │ ├── README.ASN1 │ ├── README.ENGINE │ ├── VMS │ ├── TODO │ ├── VMSify-conf.pl │ ├── WISHLIST.TXT │ ├── install-vms.com │ ├── mkshared.com │ ├── multinet_shr.opt │ ├── openssl_startup.com │ ├── openssl_undo.com │ ├── openssl_utils.com │ ├── socketshr_shr.opt │ ├── tcpip_shr_decc.opt │ ├── test-includes.com │ ├── ucx_shr_decc.opt │ ├── ucx_shr_decc_log.opt │ └── ucx_shr_vaxc.opt │ ├── apps │ ├── CA.com │ ├── CA.pl │ ├── CA.pl.in │ ├── CA.sh │ ├── Makefile │ ├── app_rand.c │ ├── apps.c │ ├── apps.h │ ├── asn1pars.c │ ├── ca-cert.srl │ ├── ca-key.pem │ ├── ca-req.pem │ ├── ca.c │ ├── cert.pem │ ├── ciphers.c │ ├── client.pem │ ├── cms.c │ ├── crl.c │ ├── crl2p7.c │ ├── demoCA │ │ ├── cacert.pem │ │ ├── index.txt │ │ ├── private │ │ │ └── cakey.pem │ │ └── serial │ ├── demoSRP │ │ ├── srp_verifier.txt │ │ └── srp_verifier.txt.attr │ ├── dgst.c │ ├── dh.c │ ├── dh1024.pem │ ├── dh2048.pem │ ├── dh4096.pem │ ├── dh512.pem │ ├── dhparam.c │ ├── dsa-ca.pem │ ├── dsa-pca.pem │ ├── dsa.c │ ├── dsa1024.pem │ ├── dsa512.pem │ ├── dsap.pem │ ├── dsaparam.c │ ├── ec.c │ ├── ecparam.c │ ├── enc.c │ ├── engine.c │ ├── errstr.c │ ├── gendh.c │ ├── gendsa.c │ ├── genpkey.c │ ├── genrsa.c │ ├── install-apps.com │ ├── makeapps.com │ ├── md4.c │ ├── nseq.c │ ├── ocsp.c │ ├── oid.cnf │ ├── openssl-vms.cnf │ ├── openssl.c │ ├── openssl.cnf │ ├── passwd.c │ ├── pca-cert.srl │ ├── pca-key.pem │ ├── pca-req.pem │ ├── pkcs12.c │ ├── pkcs7.c │ ├── pkcs8.c │ ├── pkey.c │ ├── pkeyparam.c │ ├── pkeyutl.c │ ├── prime.c │ ├── privkey.pem │ ├── progs.h │ ├── progs.pl │ ├── rand.c │ ├── req.c │ ├── req.pem │ ├── rsa.c │ ├── rsa8192.pem │ ├── rsautl.c │ ├── s1024key.pem │ ├── s1024req.pem │ ├── s512-key.pem │ ├── s512-req.pem │ ├── s_apps.h │ ├── s_cb.c │ ├── s_client.c │ ├── s_server.c │ ├── s_socket.c │ ├── s_time.c │ ├── server.pem │ ├── server.srl │ ├── server2.pem │ ├── sess_id.c │ ├── set │ │ ├── set-g-ca.pem │ │ ├── set-m-ca.pem │ │ ├── set_b_ca.pem │ │ ├── set_c_ca.pem │ │ ├── set_d_ct.pem │ │ └── set_root.pem │ ├── smime.c │ ├── speed.c │ ├── spkac.c │ ├── srp.c │ ├── testCA.pem │ ├── testdsa.h │ ├── testrsa.h │ ├── timeouts.h │ ├── ts.c │ ├── tsget │ ├── verify.c │ ├── version.c │ ├── vms_decc_init.c │ ├── winrand.c │ └── x509.c │ ├── bugs │ ├── MS │ ├── SSLv3 │ ├── alpha.c │ ├── dggccbug.c │ ├── sgiccbug.c │ ├── sslref.dif │ ├── stream.c │ └── ultrixcc.c │ ├── certs │ ├── README.RootCerts │ ├── demo │ │ ├── ca-cert.pem │ │ ├── dsa-ca.pem │ │ ├── dsa-pca.pem │ │ └── pca-cert.pem │ └── expired │ │ └── ICE.crl │ ├── config │ ├── crypto │ ├── LPdir_nyi.c │ ├── LPdir_unix.c │ ├── LPdir_vms.c │ ├── LPdir_win.c │ ├── LPdir_win32.c │ ├── LPdir_wince.c │ ├── Makefile │ ├── aes │ │ ├── Makefile │ │ ├── README │ │ ├── aes.h │ │ ├── aes_cbc.c │ │ ├── aes_cfb.c │ │ ├── aes_core.c │ │ ├── aes_ctr.c │ │ ├── aes_ecb.c │ │ ├── aes_ige.c │ │ ├── aes_locl.h │ │ ├── aes_misc.c │ │ ├── aes_ofb.c │ │ ├── aes_wrap.c │ │ ├── aes_x86core.c │ │ └── asm │ │ │ ├── aes-586.pl │ │ │ ├── aes-armv4.pl │ │ │ ├── aes-ia64.S │ │ │ ├── aes-mips.pl │ │ │ ├── aes-parisc.pl │ │ │ ├── aes-ppc.pl │ │ │ ├── aes-s390x.pl │ │ │ ├── aes-sparcv9.pl │ │ │ ├── aes-x86_64.pl │ │ │ ├── aesni-sha1-x86_64.pl │ │ │ ├── aesni-x86.pl │ │ │ ├── aesni-x86_64.pl │ │ │ ├── bsaes-x86_64.pl │ │ │ ├── vpaes-x86.pl │ │ │ └── vpaes-x86_64.pl │ ├── alphacpuid.pl │ ├── arm_arch.h │ ├── armcap.c │ ├── armv4cpuid.S │ ├── asn1 │ │ ├── Makefile │ │ ├── a_bitstr.c │ │ ├── a_bool.c │ │ ├── a_bytes.c │ │ ├── a_d2i_fp.c │ │ ├── a_digest.c │ │ ├── a_dup.c │ │ ├── a_enum.c │ │ ├── a_gentm.c │ │ ├── a_i2d_fp.c │ │ ├── a_int.c │ │ ├── a_mbstr.c │ │ ├── a_object.c │ │ ├── a_octet.c │ │ ├── a_print.c │ │ ├── a_set.c │ │ ├── a_sign.c │ │ ├── a_strex.c │ │ ├── a_strnid.c │ │ ├── a_time.c │ │ ├── a_type.c │ │ ├── a_utctm.c │ │ ├── a_utf8.c │ │ ├── a_verify.c │ │ ├── ameth_lib.c │ │ ├── asn1.h │ │ ├── asn1_err.c │ │ ├── asn1_gen.c │ │ ├── asn1_lib.c │ │ ├── asn1_locl.h │ │ ├── asn1_mac.h │ │ ├── asn1_par.c │ │ ├── asn1t.h │ │ ├── asn_mime.c │ │ ├── asn_moid.c │ │ ├── asn_pack.c │ │ ├── bio_asn1.c │ │ ├── bio_ndef.c │ │ ├── charmap.h │ │ ├── charmap.pl │ │ ├── d2i_pr.c │ │ ├── d2i_pu.c │ │ ├── evp_asn1.c │ │ ├── f_enum.c │ │ ├── f_int.c │ │ ├── f_string.c │ │ ├── i2d_pr.c │ │ ├── i2d_pu.c │ │ ├── n_pkey.c │ │ ├── nsseq.c │ │ ├── p5_pbe.c │ │ ├── p5_pbev2.c │ │ ├── p8_pkey.c │ │ ├── t_bitst.c │ │ ├── t_crl.c │ │ ├── t_pkey.c │ │ ├── t_req.c │ │ ├── t_spki.c │ │ ├── t_x509.c │ │ ├── t_x509a.c │ │ ├── tasn_dec.c │ │ ├── tasn_enc.c │ │ ├── tasn_fre.c │ │ ├── tasn_new.c │ │ ├── tasn_prn.c │ │ ├── tasn_typ.c │ │ ├── tasn_utl.c │ │ ├── x_algor.c │ │ ├── x_attrib.c │ │ ├── x_bignum.c │ │ ├── x_crl.c │ │ ├── x_exten.c │ │ ├── x_info.c │ │ ├── x_long.c │ │ ├── x_name.c │ │ ├── x_nx509.c │ │ ├── x_pkey.c │ │ ├── x_pubkey.c │ │ ├── x_req.c │ │ ├── x_sig.c │ │ ├── x_spki.c │ │ ├── x_val.c │ │ ├── x_x509.c │ │ └── x_x509a.c │ ├── bf │ │ ├── COPYRIGHT │ │ ├── INSTALL │ │ ├── Makefile │ │ ├── README │ │ ├── VERSION │ │ ├── asm │ │ │ ├── bf-586.pl │ │ │ ├── bf-686.pl │ │ │ └── readme │ │ ├── bf_cbc.c │ │ ├── bf_cfb64.c │ │ ├── bf_ecb.c │ │ ├── bf_enc.c │ │ ├── bf_locl.h │ │ ├── bf_ofb64.c │ │ ├── bf_opts.c │ │ ├── bf_pi.h │ │ ├── bf_skey.c │ │ ├── bfs.cpp │ │ ├── bfspeed.c │ │ ├── bftest.c │ │ └── blowfish.h │ ├── bio │ │ ├── Makefile │ │ ├── b_dump.c │ │ ├── b_print.c │ │ ├── b_sock.c │ │ ├── bf_buff.c │ │ ├── bf_lbuf.c │ │ ├── bf_nbio.c │ │ ├── bf_null.c │ │ ├── bio.h │ │ ├── bio_cb.c │ │ ├── bio_err.c │ │ ├── bio_lcl.h │ │ ├── bio_lib.c │ │ ├── bss_acpt.c │ │ ├── bss_bio.c │ │ ├── bss_conn.c │ │ ├── bss_dgram.c │ │ ├── bss_fd.c │ │ ├── bss_file.c │ │ ├── bss_log.c │ │ ├── bss_mem.c │ │ ├── bss_null.c │ │ ├── bss_rtcp.c │ │ └── bss_sock.c │ ├── bn │ │ ├── Makefile │ │ ├── asm │ │ │ ├── README │ │ │ ├── alpha-mont.pl │ │ │ ├── armv4-gf2m.pl │ │ │ ├── armv4-mont.pl │ │ │ ├── bn-586.pl │ │ │ ├── co-586.pl │ │ │ ├── ia64-mont.pl │ │ │ ├── ia64.S │ │ │ ├── mips-mont.pl │ │ │ ├── mips.pl │ │ │ ├── mips3-mont.pl │ │ │ ├── mips3.s │ │ │ ├── modexp512-x86_64.pl │ │ │ ├── pa-risc2.s │ │ │ ├── pa-risc2W.s │ │ │ ├── parisc-mont.pl │ │ │ ├── ppc-mont.pl │ │ │ ├── ppc.pl │ │ │ ├── ppc64-mont.pl │ │ │ ├── s390x-gf2m.pl │ │ │ ├── s390x-mont.pl │ │ │ ├── s390x.S │ │ │ ├── sparcv8.S │ │ │ ├── sparcv8plus.S │ │ │ ├── sparcv9-mont.pl │ │ │ ├── sparcv9a-mont.pl │ │ │ ├── via-mont.pl │ │ │ ├── vms.mar │ │ │ ├── x86-gf2m.pl │ │ │ ├── x86-mont.pl │ │ │ ├── x86.pl │ │ │ ├── x86 │ │ │ │ ├── add.pl │ │ │ │ ├── comba.pl │ │ │ │ ├── div.pl │ │ │ │ ├── f │ │ │ │ ├── mul.pl │ │ │ │ ├── mul_add.pl │ │ │ │ ├── sqr.pl │ │ │ │ └── sub.pl │ │ │ ├── x86_64-gcc.c │ │ │ ├── x86_64-gf2m.pl │ │ │ ├── x86_64-mont.pl │ │ │ ├── x86_64-mont5.pl │ │ │ └── x86_64-win32-masm.asm │ │ ├── bn.h │ │ ├── bn.mul │ │ ├── bn_add.c │ │ ├── bn_asm.c │ │ ├── bn_blind.c │ │ ├── bn_const.c │ │ ├── bn_ctx.c │ │ ├── bn_depr.c │ │ ├── bn_div.c │ │ ├── bn_err.c │ │ ├── bn_exp.c │ │ ├── bn_exp2.c │ │ ├── bn_gcd.c │ │ ├── bn_gf2m.c │ │ ├── bn_kron.c │ │ ├── bn_lcl.h │ │ ├── bn_lib.c │ │ ├── bn_mod.c │ │ ├── bn_mont.c │ │ ├── bn_mpi.c │ │ ├── bn_mul.c │ │ ├── bn_nist.c │ │ ├── bn_prime.c │ │ ├── bn_prime.h │ │ ├── bn_prime.pl │ │ ├── bn_print.c │ │ ├── bn_rand.c │ │ ├── bn_recp.c │ │ ├── bn_shift.c │ │ ├── bn_sqr.c │ │ ├── bn_sqrt.c │ │ ├── bn_word.c │ │ ├── bn_x931p.c │ │ ├── bnspeed.c │ │ ├── bntest.c │ │ ├── divtest.c │ │ ├── exp.c │ │ ├── expspeed.c │ │ ├── exptest.c │ │ ├── todo │ │ └── vms-helper.c │ ├── buffer │ │ ├── Makefile │ │ ├── buf_err.c │ │ ├── buf_str.c │ │ ├── buffer.c │ │ └── buffer.h │ ├── camellia │ │ ├── Makefile │ │ ├── asm │ │ │ ├── cmll-x86.pl │ │ │ └── cmll-x86_64.pl │ │ ├── camellia.c │ │ ├── camellia.h │ │ ├── cmll_cbc.c │ │ ├── cmll_cfb.c │ │ ├── cmll_ctr.c │ │ ├── cmll_ecb.c │ │ ├── cmll_locl.h │ │ ├── cmll_misc.c │ │ ├── cmll_ofb.c │ │ └── cmll_utl.c │ ├── cast │ │ ├── Makefile │ │ ├── asm │ │ │ ├── cast-586.pl │ │ │ └── readme │ │ ├── c_cfb64.c │ │ ├── c_ecb.c │ │ ├── c_enc.c │ │ ├── c_ofb64.c │ │ ├── c_skey.c │ │ ├── cast.h │ │ ├── cast_lcl.h │ │ ├── cast_s.h │ │ ├── cast_spd.c │ │ ├── castopts.c │ │ ├── casts.cpp │ │ └── casttest.c │ ├── cmac │ │ ├── Makefile │ │ ├── cm_ameth.c │ │ ├── cm_pmeth.c │ │ ├── cmac.c │ │ └── cmac.h │ ├── cms │ │ ├── Makefile │ │ ├── cms.h │ │ ├── cms_asn1.c │ │ ├── cms_att.c │ │ ├── cms_cd.c │ │ ├── cms_dd.c │ │ ├── cms_enc.c │ │ ├── cms_env.c │ │ ├── cms_err.c │ │ ├── cms_ess.c │ │ ├── cms_io.c │ │ ├── cms_lcl.h │ │ ├── cms_lib.c │ │ ├── cms_pwri.c │ │ ├── cms_sd.c │ │ └── cms_smime.c │ ├── comp │ │ ├── Makefile │ │ ├── c_rle.c │ │ ├── c_zlib.c │ │ ├── comp.h │ │ ├── comp_err.c │ │ └── comp_lib.c │ ├── conf │ │ ├── Makefile │ │ ├── README │ │ ├── cnf_save.c │ │ ├── conf.h │ │ ├── conf_api.c │ │ ├── conf_api.h │ │ ├── conf_def.c │ │ ├── conf_def.h │ │ ├── conf_err.c │ │ ├── conf_lib.c │ │ ├── conf_mall.c │ │ ├── conf_mod.c │ │ ├── conf_sap.c │ │ ├── keysets.pl │ │ ├── ssleay.cnf │ │ └── test.c │ ├── cpt_err.c │ ├── cryptlib.c │ ├── cryptlib.h │ ├── crypto-lib.com │ ├── crypto.h │ ├── cversion.c │ ├── des │ │ ├── COPYRIGHT │ │ ├── DES.pm │ │ ├── DES.xs │ │ ├── FILES0 │ │ ├── INSTALL │ │ ├── Imakefile │ │ ├── KERBEROS │ │ ├── Makefile │ │ ├── README │ │ ├── VERSION │ │ ├── asm │ │ │ ├── crypt586.pl │ │ │ ├── des-586.pl │ │ │ ├── des_enc.m4 │ │ │ ├── desboth.pl │ │ │ └── readme │ │ ├── cbc3_enc.c │ │ ├── cbc_cksm.c │ │ ├── cbc_enc.c │ │ ├── cfb64ede.c │ │ ├── cfb64enc.c │ │ ├── cfb_enc.c │ │ ├── des-lib.com │ │ ├── des.c │ │ ├── des.h │ │ ├── des.pod │ │ ├── des3s.cpp │ │ ├── des_enc.c │ │ ├── des_locl.h │ │ ├── des_old.c │ │ ├── des_old.h │ │ ├── des_old2.c │ │ ├── des_opts.c │ │ ├── des_ver.h │ │ ├── dess.cpp │ │ ├── destest.c │ │ ├── ecb3_enc.c │ │ ├── ecb_enc.c │ │ ├── ede_cbcm_enc.c │ │ ├── enc_read.c │ │ ├── enc_writ.c │ │ ├── fcrypt.c │ │ ├── fcrypt_b.c │ │ ├── makefile.bc │ │ ├── ncbc_enc.c │ │ ├── ofb64ede.c │ │ ├── ofb64enc.c │ │ ├── ofb_enc.c │ │ ├── options.txt │ │ ├── pcbc_enc.c │ │ ├── qud_cksm.c │ │ ├── rand_key.c │ │ ├── read2pwd.c │ │ ├── read_pwd.c │ │ ├── rpc_des.h │ │ ├── rpc_enc.c │ │ ├── rpw.c │ │ ├── set_key.c │ │ ├── speed.c │ │ ├── spr.h │ │ ├── str2key.c │ │ ├── t │ │ │ └── test │ │ ├── times │ │ │ ├── 486-50.sol │ │ │ ├── 586-100.lnx │ │ │ ├── 686-200.fre │ │ │ ├── aix.cc │ │ │ ├── alpha.cc │ │ │ ├── hpux.cc │ │ │ ├── sparc.gcc │ │ │ └── usparc.cc │ │ ├── typemap │ │ └── xcbc_enc.c │ ├── dh │ │ ├── Makefile │ │ ├── dh.h │ │ ├── dh1024.pem │ │ ├── dh192.pem │ │ ├── dh2048.pem │ │ ├── dh4096.pem │ │ ├── dh512.pem │ │ ├── dh_ameth.c │ │ ├── dh_asn1.c │ │ ├── dh_check.c │ │ ├── dh_depr.c │ │ ├── dh_err.c │ │ ├── dh_gen.c │ │ ├── dh_key.c │ │ ├── dh_lib.c │ │ ├── dh_pmeth.c │ │ ├── dh_prn.c │ │ ├── dhtest.c │ │ ├── example │ │ ├── generate │ │ ├── p1024.c │ │ ├── p192.c │ │ └── p512.c │ ├── dsa │ │ ├── Makefile │ │ ├── README │ │ ├── dsa.h │ │ ├── dsa_ameth.c │ │ ├── dsa_asn1.c │ │ ├── dsa_depr.c │ │ ├── dsa_err.c │ │ ├── dsa_gen.c │ │ ├── dsa_key.c │ │ ├── dsa_lib.c │ │ ├── dsa_locl.h │ │ ├── dsa_ossl.c │ │ ├── dsa_pmeth.c │ │ ├── dsa_prn.c │ │ ├── dsa_sign.c │ │ ├── dsa_vrf.c │ │ ├── dsagen.c │ │ ├── dsatest.c │ │ └── fips186a.txt │ ├── dso │ │ ├── Makefile │ │ ├── README │ │ ├── dso.h │ │ ├── dso_beos.c │ │ ├── dso_dl.c │ │ ├── dso_dlfcn.c │ │ ├── dso_err.c │ │ ├── dso_lib.c │ │ ├── dso_null.c │ │ ├── dso_openssl.c │ │ ├── dso_vms.c │ │ └── dso_win32.c │ ├── ebcdic.c │ ├── ebcdic.h │ ├── ec │ │ ├── Makefile │ │ ├── ec.h │ │ ├── ec2_mult.c │ │ ├── ec2_oct.c │ │ ├── ec2_smpl.c │ │ ├── ec_ameth.c │ │ ├── ec_asn1.c │ │ ├── ec_check.c │ │ ├── ec_curve.c │ │ ├── ec_cvt.c │ │ ├── ec_err.c │ │ ├── ec_key.c │ │ ├── ec_lcl.h │ │ ├── ec_lib.c │ │ ├── ec_mult.c │ │ ├── ec_oct.c │ │ ├── ec_pmeth.c │ │ ├── ec_print.c │ │ ├── eck_prn.c │ │ ├── ecp_mont.c │ │ ├── ecp_nist.c │ │ ├── ecp_nistp224.c │ │ ├── ecp_nistp256.c │ │ ├── ecp_nistp521.c │ │ ├── ecp_nistputil.c │ │ ├── ecp_oct.c │ │ ├── ecp_smpl.c │ │ └── ectest.c │ ├── ecdh │ │ ├── Makefile │ │ ├── ecdh.h │ │ ├── ecdhtest.c │ │ ├── ech_err.c │ │ ├── ech_key.c │ │ ├── ech_lib.c │ │ ├── ech_locl.h │ │ └── ech_ossl.c │ ├── ecdsa │ │ ├── Makefile │ │ ├── ecdsa.h │ │ ├── ecdsatest.c │ │ ├── ecs_asn1.c │ │ ├── ecs_err.c │ │ ├── ecs_lib.c │ │ ├── ecs_locl.h │ │ ├── ecs_ossl.c │ │ ├── ecs_sign.c │ │ └── ecs_vrf.c │ ├── engine │ │ ├── Makefile │ │ ├── README │ │ ├── eng_all.c │ │ ├── eng_cnf.c │ │ ├── eng_cryptodev.c │ │ ├── eng_ctrl.c │ │ ├── eng_dyn.c │ │ ├── eng_err.c │ │ ├── eng_fat.c │ │ ├── eng_init.c │ │ ├── eng_int.h │ │ ├── eng_lib.c │ │ ├── eng_list.c │ │ ├── eng_openssl.c │ │ ├── eng_pkey.c │ │ ├── eng_rdrand.c │ │ ├── eng_rsax.c │ │ ├── eng_table.c │ │ ├── engine.h │ │ ├── enginetest.c │ │ ├── tb_asnmth.c │ │ ├── tb_cipher.c │ │ ├── tb_dh.c │ │ ├── tb_digest.c │ │ ├── tb_dsa.c │ │ ├── tb_ecdh.c │ │ ├── tb_ecdsa.c │ │ ├── tb_pkmeth.c │ │ ├── tb_rand.c │ │ ├── tb_rsa.c │ │ └── tb_store.c │ ├── err │ │ ├── Makefile │ │ ├── err.c │ │ ├── err.h │ │ ├── err_all.c │ │ ├── err_prn.c │ │ └── openssl.ec │ ├── evp │ │ ├── Makefile │ │ ├── bio_b64.c │ │ ├── bio_enc.c │ │ ├── bio_md.c │ │ ├── bio_ok.c │ │ ├── c_all.c │ │ ├── c_allc.c │ │ ├── c_alld.c │ │ ├── digest.c │ │ ├── e_aes.c │ │ ├── e_aes_cbc_hmac_sha1.c │ │ ├── e_bf.c │ │ ├── e_camellia.c │ │ ├── e_cast.c │ │ ├── e_des.c │ │ ├── e_des3.c │ │ ├── e_dsa.c │ │ ├── e_idea.c │ │ ├── e_null.c │ │ ├── e_old.c │ │ ├── e_rc2.c │ │ ├── e_rc4.c │ │ ├── e_rc4_hmac_md5.c │ │ ├── e_rc5.c │ │ ├── e_seed.c │ │ ├── e_xcbc_d.c │ │ ├── encode.c │ │ ├── evp.h │ │ ├── evp_acnf.c │ │ ├── evp_cnf.c │ │ ├── evp_enc.c │ │ ├── evp_err.c │ │ ├── evp_fips.c │ │ ├── evp_key.c │ │ ├── evp_lib.c │ │ ├── evp_locl.h │ │ ├── evp_pbe.c │ │ ├── evp_pkey.c │ │ ├── evp_test.c │ │ ├── evptests.txt │ │ ├── m_dss.c │ │ ├── m_dss1.c │ │ ├── m_ecdsa.c │ │ ├── m_md2.c │ │ ├── m_md4.c │ │ ├── m_md5.c │ │ ├── m_mdc2.c │ │ ├── m_null.c │ │ ├── m_ripemd.c │ │ ├── m_sha.c │ │ ├── m_sha1.c │ │ ├── m_sigver.c │ │ ├── m_wp.c │ │ ├── names.c │ │ ├── openbsd_hw.c │ │ ├── p5_crpt.c │ │ ├── p5_crpt2.c │ │ ├── p_dec.c │ │ ├── p_enc.c │ │ ├── p_lib.c │ │ ├── p_open.c │ │ ├── p_seal.c │ │ ├── p_sign.c │ │ ├── p_verify.c │ │ ├── pmeth_fn.c │ │ ├── pmeth_gn.c │ │ └── pmeth_lib.c │ ├── ex_data.c │ ├── fips_err.h │ ├── fips_ers.c │ ├── hmac │ │ ├── Makefile │ │ ├── hm_ameth.c │ │ ├── hm_pmeth.c │ │ ├── hmac.c │ │ ├── hmac.h │ │ └── hmactest.c │ ├── ia64cpuid.S │ ├── idea │ │ ├── Makefile │ │ ├── i_cbc.c │ │ ├── i_cfb64.c │ │ ├── i_ecb.c │ │ ├── i_ofb64.c │ │ ├── i_skey.c │ │ ├── idea.h │ │ ├── idea_lcl.h │ │ ├── idea_spd.c │ │ ├── ideatest.c │ │ └── version │ ├── install-crypto.com │ ├── jpake │ │ ├── Makefile │ │ ├── jpake.c │ │ ├── jpake.h │ │ ├── jpake_err.c │ │ └── jpaketest.c │ ├── krb5 │ │ ├── Makefile │ │ ├── krb5_asn.c │ │ └── krb5_asn.h │ ├── lhash │ │ ├── Makefile │ │ ├── lh_stats.c │ │ ├── lh_test.c │ │ ├── lhash.c │ │ ├── lhash.h │ │ └── num.pl │ ├── md2 │ │ ├── Makefile │ │ ├── md2.c │ │ ├── md2.h │ │ ├── md2_dgst.c │ │ ├── md2_one.c │ │ └── md2test.c │ ├── md32_common.h │ ├── md4 │ │ ├── Makefile │ │ ├── md4.c │ │ ├── md4.h │ │ ├── md4_dgst.c │ │ ├── md4_locl.h │ │ ├── md4_one.c │ │ ├── md4s.cpp │ │ └── md4test.c │ ├── md5 │ │ ├── Makefile │ │ ├── asm │ │ │ ├── md5-586.pl │ │ │ ├── md5-ia64.S │ │ │ └── md5-x86_64.pl │ │ ├── md5.c │ │ ├── md5.h │ │ ├── md5_dgst.c │ │ ├── md5_locl.h │ │ ├── md5_one.c │ │ ├── md5s.cpp │ │ └── md5test.c │ ├── mdc2 │ │ ├── Makefile │ │ ├── mdc2.h │ │ ├── mdc2_one.c │ │ ├── mdc2dgst.c │ │ └── mdc2test.c │ ├── mem.c │ ├── mem_clr.c │ ├── mem_dbg.c │ ├── modes │ │ ├── Makefile │ │ ├── asm │ │ │ ├── ghash-alpha.pl │ │ │ ├── ghash-armv4.pl │ │ │ ├── ghash-ia64.pl │ │ │ ├── ghash-parisc.pl │ │ │ ├── ghash-s390x.pl │ │ │ ├── ghash-sparcv9.pl │ │ │ ├── ghash-x86.pl │ │ │ └── ghash-x86_64.pl │ │ ├── cbc128.c │ │ ├── ccm128.c │ │ ├── cfb128.c │ │ ├── ctr128.c │ │ ├── cts128.c │ │ ├── gcm128.c │ │ ├── modes.h │ │ ├── modes_lcl.h │ │ ├── ofb128.c │ │ └── xts128.c │ ├── o_dir.c │ ├── o_dir.h │ ├── o_dir_test.c │ ├── o_fips.c │ ├── o_init.c │ ├── o_str.c │ ├── o_str.h │ ├── o_time.c │ ├── o_time.h │ ├── objects │ │ ├── Makefile │ │ ├── o_names.c │ │ ├── obj_dat.c │ │ ├── obj_dat.h │ │ ├── obj_dat.pl │ │ ├── obj_err.c │ │ ├── obj_lib.c │ │ ├── obj_mac.h │ │ ├── obj_mac.num │ │ ├── obj_xref.c │ │ ├── obj_xref.h │ │ ├── obj_xref.txt │ │ ├── objects.README │ │ ├── objects.h │ │ ├── objects.pl │ │ ├── objects.txt │ │ └── objxref.pl │ ├── ocsp │ │ ├── Makefile │ │ ├── ocsp.h │ │ ├── ocsp_asn.c │ │ ├── ocsp_cl.c │ │ ├── ocsp_err.c │ │ ├── ocsp_ext.c │ │ ├── ocsp_ht.c │ │ ├── ocsp_lib.c │ │ ├── ocsp_prn.c │ │ ├── ocsp_srv.c │ │ └── ocsp_vfy.c │ ├── opensslconf.h │ ├── opensslconf.h.in │ ├── opensslv.h │ ├── ossl_typ.h │ ├── pariscid.pl │ ├── pem │ │ ├── Makefile │ │ ├── message │ │ ├── pem.h │ │ ├── pem2.h │ │ ├── pem_all.c │ │ ├── pem_err.c │ │ ├── pem_info.c │ │ ├── pem_lib.c │ │ ├── pem_oth.c │ │ ├── pem_pk8.c │ │ ├── pem_pkey.c │ │ ├── pem_seal.c │ │ ├── pem_sign.c │ │ ├── pem_x509.c │ │ ├── pem_xaux.c │ │ ├── pkcs7.lis │ │ └── pvkfmt.c │ ├── perlasm │ │ ├── cbc.pl │ │ ├── ppc-xlate.pl │ │ ├── readme │ │ ├── x86_64-xlate.pl │ │ ├── x86asm.pl │ │ ├── x86gas.pl │ │ ├── x86masm.pl │ │ └── x86nasm.pl │ ├── pkcs12 │ │ ├── Makefile │ │ ├── p12_add.c │ │ ├── p12_asn.c │ │ ├── p12_attr.c │ │ ├── p12_crpt.c │ │ ├── p12_crt.c │ │ ├── p12_decr.c │ │ ├── p12_init.c │ │ ├── p12_key.c │ │ ├── p12_kiss.c │ │ ├── p12_mutl.c │ │ ├── p12_npas.c │ │ ├── p12_p8d.c │ │ ├── p12_p8e.c │ │ ├── p12_utl.c │ │ ├── pk12err.c │ │ └── pkcs12.h │ ├── pkcs7 │ │ ├── Makefile │ │ ├── bio_ber.c │ │ ├── bio_pk7.c │ │ ├── dec.c │ │ ├── des.pem │ │ ├── doc │ │ ├── enc.c │ │ ├── es1.pem │ │ ├── example.c │ │ ├── example.h │ │ ├── info.pem │ │ ├── infokey.pem │ │ ├── p7 │ │ │ ├── a1 │ │ │ ├── a2 │ │ │ ├── cert.p7c │ │ │ ├── smime.p7m │ │ │ └── smime.p7s │ │ ├── pk7_asn1.c │ │ ├── pk7_attr.c │ │ ├── pk7_dgst.c │ │ ├── pk7_doit.c │ │ ├── pk7_enc.c │ │ ├── pk7_lib.c │ │ ├── pk7_mime.c │ │ ├── pk7_smime.c │ │ ├── pkcs7.h │ │ ├── pkcs7err.c │ │ ├── server.pem │ │ ├── sign.c │ │ ├── t │ │ │ ├── 3des.pem │ │ │ ├── 3dess.pem │ │ │ ├── c.pem │ │ │ ├── ff │ │ │ ├── msie-e │ │ │ ├── msie-e.pem │ │ │ ├── msie-enc-01 │ │ │ ├── msie-enc-01.pem │ │ │ ├── msie-enc-02 │ │ │ ├── msie-enc-02.pem │ │ │ ├── msie-s-a-e │ │ │ ├── msie-s-a-e.pem │ │ │ ├── nav-smime │ │ │ ├── s.pem │ │ │ └── server.pem │ │ └── verify.c │ ├── ppccap.c │ ├── ppccpuid.pl │ ├── pqueue │ │ ├── Makefile │ │ ├── pq_test.c │ │ ├── pqueue.c │ │ └── pqueue.h │ ├── rand │ │ ├── Makefile │ │ ├── md_rand.c │ │ ├── rand.h │ │ ├── rand_egd.c │ │ ├── rand_err.c │ │ ├── rand_lcl.h │ │ ├── rand_lib.c │ │ ├── rand_nw.c │ │ ├── rand_os2.c │ │ ├── rand_unix.c │ │ ├── rand_vms.c │ │ ├── rand_win.c │ │ ├── randfile.c │ │ └── randtest.c │ ├── rc2 │ │ ├── Makefile │ │ ├── rc2.h │ │ ├── rc2_cbc.c │ │ ├── rc2_ecb.c │ │ ├── rc2_locl.h │ │ ├── rc2_skey.c │ │ ├── rc2cfb64.c │ │ ├── rc2ofb64.c │ │ ├── rc2speed.c │ │ ├── rc2test.c │ │ ├── rrc2.doc │ │ ├── tab.c │ │ └── version │ ├── rc4 │ │ ├── Makefile │ │ ├── asm │ │ │ ├── rc4-586.pl │ │ │ ├── rc4-ia64.pl │ │ │ ├── rc4-md5-x86_64.pl │ │ │ ├── rc4-parisc.pl │ │ │ ├── rc4-s390x.pl │ │ │ └── rc4-x86_64.pl │ │ ├── rc4.c │ │ ├── rc4.h │ │ ├── rc4_enc.c │ │ ├── rc4_locl.h │ │ ├── rc4_skey.c │ │ ├── rc4_utl.c │ │ ├── rc4s.cpp │ │ ├── rc4speed.c │ │ ├── rc4test.c │ │ └── rrc4.doc │ ├── rc5 │ │ ├── Makefile │ │ ├── asm │ │ │ └── rc5-586.pl │ │ ├── rc5.h │ │ ├── rc5_ecb.c │ │ ├── rc5_enc.c │ │ ├── rc5_locl.h │ │ ├── rc5_skey.c │ │ ├── rc5cfb64.c │ │ ├── rc5ofb64.c │ │ ├── rc5s.cpp │ │ ├── rc5speed.c │ │ └── rc5test.c │ ├── ripemd │ │ ├── Makefile │ │ ├── README │ │ ├── asm │ │ │ ├── rips.cpp │ │ │ └── rmd-586.pl │ │ ├── ripemd.h │ │ ├── rmd160.c │ │ ├── rmd_dgst.c │ │ ├── rmd_locl.h │ │ ├── rmd_one.c │ │ ├── rmdconst.h │ │ └── rmdtest.c │ ├── rsa │ │ ├── Makefile │ │ ├── rsa.h │ │ ├── rsa_ameth.c │ │ ├── rsa_asn1.c │ │ ├── rsa_chk.c │ │ ├── rsa_crpt.c │ │ ├── rsa_depr.c │ │ ├── rsa_eay.c │ │ ├── rsa_err.c │ │ ├── rsa_gen.c │ │ ├── rsa_lib.c │ │ ├── rsa_locl.h │ │ ├── rsa_none.c │ │ ├── rsa_null.c │ │ ├── rsa_oaep.c │ │ ├── rsa_pk1.c │ │ ├── rsa_pmeth.c │ │ ├── rsa_prn.c │ │ ├── rsa_pss.c │ │ ├── rsa_saos.c │ │ ├── rsa_sign.c │ │ ├── rsa_ssl.c │ │ ├── rsa_test.c │ │ └── rsa_x931.c │ ├── s390xcap.c │ ├── s390xcpuid.S │ ├── seed │ │ ├── Makefile │ │ ├── seed.c │ │ ├── seed.h │ │ ├── seed_cbc.c │ │ ├── seed_cfb.c │ │ ├── seed_ecb.c │ │ ├── seed_locl.h │ │ └── seed_ofb.c │ ├── sha │ │ ├── Makefile │ │ ├── asm │ │ │ ├── README │ │ │ ├── sha1-586.pl │ │ │ ├── sha1-alpha.pl │ │ │ ├── sha1-armv4-large.pl │ │ │ ├── sha1-ia64.pl │ │ │ ├── sha1-mips.pl │ │ │ ├── sha1-parisc.pl │ │ │ ├── sha1-ppc.pl │ │ │ ├── sha1-s390x.pl │ │ │ ├── sha1-sparcv9.pl │ │ │ ├── sha1-sparcv9a.pl │ │ │ ├── sha1-thumb.pl │ │ │ ├── sha1-x86_64.pl │ │ │ ├── sha256-586.pl │ │ │ ├── sha256-armv4.pl │ │ │ ├── sha512-586.pl │ │ │ ├── sha512-armv4.pl │ │ │ ├── sha512-ia64.pl │ │ │ ├── sha512-mips.pl │ │ │ ├── sha512-parisc.pl │ │ │ ├── sha512-ppc.pl │ │ │ ├── sha512-s390x.pl │ │ │ ├── sha512-sparcv9.pl │ │ │ └── sha512-x86_64.pl │ │ ├── sha.c │ │ ├── sha.h │ │ ├── sha1.c │ │ ├── sha1_one.c │ │ ├── sha1dgst.c │ │ ├── sha1test.c │ │ ├── sha256.c │ │ ├── sha256t.c │ │ ├── sha512.c │ │ ├── sha512t.c │ │ ├── sha_dgst.c │ │ ├── sha_locl.h │ │ ├── sha_one.c │ │ └── shatest.c │ ├── sparccpuid.S │ ├── sparcv9cap.c │ ├── srp │ │ ├── Makefile │ │ ├── srp.h │ │ ├── srp_grps.h │ │ ├── srp_lcl.h │ │ ├── srp_lib.c │ │ ├── srp_vfy.c │ │ └── srptest.c │ ├── stack │ │ ├── Makefile │ │ ├── safestack.h │ │ ├── stack.c │ │ └── stack.h │ ├── store │ │ ├── Makefile │ │ ├── README │ │ ├── store.h │ │ ├── str_err.c │ │ ├── str_lib.c │ │ ├── str_locl.h │ │ ├── str_mem.c │ │ └── str_meth.c │ ├── symhacks.h │ ├── threads │ │ ├── README │ │ ├── mttest.c │ │ ├── netware.bat │ │ ├── profile.sh │ │ ├── ptest.bat │ │ ├── pthread.sh │ │ ├── pthread2.sh │ │ ├── pthreads-vms.com │ │ ├── purify.sh │ │ ├── solaris.sh │ │ ├── th-lock.c │ │ └── win32.bat │ ├── ts │ │ ├── Makefile │ │ ├── ts.h │ │ ├── ts_asn1.c │ │ ├── ts_conf.c │ │ ├── ts_err.c │ │ ├── ts_lib.c │ │ ├── ts_req_print.c │ │ ├── ts_req_utils.c │ │ ├── ts_rsp_print.c │ │ ├── ts_rsp_sign.c │ │ ├── ts_rsp_utils.c │ │ ├── ts_rsp_verify.c │ │ └── ts_verify_ctx.c │ ├── txt_db │ │ ├── Makefile │ │ ├── txt_db.c │ │ └── txt_db.h │ ├── ui │ │ ├── Makefile │ │ ├── ui.h │ │ ├── ui_compat.c │ │ ├── ui_compat.h │ │ ├── ui_err.c │ │ ├── ui_lib.c │ │ ├── ui_locl.h │ │ ├── ui_openssl.c │ │ └── ui_util.c │ ├── uid.c │ ├── vms_rms.h │ ├── whrlpool │ │ ├── Makefile │ │ ├── asm │ │ │ ├── wp-mmx.pl │ │ │ └── wp-x86_64.pl │ │ ├── whrlpool.h │ │ ├── wp_block.c │ │ ├── wp_dgst.c │ │ ├── wp_locl.h │ │ └── wp_test.c │ ├── x509 │ │ ├── Makefile │ │ ├── by_dir.c │ │ ├── by_file.c │ │ ├── x509.h │ │ ├── x509_att.c │ │ ├── x509_cmp.c │ │ ├── x509_d2.c │ │ ├── x509_def.c │ │ ├── x509_err.c │ │ ├── x509_ext.c │ │ ├── x509_lu.c │ │ ├── x509_obj.c │ │ ├── x509_r2x.c │ │ ├── x509_req.c │ │ ├── x509_set.c │ │ ├── x509_trs.c │ │ ├── x509_txt.c │ │ ├── x509_v3.c │ │ ├── x509_vfy.c │ │ ├── x509_vfy.h │ │ ├── x509_vpm.c │ │ ├── x509cset.c │ │ ├── x509name.c │ │ ├── x509rset.c │ │ ├── x509spki.c │ │ ├── x509type.c │ │ └── x_all.c │ ├── x509v3 │ │ ├── Makefile │ │ ├── ext_dat.h │ │ ├── pcy_cache.c │ │ ├── pcy_data.c │ │ ├── pcy_int.h │ │ ├── pcy_lib.c │ │ ├── pcy_map.c │ │ ├── pcy_node.c │ │ ├── pcy_tree.c │ │ ├── tabtest.c │ │ ├── v3_addr.c │ │ ├── v3_akey.c │ │ ├── v3_akeya.c │ │ ├── v3_alt.c │ │ ├── v3_asid.c │ │ ├── v3_bcons.c │ │ ├── v3_bitst.c │ │ ├── v3_conf.c │ │ ├── v3_cpols.c │ │ ├── v3_crld.c │ │ ├── v3_enum.c │ │ ├── v3_extku.c │ │ ├── v3_genn.c │ │ ├── v3_ia5.c │ │ ├── v3_info.c │ │ ├── v3_int.c │ │ ├── v3_lib.c │ │ ├── v3_ncons.c │ │ ├── v3_ocsp.c │ │ ├── v3_pci.c │ │ ├── v3_pcia.c │ │ ├── v3_pcons.c │ │ ├── v3_pku.c │ │ ├── v3_pmaps.c │ │ ├── v3_prn.c │ │ ├── v3_purp.c │ │ ├── v3_skey.c │ │ ├── v3_sxnet.c │ │ ├── v3_utl.c │ │ ├── v3conf.c │ │ ├── v3err.c │ │ ├── v3prin.c │ │ └── x509v3.h │ ├── x86_64cpuid.pl │ └── x86cpuid.pl │ ├── demos │ ├── README │ ├── asn1 │ │ ├── README.ASN1 │ │ └── ocsp.c │ ├── b64.c │ ├── b64.pl │ ├── bio │ │ ├── Makefile │ │ ├── README │ │ ├── saccept.c │ │ ├── sconnect.c │ │ └── server.pem │ ├── cms │ │ ├── cacert.pem │ │ ├── cakey.pem │ │ ├── cms_comp.c │ │ ├── cms_ddec.c │ │ ├── cms_dec.c │ │ ├── cms_denc.c │ │ ├── cms_enc.c │ │ ├── cms_sign.c │ │ ├── cms_sign2.c │ │ ├── cms_uncomp.c │ │ ├── cms_ver.c │ │ ├── comp.txt │ │ ├── encr.txt │ │ ├── sign.txt │ │ ├── signer.pem │ │ └── signer2.pem │ ├── easy_tls │ │ ├── Makefile │ │ ├── README │ │ ├── cacerts.pem │ │ ├── cert.pem │ │ ├── easy-tls.c │ │ ├── easy-tls.h │ │ ├── test.c │ │ └── test.h │ ├── eay │ │ ├── Makefile │ │ ├── base64.c │ │ ├── conn.c │ │ └── loadrsa.c │ ├── engines │ │ ├── cluster_labs │ │ │ ├── Makefile │ │ │ ├── cluster_labs.h │ │ │ ├── hw_cluster_labs.c │ │ │ ├── hw_cluster_labs.ec │ │ │ ├── hw_cluster_labs_err.c │ │ │ └── hw_cluster_labs_err.h │ │ ├── ibmca │ │ │ ├── Makefile │ │ │ ├── hw_ibmca.c │ │ │ ├── hw_ibmca.ec │ │ │ ├── hw_ibmca_err.c │ │ │ ├── hw_ibmca_err.h │ │ │ └── ica_openssl_api.h │ │ ├── rsaref │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── build.com │ │ │ ├── rsaref.c │ │ │ ├── rsaref.ec │ │ │ ├── rsaref_err.c │ │ │ └── rsaref_err.h │ │ └── zencod │ │ │ ├── Makefile │ │ │ ├── hw_zencod.c │ │ │ ├── hw_zencod.ec │ │ │ ├── hw_zencod.h │ │ │ ├── hw_zencod_err.c │ │ │ └── hw_zencod_err.h │ ├── maurice │ │ ├── Makefile │ │ ├── README │ │ ├── cert.pem │ │ ├── example1.c │ │ ├── example2.c │ │ ├── example3.c │ │ ├── example4.c │ │ ├── loadkeys.c │ │ ├── loadkeys.h │ │ └── privkey.pem │ ├── pkcs12 │ │ ├── README │ │ ├── pkread.c │ │ └── pkwrite.c │ ├── prime │ │ ├── Makefile │ │ └── prime.c │ ├── privkey.pem │ ├── selfsign.c │ ├── sign │ │ ├── Makefile │ │ ├── cert.pem │ │ ├── key.pem │ │ ├── sig.txt │ │ ├── sign.c │ │ └── sign.txt │ ├── smime │ │ ├── cacert.pem │ │ ├── cakey.pem │ │ ├── encr.txt │ │ ├── sign.txt │ │ ├── signer.pem │ │ ├── signer2.pem │ │ ├── smdec.c │ │ ├── smenc.c │ │ ├── smsign.c │ │ ├── smsign2.c │ │ └── smver.c │ ├── spkigen.c │ ├── ssl │ │ ├── cli.cpp │ │ ├── inetdsrv.cpp │ │ └── serv.cpp │ ├── ssltest-ecc │ │ ├── ECC-RSAcertgen.sh │ │ ├── ECCcertgen.sh │ │ ├── README │ │ ├── RSAcertgen.sh │ │ └── ssltest.sh │ ├── state_machine │ │ ├── Makefile │ │ └── state_machine.c │ ├── tunala │ │ ├── A-client.pem │ │ ├── A-server.pem │ │ ├── CA.pem │ │ ├── INSTALL │ │ ├── Makefile │ │ ├── Makefile.am │ │ ├── README │ │ ├── autogunk.sh │ │ ├── autoungunk.sh │ │ ├── breakage.c │ │ ├── buffer.c │ │ ├── cb.c │ │ ├── configure.in │ │ ├── ip.c │ │ ├── sm.c │ │ ├── test.sh │ │ ├── tunala.c │ │ └── tunala.h │ └── x509 │ │ ├── README │ │ ├── mkcert.c │ │ └── mkreq.c │ ├── doc │ ├── HOWTO │ │ ├── certificates.txt │ │ ├── keys.txt │ │ └── proxy_certificates.txt │ ├── README │ ├── apps │ │ ├── CA.pl.pod │ │ ├── asn1parse.pod │ │ ├── ca.pod │ │ ├── ciphers.pod │ │ ├── cms.pod │ │ ├── config.pod │ │ ├── crl.pod │ │ ├── crl2pkcs7.pod │ │ ├── dgst.pod │ │ ├── dhparam.pod │ │ ├── dsa.pod │ │ ├── dsaparam.pod │ │ ├── ec.pod │ │ ├── ecparam.pod │ │ ├── enc.pod │ │ ├── errstr.pod │ │ ├── gendsa.pod │ │ ├── genpkey.pod │ │ ├── genrsa.pod │ │ ├── nseq.pod │ │ ├── ocsp.pod │ │ ├── openssl.pod │ │ ├── passwd.pod │ │ ├── pkcs12.pod │ │ ├── pkcs7.pod │ │ ├── pkcs8.pod │ │ ├── pkey.pod │ │ ├── pkeyparam.pod │ │ ├── pkeyutl.pod │ │ ├── rand.pod │ │ ├── req.pod │ │ ├── rsa.pod │ │ ├── rsautl.pod │ │ ├── s_client.pod │ │ ├── s_server.pod │ │ ├── s_time.pod │ │ ├── sess_id.pod │ │ ├── smime.pod │ │ ├── speed.pod │ │ ├── spkac.pod │ │ ├── ts.pod │ │ ├── tsget.pod │ │ ├── verify.pod │ │ ├── version.pod │ │ ├── x509.pod │ │ └── x509v3_config.pod │ ├── c-indentation.el │ ├── crypto │ │ ├── ASN1_OBJECT_new.pod │ │ ├── ASN1_STRING_length.pod │ │ ├── ASN1_STRING_new.pod │ │ ├── ASN1_STRING_print_ex.pod │ │ ├── ASN1_generate_nconf.pod │ │ ├── BIO_ctrl.pod │ │ ├── BIO_f_base64.pod │ │ ├── BIO_f_buffer.pod │ │ ├── BIO_f_cipher.pod │ │ ├── BIO_f_md.pod │ │ ├── BIO_f_null.pod │ │ ├── BIO_f_ssl.pod │ │ ├── BIO_find_type.pod │ │ ├── BIO_new.pod │ │ ├── BIO_new_CMS.pod │ │ ├── BIO_push.pod │ │ ├── BIO_read.pod │ │ ├── BIO_s_accept.pod │ │ ├── BIO_s_bio.pod │ │ ├── BIO_s_connect.pod │ │ ├── BIO_s_fd.pod │ │ ├── BIO_s_file.pod │ │ ├── BIO_s_mem.pod │ │ ├── BIO_s_null.pod │ │ ├── BIO_s_socket.pod │ │ ├── BIO_set_callback.pod │ │ ├── BIO_should_retry.pod │ │ ├── BN_BLINDING_new.pod │ │ ├── BN_CTX_new.pod │ │ ├── BN_CTX_start.pod │ │ ├── BN_add.pod │ │ ├── BN_add_word.pod │ │ ├── BN_bn2bin.pod │ │ ├── BN_cmp.pod │ │ ├── BN_copy.pod │ │ ├── BN_generate_prime.pod │ │ ├── BN_mod_inverse.pod │ │ ├── BN_mod_mul_montgomery.pod │ │ ├── BN_mod_mul_reciprocal.pod │ │ ├── BN_new.pod │ │ ├── BN_num_bytes.pod │ │ ├── BN_rand.pod │ │ ├── BN_set_bit.pod │ │ ├── BN_swap.pod │ │ ├── BN_zero.pod │ │ ├── CMS_add0_cert.pod │ │ ├── CMS_add1_recipient_cert.pod │ │ ├── CMS_compress.pod │ │ ├── CMS_decrypt.pod │ │ ├── CMS_encrypt.pod │ │ ├── CMS_final.pod │ │ ├── CMS_get0_RecipientInfos.pod │ │ ├── CMS_get0_SignerInfos.pod │ │ ├── CMS_get0_type.pod │ │ ├── CMS_get1_ReceiptRequest.pod │ │ ├── CMS_sign.pod │ │ ├── CMS_sign_add1_signer.pod │ │ ├── CMS_sign_receipt.pod │ │ ├── CMS_uncompress.pod │ │ ├── CMS_verify.pod │ │ ├── CMS_verify_receipt.pod │ │ ├── CONF_modules_free.pod │ │ ├── CONF_modules_load_file.pod │ │ ├── CRYPTO_set_ex_data.pod │ │ ├── DH_generate_key.pod │ │ ├── DH_generate_parameters.pod │ │ ├── DH_get_ex_new_index.pod │ │ ├── DH_new.pod │ │ ├── DH_set_method.pod │ │ ├── DH_size.pod │ │ ├── DSA_SIG_new.pod │ │ ├── DSA_do_sign.pod │ │ ├── DSA_dup_DH.pod │ │ ├── DSA_generate_key.pod │ │ ├── DSA_generate_parameters.pod │ │ ├── DSA_get_ex_new_index.pod │ │ ├── DSA_new.pod │ │ ├── DSA_set_method.pod │ │ ├── DSA_sign.pod │ │ ├── DSA_size.pod │ │ ├── ERR_GET_LIB.pod │ │ ├── ERR_clear_error.pod │ │ ├── ERR_error_string.pod │ │ ├── ERR_get_error.pod │ │ ├── ERR_load_crypto_strings.pod │ │ ├── ERR_load_strings.pod │ │ ├── ERR_print_errors.pod │ │ ├── ERR_put_error.pod │ │ ├── ERR_remove_state.pod │ │ ├── ERR_set_mark.pod │ │ ├── EVP_BytesToKey.pod │ │ ├── EVP_DigestInit.pod │ │ ├── EVP_DigestSignInit.pod │ │ ├── EVP_DigestVerifyInit.pod │ │ ├── EVP_EncryptInit.pod │ │ ├── EVP_OpenInit.pod │ │ ├── EVP_PKEY_CTX_ctrl.pod │ │ ├── EVP_PKEY_CTX_new.pod │ │ ├── EVP_PKEY_cmp.pod │ │ ├── EVP_PKEY_decrypt.pod │ │ ├── EVP_PKEY_derive.pod │ │ ├── EVP_PKEY_encrypt.pod │ │ ├── EVP_PKEY_get_default_digest.pod │ │ ├── EVP_PKEY_keygen.pod │ │ ├── EVP_PKEY_new.pod │ │ ├── EVP_PKEY_print_private.pod │ │ ├── EVP_PKEY_set1_RSA.pod │ │ ├── EVP_PKEY_sign.pod │ │ ├── EVP_PKEY_verify.pod │ │ ├── EVP_PKEY_verify_recover.pod │ │ ├── EVP_PKEY_verifyrecover.pod │ │ ├── EVP_SealInit.pod │ │ ├── EVP_SignInit.pod │ │ ├── EVP_VerifyInit.pod │ │ ├── OBJ_nid2obj.pod │ │ ├── OPENSSL_Applink.pod │ │ ├── OPENSSL_VERSION_NUMBER.pod │ │ ├── OPENSSL_config.pod │ │ ├── OPENSSL_ia32cap.pod │ │ ├── OPENSSL_load_builtin_modules.pod │ │ ├── OpenSSL_add_all_algorithms.pod │ │ ├── PEM_write_bio_CMS_stream.pod │ │ ├── PEM_write_bio_PKCS7_stream.pod │ │ ├── PKCS12_create.pod │ │ ├── PKCS12_parse.pod │ │ ├── PKCS7_decrypt.pod │ │ ├── PKCS7_encrypt.pod │ │ ├── PKCS7_sign.pod │ │ ├── PKCS7_sign_add_signer.pod │ │ ├── PKCS7_verify.pod │ │ ├── RAND_add.pod │ │ ├── RAND_bytes.pod │ │ ├── RAND_cleanup.pod │ │ ├── RAND_egd.pod │ │ ├── RAND_load_file.pod │ │ ├── RAND_set_rand_method.pod │ │ ├── RSA_blinding_on.pod │ │ ├── RSA_check_key.pod │ │ ├── RSA_generate_key.pod │ │ ├── RSA_get_ex_new_index.pod │ │ ├── RSA_new.pod │ │ ├── RSA_padding_add_PKCS1_type_1.pod │ │ ├── RSA_print.pod │ │ ├── RSA_private_encrypt.pod │ │ ├── RSA_public_encrypt.pod │ │ ├── RSA_set_method.pod │ │ ├── RSA_sign.pod │ │ ├── RSA_sign_ASN1_OCTET_STRING.pod │ │ ├── RSA_size.pod │ │ ├── SMIME_read_CMS.pod │ │ ├── SMIME_read_PKCS7.pod │ │ ├── SMIME_write_CMS.pod │ │ ├── SMIME_write_PKCS7.pod │ │ ├── X509_NAME_ENTRY_get_object.pod │ │ ├── X509_NAME_add_entry_by_txt.pod │ │ ├── X509_NAME_get_index_by_NID.pod │ │ ├── X509_NAME_print_ex.pod │ │ ├── X509_STORE_CTX_get_error.pod │ │ ├── X509_STORE_CTX_get_ex_new_index.pod │ │ ├── X509_STORE_CTX_new.pod │ │ ├── X509_STORE_CTX_set_verify_cb.pod │ │ ├── X509_STORE_set_verify_cb_func.pod │ │ ├── X509_VERIFY_PARAM_set_flags.pod │ │ ├── X509_new.pod │ │ ├── X509_verify_cert.pod │ │ ├── bio.pod │ │ ├── blowfish.pod │ │ ├── bn.pod │ │ ├── bn_internal.pod │ │ ├── buffer.pod │ │ ├── crypto.pod │ │ ├── d2i_ASN1_OBJECT.pod │ │ ├── d2i_DHparams.pod │ │ ├── d2i_DSAPublicKey.pod │ │ ├── d2i_PKCS8PrivateKey.pod │ │ ├── d2i_RSAPublicKey.pod │ │ ├── d2i_X509.pod │ │ ├── d2i_X509_ALGOR.pod │ │ ├── d2i_X509_CRL.pod │ │ ├── d2i_X509_NAME.pod │ │ ├── d2i_X509_REQ.pod │ │ ├── d2i_X509_SIG.pod │ │ ├── des.pod │ │ ├── des_modes.pod │ │ ├── dh.pod │ │ ├── dsa.pod │ │ ├── ecdsa.pod │ │ ├── engine.pod │ │ ├── err.pod │ │ ├── evp.pod │ │ ├── hmac.pod │ │ ├── i2d_CMS_bio_stream.pod │ │ ├── i2d_PKCS7_bio_stream.pod │ │ ├── lh_stats.pod │ │ ├── lhash.pod │ │ ├── md5.pod │ │ ├── mdc2.pod │ │ ├── pem.pod │ │ ├── rand.pod │ │ ├── rc4.pod │ │ ├── ripemd.pod │ │ ├── rsa.pod │ │ ├── sha.pod │ │ ├── threads.pod │ │ ├── ui.pod │ │ ├── ui_compat.pod │ │ └── x509.pod │ ├── fingerprints.txt │ ├── openssl-shared.txt │ ├── openssl.txt │ ├── openssl_button.gif │ ├── openssl_button.html │ ├── ssl │ │ ├── SSL_CIPHER_get_name.pod │ │ ├── SSL_COMP_add_compression_method.pod │ │ ├── SSL_CTX_add_extra_chain_cert.pod │ │ ├── SSL_CTX_add_session.pod │ │ ├── SSL_CTX_ctrl.pod │ │ ├── SSL_CTX_flush_sessions.pod │ │ ├── SSL_CTX_free.pod │ │ ├── SSL_CTX_get_ex_new_index.pod │ │ ├── SSL_CTX_get_verify_mode.pod │ │ ├── SSL_CTX_load_verify_locations.pod │ │ ├── SSL_CTX_new.pod │ │ ├── SSL_CTX_sess_number.pod │ │ ├── SSL_CTX_sess_set_cache_size.pod │ │ ├── SSL_CTX_sess_set_get_cb.pod │ │ ├── SSL_CTX_sessions.pod │ │ ├── SSL_CTX_set_cert_store.pod │ │ ├── SSL_CTX_set_cert_verify_callback.pod │ │ ├── SSL_CTX_set_cipher_list.pod │ │ ├── SSL_CTX_set_client_CA_list.pod │ │ ├── SSL_CTX_set_client_cert_cb.pod │ │ ├── SSL_CTX_set_default_passwd_cb.pod │ │ ├── SSL_CTX_set_generate_session_id.pod │ │ ├── SSL_CTX_set_info_callback.pod │ │ ├── SSL_CTX_set_max_cert_list.pod │ │ ├── SSL_CTX_set_mode.pod │ │ ├── SSL_CTX_set_msg_callback.pod │ │ ├── SSL_CTX_set_options.pod │ │ ├── SSL_CTX_set_psk_client_callback.pod │ │ ├── SSL_CTX_set_quiet_shutdown.pod │ │ ├── SSL_CTX_set_session_cache_mode.pod │ │ ├── SSL_CTX_set_session_id_context.pod │ │ ├── SSL_CTX_set_ssl_version.pod │ │ ├── SSL_CTX_set_timeout.pod │ │ ├── SSL_CTX_set_tmp_dh_callback.pod │ │ ├── SSL_CTX_set_tmp_rsa_callback.pod │ │ ├── SSL_CTX_set_verify.pod │ │ ├── SSL_CTX_use_certificate.pod │ │ ├── SSL_CTX_use_psk_identity_hint.pod │ │ ├── SSL_SESSION_free.pod │ │ ├── SSL_SESSION_get_ex_new_index.pod │ │ ├── SSL_SESSION_get_time.pod │ │ ├── SSL_accept.pod │ │ ├── SSL_alert_type_string.pod │ │ ├── SSL_clear.pod │ │ ├── SSL_connect.pod │ │ ├── SSL_do_handshake.pod │ │ ├── SSL_free.pod │ │ ├── SSL_get_SSL_CTX.pod │ │ ├── SSL_get_ciphers.pod │ │ ├── SSL_get_client_CA_list.pod │ │ ├── SSL_get_current_cipher.pod │ │ ├── SSL_get_default_timeout.pod │ │ ├── SSL_get_error.pod │ │ ├── SSL_get_ex_data_X509_STORE_CTX_idx.pod │ │ ├── SSL_get_ex_new_index.pod │ │ ├── SSL_get_fd.pod │ │ ├── SSL_get_peer_cert_chain.pod │ │ ├── SSL_get_peer_certificate.pod │ │ ├── SSL_get_psk_identity.pod │ │ ├── SSL_get_rbio.pod │ │ ├── SSL_get_session.pod │ │ ├── SSL_get_verify_result.pod │ │ ├── SSL_get_version.pod │ │ ├── SSL_library_init.pod │ │ ├── SSL_load_client_CA_file.pod │ │ ├── SSL_new.pod │ │ ├── SSL_pending.pod │ │ ├── SSL_read.pod │ │ ├── SSL_rstate_string.pod │ │ ├── SSL_session_reused.pod │ │ ├── SSL_set_bio.pod │ │ ├── SSL_set_connect_state.pod │ │ ├── SSL_set_fd.pod │ │ ├── SSL_set_session.pod │ │ ├── SSL_set_shutdown.pod │ │ ├── SSL_set_verify_result.pod │ │ ├── SSL_shutdown.pod │ │ ├── SSL_state_string.pod │ │ ├── SSL_want.pod │ │ ├── SSL_write.pod │ │ ├── d2i_SSL_SESSION.pod │ │ └── ssl.pod │ ├── ssleay.txt │ └── standards.txt │ ├── e_os.h │ ├── e_os2.h │ ├── engines │ ├── Makefile │ ├── alpha.opt │ ├── axp.opt │ ├── capierr.bat │ ├── ccgost │ │ ├── Makefile │ │ ├── README.gost │ │ ├── e_gost_err.c │ │ ├── e_gost_err.h │ │ ├── e_gost_err.proto │ │ ├── gost.ec │ │ ├── gost2001.c │ │ ├── gost2001_keyx.c │ │ ├── gost2001_keyx.h │ │ ├── gost89.c │ │ ├── gost89.h │ │ ├── gost94_keyx.c │ │ ├── gost_ameth.c │ │ ├── gost_asn1.c │ │ ├── gost_crypt.c │ │ ├── gost_ctl.c │ │ ├── gost_eng.c │ │ ├── gost_keywrap.c │ │ ├── gost_keywrap.h │ │ ├── gost_lcl.h │ │ ├── gost_md.c │ │ ├── gost_params.c │ │ ├── gost_params.h │ │ ├── gost_pmeth.c │ │ ├── gost_sign.c │ │ ├── gosthash.c │ │ ├── gosthash.h │ │ └── gostsum.c │ ├── e_4758cca.c │ ├── e_4758cca.ec │ ├── e_4758cca_err.c │ ├── e_4758cca_err.h │ ├── e_aep.c │ ├── e_aep.ec │ ├── e_aep_err.c │ ├── e_aep_err.h │ ├── e_atalla.c │ ├── e_atalla.ec │ ├── e_atalla_err.c │ ├── e_atalla_err.h │ ├── e_capi.c │ ├── e_capi.ec │ ├── e_capi_err.c │ ├── e_capi_err.h │ ├── e_chil.c │ ├── e_chil.ec │ ├── e_chil_err.c │ ├── e_chil_err.h │ ├── e_cswift.c │ ├── e_cswift.ec │ ├── e_cswift_err.c │ ├── e_cswift_err.h │ ├── e_gmp.c │ ├── e_gmp.ec │ ├── e_gmp_err.c │ ├── e_gmp_err.h │ ├── e_nuron.c │ ├── e_nuron.ec │ ├── e_nuron_err.c │ ├── e_nuron_err.h │ ├── e_padlock.c │ ├── e_padlock.ec │ ├── e_sureware.c │ ├── e_sureware.ec │ ├── e_sureware_err.c │ ├── e_sureware_err.h │ ├── e_ubsec.c │ ├── e_ubsec.ec │ ├── e_ubsec_err.c │ ├── e_ubsec_err.h │ ├── engine_vector.mar │ ├── ia64.opt │ ├── makeengines.com │ ├── vax.opt │ └── vendor_defns │ │ ├── aep.h │ │ ├── atalla.h │ │ ├── cswift.h │ │ ├── hw_4758_cca.h │ │ ├── hw_ubsec.h │ │ ├── hwcryptohook.h │ │ └── sureware.h │ ├── include │ └── openssl │ │ ├── aes.h │ │ ├── asn1.h │ │ ├── asn1_mac.h │ │ ├── asn1t.h │ │ ├── bio.h │ │ ├── blowfish.h │ │ ├── bn.h │ │ ├── buffer.h │ │ ├── camellia.h │ │ ├── cast.h │ │ ├── cmac.h │ │ ├── cms.h │ │ ├── comp.h │ │ ├── conf.h │ │ ├── conf_api.h │ │ ├── crypto.h │ │ ├── des.h │ │ ├── des_old.h │ │ ├── dh.h │ │ ├── dsa.h │ │ ├── dso.h │ │ ├── dtls1.h │ │ ├── e_os2.h │ │ ├── ebcdic.h │ │ ├── ec.h │ │ ├── ecdh.h │ │ ├── ecdsa.h │ │ ├── engine.h │ │ ├── err.h │ │ ├── evp.h │ │ ├── hmac.h │ │ ├── idea.h │ │ ├── krb5_asn.h │ │ ├── kssl.h │ │ ├── lhash.h │ │ ├── md2.h │ │ ├── md4.h │ │ ├── md5.h │ │ ├── mdc2.h │ │ ├── modes.h │ │ ├── obj_mac.h │ │ ├── objects.h │ │ ├── ocsp.h │ │ ├── opensslconf.h │ │ ├── opensslv.h │ │ ├── ossl_typ.h │ │ ├── pem.h │ │ ├── pem2.h │ │ ├── pkcs12.h │ │ ├── pkcs7.h │ │ ├── pqueue.h │ │ ├── rand.h │ │ ├── rc2.h │ │ ├── rc4.h │ │ ├── ripemd.h │ │ ├── rsa.h │ │ ├── safestack.h │ │ ├── seed.h │ │ ├── sha.h │ │ ├── srp.h │ │ ├── srtp.h │ │ ├── ssl.h │ │ ├── ssl2.h │ │ ├── ssl23.h │ │ ├── ssl3.h │ │ ├── stack.h │ │ ├── store.h │ │ ├── symhacks.h │ │ ├── tls1.h │ │ ├── ts.h │ │ ├── txt_db.h │ │ ├── ui.h │ │ ├── ui_compat.h │ │ ├── whrlpool.h │ │ ├── x509.h │ │ ├── x509_vfy.h │ │ └── x509v3.h │ ├── install.com │ ├── makevms.com │ ├── ms │ ├── .rnd │ ├── 32all.bat │ ├── README │ ├── applink.c │ ├── bcb4.bat │ ├── certCA.srl │ ├── certCA.ss │ ├── certU.ss │ ├── cmp.pl │ ├── do_ms.bat │ ├── do_nasm.bat │ ├── do_nt.bat │ ├── do_win64a.bat │ ├── do_win64i.bat │ ├── keyCA.ss │ ├── keyU.ss │ ├── mingw32.bat │ ├── mw.bat │ ├── req2CA.ss │ ├── reqCA.ss │ ├── reqU.ss │ ├── speed32.bat │ ├── tenc.bat │ ├── tencce.bat │ ├── test.bat │ ├── testce.bat │ ├── testce2.bat │ ├── testenc.bat │ ├── testencce.bat │ ├── testpem.bat │ ├── testpemce.bat │ ├── testss.bat │ ├── testssce.bat │ ├── tlhelp32.h │ ├── tpem.bat │ ├── tpemce.bat │ ├── uplink-common.pl │ ├── uplink-ia64.pl │ ├── uplink-x86.pl │ ├── uplink-x86_64.pl │ ├── uplink.c │ ├── uplink.h │ ├── uplink.pl │ └── x86asm.bat │ ├── openssl.doxy │ ├── openssl.spec │ ├── os2 │ ├── OS2-EMX.cmd │ └── backwardify.pl │ ├── shlib │ ├── Makefile.hpux10-cc │ ├── README │ ├── hpux10-cc.sh │ ├── irix.sh │ ├── sco5-shared-gcc.sh │ ├── sco5-shared-installed │ ├── sco5-shared.sh │ ├── solaris-sc4.sh │ ├── solaris.sh │ ├── sun.sh │ ├── svr5-shared-gcc.sh │ ├── svr5-shared-installed │ ├── svr5-shared.sh │ ├── win32.bat │ └── win32dll.bat │ ├── ssl │ ├── Makefile │ ├── bio_ssl.c │ ├── d1_both.c │ ├── d1_clnt.c │ ├── d1_enc.c │ ├── d1_lib.c │ ├── d1_meth.c │ ├── d1_pkt.c │ ├── d1_srtp.c │ ├── d1_srvr.c │ ├── dtls1.h │ ├── install-ssl.com │ ├── kssl.c │ ├── kssl.h │ ├── kssl_lcl.h │ ├── s23_clnt.c │ ├── s23_lib.c │ ├── s23_meth.c │ ├── s23_pkt.c │ ├── s23_srvr.c │ ├── s2_clnt.c │ ├── s2_enc.c │ ├── s2_lib.c │ ├── s2_meth.c │ ├── s2_pkt.c │ ├── s2_srvr.c │ ├── s3_both.c │ ├── s3_cbc.c │ ├── s3_clnt.c │ ├── s3_enc.c │ ├── s3_lib.c │ ├── s3_meth.c │ ├── s3_pkt.c │ ├── s3_srvr.c │ ├── srtp.h │ ├── ssl-lib.com │ ├── ssl.h │ ├── ssl2.h │ ├── ssl23.h │ ├── ssl3.h │ ├── ssl_algs.c │ ├── ssl_asn1.c │ ├── ssl_cert.c │ ├── ssl_ciph.c │ ├── ssl_err.c │ ├── ssl_err2.c │ ├── ssl_lib.c │ ├── ssl_locl.h │ ├── ssl_rsa.c │ ├── ssl_sess.c │ ├── ssl_stat.c │ ├── ssl_task.c │ ├── ssl_txt.c │ ├── ssltest.c │ ├── t1_clnt.c │ ├── t1_enc.c │ ├── t1_lib.c │ ├── t1_meth.c │ ├── t1_reneg.c │ ├── t1_srvr.c │ ├── tls1.h │ └── tls_srp.c │ ├── test │ ├── CAss.cnf │ ├── CAssdh.cnf │ ├── CAssdsa.cnf │ ├── CAssrsa.cnf │ ├── CAtsa.cnf │ ├── Makefile │ ├── P1ss.cnf │ ├── P2ss.cnf │ ├── Sssdsa.cnf │ ├── Sssrsa.cnf │ ├── Uss.cnf │ ├── VMSca-response.1 │ ├── VMSca-response.2 │ ├── asn1test.c │ ├── bctest │ ├── bctest.com │ ├── bftest.c │ ├── bntest.c │ ├── bntest.com │ ├── casttest.c │ ├── clean_test.com │ ├── cms-examples.pl │ ├── cms-test.pl │ ├── destest.c │ ├── dhtest.c │ ├── dsatest.c │ ├── dummytest.c │ ├── ecdhtest.c │ ├── ecdsatest.c │ ├── ectest.c │ ├── enginetest.c │ ├── evp_test.c │ ├── evptests.txt │ ├── exptest.c │ ├── hmactest.c │ ├── ideatest.c │ ├── igetest.c │ ├── jpaketest.c │ ├── maketests.com │ ├── md2test.c │ ├── md4test.c │ ├── md5test.c │ ├── mdc2test.c │ ├── methtest.c │ ├── pkcs7-1.pem │ ├── pkcs7.pem │ ├── pkits-test.pl │ ├── r160test.c │ ├── randtest.c │ ├── rc2test.c │ ├── rc4test.c │ ├── rc5test.c │ ├── rmdtest.c │ ├── rsa_test.c │ ├── sha1test.c │ ├── sha256t.c │ ├── sha512t.c │ ├── shatest.c │ ├── smcont.txt │ ├── smime-certs │ │ ├── smdsa1.pem │ │ ├── smdsa2.pem │ │ ├── smdsa3.pem │ │ ├── smdsap.pem │ │ ├── smroot.pem │ │ ├── smrsa1.pem │ │ ├── smrsa2.pem │ │ └── smrsa3.pem │ ├── srptest.c │ ├── ssltest.c │ ├── tcrl │ ├── tcrl.com │ ├── test.cnf │ ├── test_padlock │ ├── testca │ ├── testca.com │ ├── testcrl.pem │ ├── testenc │ ├── testenc.com │ ├── testfipsssl │ ├── testgen │ ├── testgen.com │ ├── testp7.pem │ ├── testreq2.pem │ ├── testrsa.pem │ ├── tests.com │ ├── testsid.pem │ ├── testss │ ├── testss.com │ ├── testssl │ ├── testssl.com │ ├── testsslproxy │ ├── testtsa │ ├── testtsa.com │ ├── testx509.pem │ ├── times │ ├── tpkcs7 │ ├── tpkcs7.com │ ├── tpkcs7d │ ├── tpkcs7d.com │ ├── treq │ ├── treq.com │ ├── trsa │ ├── trsa.com │ ├── tsid │ ├── tsid.com │ ├── tverify.com │ ├── tx509 │ ├── tx509.com │ ├── v3-cert1.pem │ ├── v3-cert2.pem │ └── wp_test.c │ ├── times │ ├── 090 │ │ └── 586-100.nt │ ├── 091 │ │ ├── 486-50.nt │ │ ├── 586-100.lnx │ │ ├── 68000.bsd │ │ ├── 686-200.lnx │ │ ├── alpha064.osf │ │ ├── alpha164.lnx │ │ ├── alpha164.osf │ │ ├── mips-rel.pl │ │ ├── r10000.irx │ │ ├── r3000.ult │ │ └── r4400.irx │ ├── 100.lnx │ ├── 100.nt │ ├── 200.lnx │ ├── 486-66.dos │ ├── 486-66.nt │ ├── 486-66.w31 │ ├── 5.lnx │ ├── 586-085i.nt │ ├── 586-100.LN3 │ ├── 586-100.NT2 │ ├── 586-100.dos │ ├── 586-100.ln4 │ ├── 586-100.lnx │ ├── 586-100.nt │ ├── 586-100.ntx │ ├── 586-100.w31 │ ├── 586-1002.lnx │ ├── 586p-100.lnx │ ├── 686-200.bsd │ ├── 686-200.lnx │ ├── 686-200.nt │ ├── L1 │ ├── R10000.t │ ├── R4400.t │ ├── aix.t │ ├── aixold.t │ ├── alpha.t │ ├── alpha400.t │ ├── cyrix100.lnx │ ├── dgux-x86.t │ ├── dgux.t │ ├── hpux-acc.t │ ├── hpux-kr.t │ ├── hpux.t │ ├── p2.w95 │ ├── pent2.t │ ├── readme │ ├── s586-100.lnx │ ├── s586-100.nt │ ├── sgi.t │ ├── sparc.t │ ├── sparc2 │ ├── sparcLX.t │ ├── usparc.t │ └── x86 │ │ ├── bfs.cpp │ │ ├── casts.cpp │ │ ├── des3s.cpp │ │ ├── dess.cpp │ │ ├── md4s.cpp │ │ ├── md5s.cpp │ │ ├── rc4s.cpp │ │ └── sha1s.cpp │ ├── tools │ ├── Makefile │ ├── c89.sh │ ├── c_hash │ ├── c_info │ ├── c_issuer │ ├── c_name │ ├── c_rehash │ └── c_rehash.in │ └── util │ ├── FreeBSD.sh │ ├── add_cr.pl │ ├── bat.sh │ ├── ck_errf.pl │ ├── clean-depend.pl │ ├── copy.pl │ ├── cygwin.sh │ ├── deleof.pl │ ├── deltree.com │ ├── dirname.pl │ ├── do_ms.sh │ ├── domd │ ├── err-ins.pl │ ├── extract-names.pl │ ├── extract-section.pl │ ├── files.pl │ ├── fixNT.sh │ ├── install.sh │ ├── libeay.num │ ├── mk1mf.pl │ ├── mkcerts.sh │ ├── mkdef.pl │ ├── mkdir-p.pl │ ├── mkerr.pl │ ├── mkfiles.pl │ ├── mklink.pl │ ├── mkrc.pl │ ├── mkstack.pl │ ├── opensslwrap.sh │ ├── perlpath.pl │ ├── pl │ ├── BC-32.pl │ ├── Mingw32.pl │ ├── OS2-EMX.pl │ ├── VC-32.pl │ ├── linux.pl │ ├── netware.pl │ ├── ultrix.pl │ └── unix.pl │ ├── pod2man.pl │ ├── pod2mantest │ ├── pod2mantest.pod │ ├── point.sh │ ├── selftest.pl │ ├── shlib_wrap.sh │ ├── sp-diff.pl │ ├── speed.sh │ ├── src-dep.pl │ ├── ssleay.num │ ├── tab_num.pl │ └── x86asm.sh ├── pageant.exe ├── plink.exe └── private.ppk /.astylerc: -------------------------------------------------------------------------------- 1 | --style=linux 2 | --indent=spaces=2 3 | --attach-namespaces 4 | --attach-classes 5 | --attach-inlines 6 | --attach-extern-c 7 | -------------------------------------------------------------------------------- /.didntcomefromthenpmregistry: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/.didntcomefromthenpmregistry -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | insert_final_newline = true 6 | indent_style = space 7 | indent_size = 2 8 | 9 | [Makefile] 10 | indent_style = tab 11 | indent_size = 4 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /vendor/libgit2/ 3 | /vendor/libssh2/ 4 | /vendor/http_parser/ 5 | /build/ 6 | /test/coverage/ 7 | /test/repos/ 8 | /test/test/ 9 | /src/ 10 | /include/ 11 | /lib/enums.js 12 | /lib/nodegit.js 13 | /coverage/ 14 | 15 | 16 | /vendor/Release 17 | /vendor/Debug 18 | /vendor/*.vcxproj 19 | /vendor/*.filters 20 | /vendor/*.sln 21 | 22 | /generate/output 23 | /generate/**/*.json 24 | !/generate/input/*.json 25 | 26 | /generate/missing-tests.json 27 | /binding.gyp 28 | 29 | 30 | *.log 31 | .DS_STORE 32 | .idea 33 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "vendor/libgit2"] 2 | path = vendor/libgit2 3 | url = git://github.com/libgit2/libgit2.git 4 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqnull": true, 5 | "evil": true, 6 | "futurehostile": true, 7 | "globals": { 8 | "after": true, 9 | "afterEach": true, 10 | "before": true, 11 | "beforeEach": true, 12 | "define": true, 13 | "describe": true, 14 | "global": true, 15 | "it": true 16 | }, 17 | "immed": false, 18 | "maxlen": 80, 19 | "node": true, 20 | "predef": [ 21 | "-Promise" 22 | ], 23 | "proto": true, 24 | "quotmark": "double", 25 | "trailing": true, 26 | "undef": true, 27 | "unused": "vars", 28 | "validthis": true 29 | } 30 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /example/ 3 | /examples/ 4 | /test/ 5 | /vendor/Release/ 6 | 7 | /generate/output 8 | /generate/**/*.json 9 | !/generate/input/*.json 10 | 11 | .astylerc 12 | .editorconfig 13 | .gitignore 14 | .gitmodules 15 | .jshintrc 16 | .travis.yml 17 | appveyor.yml 18 | .didntcomefromthenpmregistry 19 | 20 | *.vcxproj 21 | *.filters 22 | *.sln 23 | *.log 24 | *.md 25 | -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.2.0 / 2014-11-24 2 | =================== 3 | 4 | * Shifted to promises; asynchronous methods now provide promises. 5 | * Lots of new methods exposed for merging, pushing, blaming and more. 6 | * SSH transport now works. 7 | * Switched generation of native module code from ejsg to Combyne. 8 | * Added continuous integration with Linux, OSX, and Windows. 9 | * Many method and property names have changed. 10 | -------------------------------------------------------------------------------- /examples/create-branch.js: -------------------------------------------------------------------------------- 1 | var nodegit = require("../"); 2 | var path = require("path"); 3 | 4 | nodegit.Repository.open(path.resolve(__dirname, "../.git")) 5 | .then(function(repo) { 6 | // Create a new branch on head 7 | return repo.getHeadCommit() 8 | .then(function(commit) { 9 | return repo.createBranch( 10 | "new-branch", 11 | commit, 12 | 0, 13 | repo.defaultSignature(), 14 | "Created new-branch on HEAD"); 15 | }); 16 | }).done(function() { 17 | console.log("All done!"); 18 | }); 19 | -------------------------------------------------------------------------------- /examples/fetch.js: -------------------------------------------------------------------------------- 1 | var nodegit = require("../"); 2 | var path = require("path"); 3 | 4 | nodegit.Repository.open(path.resolve(__dirname, "../.git")) 5 | .then(function(repo) { 6 | return repo.fetch("origin", { 7 | credentials: function(url, userName) { 8 | return nodegit.Cred.sshKeyFromAgent(userName); 9 | } 10 | }); 11 | }).done(function() { 12 | console.log("It worked!"); 13 | }); 14 | -------------------------------------------------------------------------------- /examples/pull.js: -------------------------------------------------------------------------------- 1 | var nodegit = require("../"); 2 | var path = require("path"); 3 | 4 | var repoDir = "../../test"; 5 | 6 | var repository; 7 | 8 | // Open a repository that needs to be fetched and fast-forwarded 9 | nodegit.Repository.open(path.resolve(__dirname, repoDir)) 10 | .then(function(repo) { 11 | repository = repo; 12 | 13 | return repository.fetchAll({ 14 | credentials: function(url, userName) { 15 | return nodegit.Cred.sshKeyFromAgent(userName); 16 | }, 17 | certificateCheck: function() { 18 | return 1; 19 | } 20 | }); 21 | }) 22 | // Now that we're finished fetching, go ahead and merge our local branch 23 | // with the new one 24 | .then(function() { 25 | return repository.mergeBranches("master", "origin/master"); 26 | }) 27 | .done(function() { 28 | console.log("Done!"); 29 | }); 30 | -------------------------------------------------------------------------------- /examples/read-file.js: -------------------------------------------------------------------------------- 1 | var nodegit = require("../"), 2 | path = require("path"); 3 | 4 | // This example opens a certain file, `README.md`, at a particular commit, 5 | // and prints the first 10 lines as well as some metadata. 6 | var _entry; 7 | nodegit.Repository.open(path.resolve(__dirname, "../.git")) 8 | .then(function(repo) { 9 | return repo.getCommit("59b20b8d5c6ff8d09518454d4dd8b7b30f095ab5"); 10 | }) 11 | .then(function(commit) { 12 | return commit.getEntry("README.md"); 13 | }) 14 | .then(function(entry) { 15 | _entry = entry; 16 | return _entry.getBlob(); 17 | }) 18 | .then(function(blob) { 19 | console.log(_entry.filename(), _entry.sha(), blob.rawsize() + "b"); 20 | console.log("========================================================\n\n"); 21 | var firstTenLines = blob.toString().split("\n").slice(0, 10).join("\n"); 22 | console.log(firstTenLines); 23 | console.log("..."); 24 | }) 25 | .done(); 26 | -------------------------------------------------------------------------------- /examples/status.js: -------------------------------------------------------------------------------- 1 | var nodegit = require("../"), 2 | path = require("path"); 3 | 4 | // This code shows working directory changes similar to git status 5 | 6 | nodegit.Repository.open(path.resolve(__dirname, "../.git")) 7 | .then(function(repo) { 8 | repo.getStatus().then(function(statuses) { 9 | function statusToText(status) { 10 | var words = []; 11 | if (status.isNew()) { words.push("NEW"); } 12 | if (status.isModified()) { words.push("MODIFIED"); } 13 | if (status.isTypechange()) { words.push("TYPECHANGE"); } 14 | if (status.isRenamed()) { words.push("RENAMED"); } 15 | if (status.isIgnored()) { words.push("IGNORED"); } 16 | 17 | return words.join(" "); 18 | } 19 | 20 | statuses.forEach(function(file) { 21 | console.log(file.path() + " " + statusToText(file)); 22 | }); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /examples/walk-tree.js: -------------------------------------------------------------------------------- 1 | var nodegit = require("../"), 2 | path = require("path"); 3 | 4 | // A `tree` in git is typically a representation of the filesystem at 5 | // a revision. A tree has a set of entries, each entry being either a 6 | // tree (directory), or a file. 7 | 8 | nodegit.Repository.open(path.resolve(__dirname, "../.git")) 9 | .then(function(repo) { 10 | return repo.getMasterCommit(); 11 | }) 12 | .then(function(firstCommitOnMaster) { 13 | return firstCommitOnMaster.getTree(); 14 | }) 15 | .then(function(tree) { 16 | // `walk()` returns an event. 17 | var walker = tree.walk(); 18 | walker.on("entry", function(entry) { 19 | console.log(entry.path()); 20 | }); 21 | 22 | // Don't forget to call `start()`! 23 | walker.start(); 24 | }) 25 | .done(); 26 | -------------------------------------------------------------------------------- /generate/index.js: -------------------------------------------------------------------------------- 1 | var generateJson = require("./scripts/generateJson"); 2 | var generateNativeCode = require("./scripts/generateNativeCode"); 3 | var generateMissingTests = require("./scripts/generateMissingTests"); 4 | 5 | module.exports = function generate() { 6 | generateJson(); 7 | generateNativeCode(); 8 | generateMissingTests(); 9 | } 10 | 11 | if (require.main === module) { 12 | module.exports(); 13 | } 14 | -------------------------------------------------------------------------------- /generate/input/ignored-missing-tests.json: -------------------------------------------------------------------------------- 1 | { 2 | "blob": { 3 | "functions": [ 4 | "createFrombuffer", 5 | "isBinary", 6 | "lookup", 7 | "rawcontent", 8 | "rawsize" 9 | ] 10 | }, 11 | "clone": { 12 | "functions": [ 13 | "initOptions" 14 | ] 15 | }, 16 | "commit": { 17 | "functions": [ 18 | "parentCount", 19 | "parentId", 20 | "treeId" 21 | ] 22 | }, 23 | "diff": { 24 | "functions": [ 25 | "getDelta", 26 | "numDeltas" 27 | ] 28 | }, 29 | "object": { 30 | "functions": [ 31 | "type" 32 | ] 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /generate/templates/filters/and.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value, other) { 2 | return value && other; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/cpp_to_v8.js: -------------------------------------------------------------------------------- 1 | var isV8Value = require("./is_v8_value"); 2 | 3 | module.exports = function(cppClassName) { 4 | if (cppClassName === "Integer") { 5 | cppClassName = "Number"; 6 | } else if (cppClassName === "Wrapper"){ 7 | cppClassName = "String"; 8 | } 9 | 10 | return isV8Value(cppClassName) ? cppClassName : "Object"; 11 | }; 12 | -------------------------------------------------------------------------------- /generate/templates/filters/default_value.js: -------------------------------------------------------------------------------- 1 | module.exports = function(cType) { 2 | return cType === "git_otype" ? "GIT_OBJ_ANY" : "0"; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/fields_info.js: -------------------------------------------------------------------------------- 1 | module.exports = function(fields) { 2 | var result = []; 3 | 4 | fields.forEach(function (field){ 5 | var fieldInfo = {}; 6 | 7 | fieldInfo.__proto__ = field; 8 | 9 | fieldInfo.parsedName = field.name || "result"; 10 | fieldInfo.isCppClassIntType = ~["Uint32", "Int32"].indexOf(field.cppClassName); 11 | fieldInfo.parsedClassName = (field.cppClassName || '').toLowerCase() + "_t"; 12 | 13 | result.push(fieldInfo); 14 | }); 15 | 16 | return result; 17 | }; 18 | -------------------------------------------------------------------------------- /generate/templates/filters/has_return_type.js: -------------------------------------------------------------------------------- 1 | module.exports = function(functionInfo) { 2 | if (functionInfo.return) { 3 | return functionInfo.return.cType != "void" || functionInfo.return.isErrorCode; 4 | } 5 | 6 | return false; 7 | }; 8 | -------------------------------------------------------------------------------- /generate/templates/filters/has_return_value.js: -------------------------------------------------------------------------------- 1 | module.exports = function(fn) { 2 | if (fn.return 3 | && !fn.return.isErrorCode 4 | && fn.return.cType != "void") { 5 | return true 6 | } 7 | 8 | return false; 9 | }; 10 | -------------------------------------------------------------------------------- /generate/templates/filters/is_double_pointer.js: -------------------------------------------------------------------------------- 1 | module.exports = function(cType) { 2 | return /\s*\*\*\s*/.test(cType); 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/is_fixed_length_string.js: -------------------------------------------------------------------------------- 1 | module.exports = function(field) { 2 | return field.cppClassName == "String" && field.size; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/is_oid.js: -------------------------------------------------------------------------------- 1 | module.exports = function(arg) { 2 | return arg.cppClassName == "GitOid" && !arg.isSelf && !arg.isReturn; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/is_payload.js: -------------------------------------------------------------------------------- 1 | module.exports = function(field) { 2 | return field.name == 'payload' || field.payload || field.payloadFor; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/is_pointer.js: -------------------------------------------------------------------------------- 1 | module.exports = function(cType) { 2 | return /\s*\*\s*/.test(cType); 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/is_v8_value.js: -------------------------------------------------------------------------------- 1 | var v8 = [ 2 | "Boolean", 3 | "Number", 4 | "String", 5 | "Integer", 6 | "Int32", 7 | "Uint32", 8 | "Date", 9 | "Function" 10 | ]; 11 | 12 | module.exports = function(cppClassName) { 13 | return v8.indexOf(cppClassName) > -1; 14 | }; 15 | -------------------------------------------------------------------------------- /generate/templates/filters/js_args_count.js: -------------------------------------------------------------------------------- 1 | module.exports = function(args) { 2 | var cArg, 3 | jsArg; 4 | 5 | if (!args) { 6 | return 0; 7 | } 8 | 9 | for(cArg = 0, jsArg = 0; cArg < args.length; cArg++) { 10 | var arg = args[cArg]; 11 | 12 | if (!arg.isReturn && !arg.isSelf && !arg.isPayload) { 13 | jsArg++; 14 | } 15 | } 16 | 17 | return jsArg; 18 | }; 19 | -------------------------------------------------------------------------------- /generate/templates/filters/or.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value, other) { 2 | return value || other; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/payload_for.js: -------------------------------------------------------------------------------- 1 | module.exports = function(fields, payloadForField) { 2 | fields = fields || []; 3 | 4 | var result = fields.filter(function (field) { 5 | return field.payloadFor && (field.payloadFor === payloadForField || field.payloadFor === "*"); 6 | }); 7 | 8 | if (result.length > 0) { 9 | return result[0].name; 10 | } 11 | else { 12 | return ""; 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /generate/templates/filters/replace.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value, find, replace) { 2 | return value.replace(find, replace); 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/returns_count.js: -------------------------------------------------------------------------------- 1 | module.exports = function(fn) { 2 | var args = fn.args || []; 3 | var result = args.reduce(function (currentValue, arg) { 4 | return currentValue + (arg.isReturn ? 1 : 0); 5 | }, 0); 6 | 7 | if (!result 8 | && fn.return 9 | && !fn.return.isErrorCode 10 | && fn.return.cType != "void") { 11 | result = 1; 12 | } 13 | 14 | return result; 15 | }; 16 | -------------------------------------------------------------------------------- /generate/templates/filters/title_case.js: -------------------------------------------------------------------------------- 1 | module.exports = function(str) { 2 | return str.split(/_|\//).map(function(val, index) { 3 | if (val.length) { 4 | return val[0].toUpperCase() + val.slice(1); 5 | } 6 | 7 | return val; 8 | }).join(""); 9 | }; 10 | -------------------------------------------------------------------------------- /generate/templates/filters/un_pointer.js: -------------------------------------------------------------------------------- 1 | module.exports = function(cType) { 2 | return cType.replace(/\s*\*\s*$/, ""); 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/upper.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value) { 2 | return value.toUpperCase(); 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/manual/include/callback_wrapper.h: -------------------------------------------------------------------------------- 1 | #ifndef CALLBACK_WRAPPER_H 2 | #define CALLBACK_WRAPPER_H 3 | 4 | #include 5 | #include 6 | 7 | #include "nan.h" 8 | 9 | using namespace v8; 10 | using namespace node; 11 | 12 | struct CallbackWrapper { 13 | NanCallback* jsCallback; 14 | void * payload; 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /generate/templates/manual/include/functions/copy.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | 5 | #include "git2.h" 6 | 7 | #ifndef COPY_FUNCTIONS 8 | #define COPY_FUNCTIONS 9 | 10 | const git_error *git_error_dup(const git_error *arg); 11 | const git_oid *git_oid_dup(const git_oid *arg); 12 | const git_index_entry *git_index_entry_dup(const git_index_entry *arg); 13 | const git_index_time *git_index_time_dup(const git_index_time *arg); 14 | const git_time *git_time_dup(const git_time *arg); 15 | const git_diff_delta *git_diff_delta_dup(const git_diff_delta *arg); 16 | const git_diff_file *git_diff_file_dup(const git_diff_file *arg); 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /generate/templates/manual/include/git_buf_converter.h: -------------------------------------------------------------------------------- 1 | #ifndef STR_ARRAY_H 2 | #define STR_ARRAY_H 3 | 4 | #include 5 | 6 | #include "nan.h" 7 | #include "git2/strarray.h" 8 | 9 | using namespace v8; 10 | 11 | class StrArrayConverter { 12 | public: 13 | static git_strarray *Convert (Handle val); 14 | }; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /generate/templates/manual/include/macros.h: -------------------------------------------------------------------------------- 1 | #ifndef NODEGIT_PSUEDONAN_H_ 2 | #if (NODE_MODULE_VERSION > 0x000B) 3 | // Node 0.11+ (0.11.3 and below won't compile with these) 4 | # define NodeGitPsueodoNanReturnEscapingValue(val) NanReturnValue(NanEscapeScope(val)) 5 | 6 | #else 7 | // Node 0.8 and 0.10 8 | # define NodeGitPsueodoNanReturnEscapingValue(val) NanReturnValue(val) 9 | 10 | #endif 11 | 12 | #endif //NODEGIT_PSUEDONAN_H_ 13 | -------------------------------------------------------------------------------- /generate/templates/manual/include/str_array_converter.h: -------------------------------------------------------------------------------- 1 | #ifndef STR_ARRAY_H 2 | #define STR_ARRAY_H 3 | 4 | #include 5 | 6 | #include "nan.h" 7 | #include "git2/strarray.h" 8 | 9 | using namespace v8; 10 | 11 | class StrArrayConverter { 12 | public: 13 | 14 | static git_strarray *Convert (Handle val); 15 | 16 | private: 17 | static git_strarray *ConvertArray(Array *val); 18 | static git_strarray *ConvertString(Handle val); 19 | static git_strarray *AllocStrArray(const size_t count); 20 | static git_strarray *ConstructStrArray(int argc, char** argv); 21 | }; 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /generate/templates/manual/include/wrapper.h: -------------------------------------------------------------------------------- 1 | /** 2 | * This code is auto-generated; unless you know what you're doing, do not modify! 3 | **/ 4 | 5 | #ifndef WRAPPER_H 6 | #define WRAPPER_H 7 | 8 | #include 9 | #include 10 | 11 | #include "nan.h" 12 | 13 | using namespace node; 14 | using namespace v8; 15 | 16 | class Wrapper : public ObjectWrap { 17 | public: 18 | 19 | static Persistent constructor_template; 20 | static void InitializeComponent (Handle target); 21 | 22 | void *GetValue(); 23 | static Handle New(void *raw); 24 | 25 | private: 26 | Wrapper(void *raw); 27 | 28 | static NAN_METHOD(JSNewFunction); 29 | static NAN_METHOD(ToBuffer); 30 | 31 | void *raw; 32 | }; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /generate/templates/manual/src/functions/copy.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "git2.h" 5 | 6 | const git_error *git_error_dup(const git_error *arg) { 7 | git_error *result = (git_error *)malloc(sizeof(git_error)); 8 | result->klass = arg->klass; 9 | result->message = strdup(arg->message); 10 | return result; 11 | } 12 | -------------------------------------------------------------------------------- /generate/templates/manual/src/git_buf_converter.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #include "../include/git_buf_converter.h" 7 | #include "git2/buffer.h" 8 | 9 | using namespace v8; 10 | using namespace node; 11 | 12 | git_buf *StrArrayConverter::Convert(Handle val) { 13 | if (val->IsString() || val->IsStringObject()) { 14 | string v8String = ConvertString(val->ToString()); 15 | const size_t size = sizeof(git_buf); 16 | uint8_t* memory = reinterpret_cast(malloc(size)); 17 | git_buf *result = reinterpret_cast(memory); 18 | size_t stringLength = v8String.length() - 1; 19 | 20 | memory = reinterpret_cast(malloc(stringLength)); 21 | 22 | memcpy(memory, v8String.c_str(), stringLength); 23 | 24 | result->size = stringLength; 25 | result->ptr = reinterpret_cast(memory); 26 | return result; 27 | } else { 28 | return NULL; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /generate/templates/partials/doc.cc: -------------------------------------------------------------------------------- 1 | /* 2 | {% each args as arg %} 3 | {% if not arg.isReturn %} 4 | {% if not arg.isSelf %} 5 | * @param {{ arg.jsClassName }} {{ arg.name }} 6 | {% endif %} 7 | {% endif %} 8 | {% endeach %}{% each .|returnsInfo as returnInfo %} 9 | {% if isAsync %} 10 | * @param {{ returnInfo.jsOrCppClassName }} callback 11 | {% else %} 12 | * @return {{ returnInfo.jsOrCppClassName }} {% if returnInfo.name %}{{ returnInfo.name }}{% else %}result{% endif %} 13 | {% endif %} 14 | {% endeach %} 15 | */ 16 | -------------------------------------------------------------------------------- /generate/templates/templates/enums.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | NodeGit.Enums = {}; 3 | 4 | {% each . as enumerable %} 5 | {% if not enumerable.ignore %} 6 | {% if enumerable.type == "enum" %} 7 | NodeGit.{{ enumerable.owner }}.{{ enumerable.JsName }} = { 8 | {% each enumerable.values as value %} 9 | {{ value.JsName }}: {{ value.value }}, 10 | {% endeach %} 11 | }; 12 | {% endif %} 13 | {% endif %} 14 | {% endeach %} 15 | -------------------------------------------------------------------------------- /generate/templates/templates/nodegit.cc: -------------------------------------------------------------------------------- 1 | // This is a generated file, modify: generate/templates/nodegit.cc. 2 | #include 3 | #include 4 | #include 5 | 6 | #include "../include/wrapper.h" 7 | #include "../include/functions/copy.h" 8 | {% each %} 9 | {% if type != "enum" %} 10 | #include "../include/{{ filename }}.h" 11 | {% endif %} 12 | {% endeach %} 13 | 14 | extern "C" void init(Handle target) { 15 | NanScope(); 16 | 17 | Wrapper::InitializeComponent(target); 18 | {% each %} 19 | {% if type != "enum" %} 20 | {{ cppClassName }}::InitializeComponent(target); 21 | {% endif %} 22 | {% endeach %} 23 | } 24 | 25 | NODE_MODULE(nodegit, init) 26 | -------------------------------------------------------------------------------- /guides/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: guides 3 | menu_item: guides 4 | title: Guides 5 | description: Learning NodeGit 6 | --- 7 | 8 | ## Install 9 | 10 | > How to install NodeGit 11 | 12 | - [Basics](install/) 13 | - [From source](install/from-source) 14 | - [Electron](install/electron/) 15 | - [NW.js](install/nw.js/) 16 | 17 | *** 18 | 19 | ## Repository 20 | 21 | > How to work with repositories 22 | 23 | - [Opening](repositories/) 24 | - [Initializing](repositories/initializing) 25 | 26 | *** 27 | 28 | ## Cloning 29 | 30 | > How to clone repositories 31 | 32 | - [HTTP/HTTPS](cloning/) 33 | - [SSH w/ Agent](cloning/ssh-with-agent/) 34 | - [GitHub Two Factor Auth](cloning/gh-two-factor/) 35 | -------------------------------------------------------------------------------- /guides/install/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: full 3 | menu_item: guides 4 | title: Install Basics 5 | description: How to install NodeGit 6 | --- 7 | 8 | [Return to all guides](../) 9 | 10 | * * * 11 | 12 | From NPM 13 | ------------------------------- 14 | 15 | To install from the NPM repository you can issue the following command: 16 | 17 | ``` bash 18 | npm install nodegit 19 | ``` 20 | 21 | From GitHub 22 | ------------------------------------- 23 | 24 | Check out our [build from source](./from-source) guides. 25 | -------------------------------------------------------------------------------- /lib/config.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Config = NodeGit.Config; 4 | 5 | // Backwards compatibility. 6 | Config.prototype.getString = function() { 7 | return this.getStringBuf.apply(this, arguments); 8 | }; 9 | -------------------------------------------------------------------------------- /lib/note.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Note = NodeGit.Note; 4 | 5 | // Override Note.foreach to eliminate the need to pass null payload 6 | var foreach = Note.foreach; 7 | Note.foreach = function(repo, notesRef, callback) { 8 | function wrapperCallback(blobId, objectId) { 9 | // We need to copy the OID since libgit2 types are getting cleaned up 10 | // incorrectly right now in callbacks 11 | 12 | return callback(blobId.copy(), objectId.copy()); 13 | } 14 | 15 | return foreach(repo, notesRef, wrapperCallback, null); 16 | }; 17 | -------------------------------------------------------------------------------- /lib/object.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Obj = NodeGit.Object; 4 | 5 | /** 6 | * Is this object a commit? 7 | * @return {Boolean} 8 | */ 9 | Obj.prototype.isCommit = function() { 10 | return this.type() == Obj.TYPE.COMMIT; 11 | }; 12 | 13 | /** 14 | * Is this object a tree? 15 | * @return {Boolean} 16 | */ 17 | Obj.prototype.isTree = function() { 18 | return this.type() == Obj.TYPE.TREE; 19 | }; 20 | 21 | /** 22 | * Is this object a blob? 23 | * @return {Boolean} 24 | */ 25 | Obj.prototype.isBlob = function() { 26 | return this.type() == Obj.TYPE.BLOB; 27 | }; 28 | 29 | /** 30 | * Is this object a tag? 31 | * @return {Boolean} 32 | */ 33 | Obj.prototype.isTag = function() { 34 | return this.type() == Obj.TYPE.TAG; 35 | }; 36 | -------------------------------------------------------------------------------- /lib/odb.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Odb = NodeGit.Odb; 4 | var read = Odb.prototype.read; 5 | 6 | Odb.prototype.read = function(oid, callback) { 7 | return read.call(this, oid).then(function(odbObject) { 8 | if (typeof callback === "function") { 9 | callback(null, odbObject); 10 | } 11 | 12 | return odbObject; 13 | }, callback); 14 | }; 15 | -------------------------------------------------------------------------------- /lib/odb_object.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var OdbObject = NodeGit.OdbObject; 4 | 5 | OdbObject.prototype.toString = function(size) { 6 | size = size || this.size(); 7 | 8 | return this.data().toBuffer(size).toString(); 9 | }; 10 | -------------------------------------------------------------------------------- /lib/oid.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Oid = NodeGit.Oid; 4 | 5 | // Backwards compatibility. 6 | Object.defineProperties(Oid.prototype, { 7 | "toString": { 8 | value: Oid.prototype.tostrS, 9 | enumerable: false 10 | }, 11 | "allocfmt": { 12 | value: Oid.prototype.tostrS, 13 | enumerable: false 14 | } 15 | }); 16 | 17 | Oid.prototype.copy = function() { 18 | return this.cpy(); // seriously??? 19 | }; 20 | 21 | Oid.prototype.inspect = function() { 22 | return "[Oid " + this.allocfmt() + "]"; 23 | }; 24 | -------------------------------------------------------------------------------- /lib/signature.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var Signature = NodeGit.Signature; 3 | 4 | /** 5 | * Standard string representation of an author. 6 | * 7 | * @return {string} Representation of the author. 8 | */ 9 | Signature.prototype.toString = function() { 10 | return this.name().toString() + " <" + this.email().toString() + ">"; 11 | }; 12 | -------------------------------------------------------------------------------- /lib/status.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var normalizeOptions = NodeGit.Utils.normalizeOptions; 3 | 4 | var Status = NodeGit.Status; 5 | 6 | // Override Status.foreach to eliminate the need to pass null payload 7 | var foreach = Status.foreach; 8 | Status.foreach = function(repo, callback) { 9 | return foreach(repo, callback, null); 10 | }; 11 | 12 | // Override Status.foreachExt to normalize opts 13 | var foreachExt = Status.foreachExt; 14 | Status.foreachExt = function(repo, opts, callback) { 15 | opts = normalizeOptions(opts, NodeGit.StatusOptions); 16 | return foreachExt(repo, opts, callback, null); 17 | }; 18 | -------------------------------------------------------------------------------- /lib/status_list.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var normalizeOptions = NodeGit.Utils.normalizeOptions; 3 | 4 | var StatusList = NodeGit.StatusList; 5 | 6 | // Override StatusList.create to normalize opts 7 | var create = StatusList.create; 8 | StatusList.create = function(repo, opts) { 9 | opts = normalizeOptions(opts, NodeGit.StatusOptions); 10 | return create(repo, opts); 11 | }; 12 | -------------------------------------------------------------------------------- /lib/tag.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var LookupWrapper = NodeGit.Utils.lookupWrapper; 3 | var Tag = NodeGit.Tag; 4 | 5 | /** 6 | * Retrieves the tag pointed to by the oid 7 | * @async 8 | * @param {Repository} repo The repo that the tag lives in 9 | * @param {String|Oid|Tag} id The tag to lookup 10 | * @return {Tag} 11 | */ 12 | Tag.lookup = LookupWrapper(Tag); 13 | -------------------------------------------------------------------------------- /lib/utils/normalize_options.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../../"); 2 | 3 | /** 4 | * Normalize an object to match a struct. 5 | * 6 | * @param {String, Object} oid - The oid string or instance. 7 | * @return {Object} An Oid instance. 8 | */ 9 | function normalizeOptions(options, Ctor) { 10 | if (!options) { 11 | return null; 12 | } 13 | 14 | if (options instanceof Ctor) { 15 | return options; 16 | } 17 | 18 | var instance = new Ctor(); 19 | 20 | Object.keys(options).forEach(function(key) { 21 | instance[key] = options[key]; 22 | }); 23 | 24 | return instance; 25 | } 26 | 27 | NodeGit.Utils.normalizeOptions = normalizeOptions; 28 | -------------------------------------------------------------------------------- /lib/utils/shallow_clone.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../../"); 2 | 3 | function shallowClone() { 4 | var merges = Array.prototype.slice.call(arguments); 5 | 6 | return merges.reduce(function(obj, merge) { 7 | return Object.keys(merge).reduce(function(obj, key) { 8 | obj[key] = merge[key]; 9 | return obj; 10 | }, obj); 11 | }, {}); 12 | } 13 | 14 | NodeGit.Utils.shallowClone = module.exports = shallowClone; 15 | -------------------------------------------------------------------------------- /test/id_rsa.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDkTcgXnHuqR0gbwegnr9Zxz4hTkjjV/SpgJNPJz7mo/HKNbx0rqjj1P0yGR053R9GSFFim2ut4NK9DPPUkQdyucw+DoLkYRHJmlJ4BNa9NTCD0sl+eSXO2969kZojCYSOgbmkCJx8mdgTwhzdgE/jhBrsY0hPE6pRTlU+H68/zeNdJUAIJf0LLXOm3hpTKLA19VICltl/j9VvBJpgRHdBylXEyL8HokYpjkQQk1ZXj3m7Nlo8yDdg4VcljOJWC+Xh8kxRMfK5x/VRVsYKCQXN5QlzKeqf7USRDUS/7mFoPUBW+d4kwKtGxRsWuIL2yeqzifZUTOgsh9+ZWAWxWffQZ your_email@example.com 2 | -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- 1 | var fork = require("child_process").fork; 2 | var path = require("path"); 3 | 4 | var bin = "./node_modules/.bin/istanbul"; 5 | var cov = "cover --report=lcov --dir=test/coverage/js _mocha --".split(" "); 6 | 7 | if (process.platform === 'win32') { 8 | bin = "./node_modules/mocha/bin/mocha"; 9 | cov = []; 10 | } 11 | 12 | var args = cov.concat([ 13 | "test/runner", 14 | "test/tests", 15 | "--expose-gc" 16 | ]); 17 | 18 | fork(bin, args, { cwd: path.join(__dirname, "../") }).on("close", process.exit); 19 | -------------------------------------------------------------------------------- /test/tests/cred.js: -------------------------------------------------------------------------------- 1 | var assert = require("assert"); 2 | var path = require("path"); 3 | var local = path.join.bind(path, __dirname); 4 | 5 | describe("Cred", function() { 6 | var NodeGit = require("../../"); 7 | 8 | var sshPublicKey = local("../id_rsa.pub"); 9 | var sshPrivateKey = local("../id_rsa"); 10 | 11 | it("can create default credentials", function() { 12 | var defaultCreds = NodeGit.Cred.defaultNew(); 13 | assert.ok(defaultCreds instanceof NodeGit.Cred); 14 | }); 15 | 16 | it("can create ssh credentials using passed keys", function() { 17 | var cred = NodeGit.Cred.sshKeyNew( 18 | "username", 19 | sshPublicKey, 20 | sshPrivateKey, 21 | ""); 22 | 23 | assert.ok(cred instanceof NodeGit.Cred); 24 | }); 25 | 26 | it("can create credentials using plaintext", function() { 27 | var plaintextCreds = NodeGit.Cred.userpassPlaintextNew 28 | ("username", "password"); 29 | assert.ok(plaintextCreds instanceof NodeGit.Cred); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /test/tests/graph.js: -------------------------------------------------------------------------------- 1 | var assert = require("assert"); 2 | var path = require("path"); 3 | var local = path.join.bind(path, __dirname); 4 | 5 | describe("Graph", function() { 6 | var NodeGit = require("../../"); 7 | var Repository = NodeGit.Repository; 8 | var Graph = NodeGit.Graph; 9 | 10 | var reposPath = local("../repos/workdir"); 11 | 12 | beforeEach(function() { 13 | var test = this; 14 | 15 | return Repository.open(reposPath) 16 | .then(function(repository) { 17 | test.repository = repository; 18 | }); 19 | }); 20 | 21 | it("can get commits ahead/behind for 2 different commits", function() { 22 | return Graph.aheadBehind( 23 | this.repository, 24 | "32789a79e71fbc9e04d3eff7425e1771eb595150", 25 | "1729c73906bb8467f4095c2f4044083016b4dfde") 26 | .then(function(result) { 27 | assert.equal(result.ahead, 1); 28 | assert.equal(result.behind, 1); 29 | }); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /test/tests/packbuilder.js: -------------------------------------------------------------------------------- 1 | var assert = require("assert"); 2 | var path = require("path"); 3 | var local = path.join.bind(path, __dirname); 4 | 5 | describe("Packbuilder", function() { 6 | var NodeGit = require("../../"); 7 | var Repository = NodeGit.Repository; 8 | var Packbuilder = NodeGit.Packbuilder; 9 | 10 | var reposPath = local("../repos/workdir"); 11 | 12 | beforeEach(function() { 13 | var test = this; 14 | 15 | return Repository.open(reposPath).then(function(repository) { 16 | test.repository = repository; 17 | }); 18 | }); 19 | 20 | it("can be initialized", function() { 21 | var packBuilder = Packbuilder.create(this.repository); 22 | 23 | assert(packBuilder instanceof Packbuilder); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /vendor/README.md: -------------------------------------------------------------------------------- 1 | # Openssl 2 | 3 | I do not have the time to maintain working gyp metadata for openssl, 4 | i've taken the easy way out and stolen it from [node.js](http://github.com/joyent/node.git). 5 | -------------------------------------------------------------------------------- /vendor/openssl/README.md: -------------------------------------------------------------------------------- 1 | # Openssl 2 | 3 | I do not have the time to maintain working gyp metadata for openssl, 4 | i've taken the easy way out and stolen it from [node.js](http://github.com/joyent/node.git). 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/CHANGES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/CHANGES -------------------------------------------------------------------------------- /vendor/openssl/openssl/Configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/Configure -------------------------------------------------------------------------------- /vendor/openssl/openssl/INSTALL.OS2: -------------------------------------------------------------------------------- 1 | 2 | Installation on OS/2 3 | -------------------- 4 | 5 | You need to have the following tools installed: 6 | 7 | * EMX GCC 8 | * PERL 9 | * GNU make 10 | 11 | 12 | To build the makefile, run 13 | 14 | > os2\os2-emx 15 | 16 | This will configure OpenSSL and create OS2-EMX.mak which you then use to 17 | build the OpenSSL libraries & programs by running 18 | 19 | > make -f os2-emx.mak 20 | 21 | If that finishes successfully you will find the libraries and programs in the 22 | "out" directory. 23 | 24 | Alternatively, you can make a dynamic build that puts the library code into 25 | crypto.dll and ssl.dll by running 26 | 27 | > make -f os2-emx-dll.mak 28 | 29 | This will build the above mentioned dlls and a matching pair of import 30 | libraries in the "out_dll" directory along with the set of test programs 31 | and the openssl application. 32 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/MacOS/TODO: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------- 2 | Verify server certificate 3 | ------------------------------------------------------------------- 4 | Currently omitted from the project: 5 | 6 | crypto/tmdiff.c 7 | crypto/bio/bss_conn.c 8 | crypto/bio/b_sock.c 9 | crypto/bio/bss_acpt.c 10 | crypto/bio/bss_log.h 11 | 12 | ------------------------------------------------------------------- 13 | Build libraries to link with... 14 | ------------------------------------------------------------------- 15 | Port openssl application. 16 | ------------------------------------------------------------------- 17 | BN optimizations (currently PPC version is compiled with BN_LLONG) 18 | ------------------------------------------------------------------- 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/MacOS/_MWERKS_GUSI_prefix.h: -------------------------------------------------------------------------------- 1 | #include 2 | #define B_ENDIAN 3 | #ifdef __POWERPC__ 4 | #pragma longlong on 5 | #endif 6 | #if 1 7 | #define MAC_OS_GUSI_SOURCE 8 | #endif 9 | #define MONOLITH 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/MacOS/_MWERKS_prefix.h: -------------------------------------------------------------------------------- 1 | #include 2 | #define B_ENDIAN 3 | #ifdef __POWERPC__ 4 | #pragma longlong on 5 | #endif 6 | #if 0 7 | #define MAC_OS_GUSI_SOURCE 8 | #endif 9 | #define MONOLITH 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/MacOS/buildinf.h: -------------------------------------------------------------------------------- 1 | #ifndef MK1MF_BUILD 2 | # define CFLAGS "-DB_ENDIAN" 3 | # define PLATFORM "macos" 4 | # define DATE "Sun Feb 27 19:44:16 MET 2000" 5 | #endif 6 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/Netware/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | Contents of the openssl\netware directory 3 | ========================================== 4 | 5 | Regular files: 6 | 7 | readme.txt - this file 8 | do_tests.pl - perl script used to run the OpenSSL tests on NetWare 9 | cpy_tests.bat - batch to to copy test stuff to NetWare server 10 | build.bat - batch file to help with builds 11 | set_env.bat - batch file to help setup build environments 12 | globals.txt - results of initial code review to identify OpenSSL global variables 13 | 14 | 15 | The following files are generated by the various scripts. They are 16 | recreated each time and it is okay to delete them. 17 | 18 | *.def - command files used by Metrowerks linker 19 | *.mak - make files generated by mk1mf.pl 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/TODO: -------------------------------------------------------------------------------- 1 | TODO: 2 | ===== 3 | 4 | There are a few things that need to be worked out in the VMS version of 5 | OpenSSL, still: 6 | 7 | - Description files. ("Makefile's" :-)) 8 | - Script code to link an already compiled build tree. 9 | - A VMSINSTALlable version (way in the future, unless someone else hacks). 10 | - shareable images (DLL for you Windows folks). 11 | 12 | There may be other things that I have missed and that may be desirable. 13 | Please send mail to or to me directly if you 14 | have any ideas. 15 | 16 | -- 17 | Richard Levitte 18 | 1999-05-24 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/WISHLIST.TXT: -------------------------------------------------------------------------------- 1 | * Have the building procedure contain a LINK-only possibility. 2 | Wished by Mark Daniel 3 | 4 | One way to enable that is also to go over to DESCRIP.MMS files. 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/multinet_shr.opt: -------------------------------------------------------------------------------- 1 | multinet:multinet_socket_library.exe/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/openssl_undo.com: -------------------------------------------------------------------------------- 1 | $! 2 | $! Deassign OpenSSL logical names. 3 | $! 4 | $ call deass "OPENSSL" "''p1'" 5 | $ call deass "SSLCERTS" "''p1'" 6 | $ call deass "SSLEXE" "''p1'" 7 | $ call deass "SSLINCLUDE" "''p1'" 8 | $ call deass "SSLLIB" "''p1'" 9 | $ call deass "SSLPRIVATE" "''p1'" 10 | $ call deass "SSLROOT" "''p1'" 11 | $! 12 | $ exit 13 | $! 14 | $deass: subroutine 15 | $ if (f$trnlnm( p1) .nes. "") 16 | $ then 17 | $ deassign 'p2' 'p1' 18 | $ endif 19 | $ endsubroutine 20 | $! 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/socketshr_shr.opt: -------------------------------------------------------------------------------- 1 | socketshr/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/tcpip_shr_decc.opt: -------------------------------------------------------------------------------- 1 | sys$share:tcpip$ipc_shr.exe/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/test-includes.com: -------------------------------------------------------------------------------- 1 | $! Quick script to check how well including individual header files works 2 | $! on VMS, even when the VMS macro isn't defined. 3 | $ 4 | $ sav_def = f$env("DEFAULT") 5 | $ here = f$parse("A.;0",f$ENV("PROCEDURE")) - "A.;0" 6 | $ set default 'here' 7 | $ set default [-.include.openssl] 8 | $ define openssl 'f$env("DEFAULT")' 9 | $ set default [--] 10 | $ 11 | $ loop: 12 | $ f = f$search("openssl:*.h") 13 | $ if f .eqs. "" then goto loop_end 14 | $ write sys$output "Checking ",f 15 | $ open/write foo foo.c 16 | $ write foo "#undef VMS" 17 | $ write foo "#include " 18 | $ write foo "#include " 19 | $ write foo "main()" 20 | $ write foo "{printf(""foo\n"");}" 21 | $ close foo 22 | $ cc/STANDARD=ANSI89/NOLIST/PREFIX=ALL foo.c 23 | $ delete foo.c; 24 | $ goto loop 25 | $ loop_end: 26 | $ set default 'save_def' 27 | $ exit 28 | 29 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/ucx_shr_decc.opt: -------------------------------------------------------------------------------- 1 | sys$share:ucx$ipc_shr.exe/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/ucx_shr_decc_log.opt: -------------------------------------------------------------------------------- 1 | ucx$ipc_shr/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/ucx_shr_vaxc.opt: -------------------------------------------------------------------------------- 1 | sys$library:ucx$ipc.olb/library 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/ca-cert.srl: -------------------------------------------------------------------------------- 1 | 07 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/ca-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQCju6PLddelT+nIMm07GQwmYa/eZ2JWbsmt2gotSCqM7asFp425 3 | gxSK4jqhhT62UPpqDBEwvQ+fYkVv3RV0r9ReuZGv12NoS4fXsQgqO17lHA7Od0Kd 4 | 2yNwJjKh44MxPKDt2o8iQMyZE0zlHnEFNpsP4COLTDNC6ljEEu5bk8uPsQIDAQAB 5 | AoGAVZmpFZsDZfr0l2S9tLLwpjRWNOlKATQkno6q2WesT0eGLQufTciY+c8ypfU6 6 | hyio8r5iUl/VhhdjhAtKx1mRpiotftHo/eYf8rtsrnprOnWG0bWjLjtIoMbcxGn2 7 | J3bN6LJmbJMjDs0eJ3KnTu646F3nDUw2oGAwmpzKXA1KAP0CQQDRvQhxk2D3Pehs 8 | HvG665u2pB5ipYQngEFlZO7RHJZzJOZEWSLuuMqaF/7pTfA5jiBvWqCgJeCRRInL 9 | 21ru4dlPAkEAx9jj7BgKn5TYnMoBSSe0afjsV9oApVpN1Nacb1YDtCwy+scp3++s 10 | nFxlv98wxIlSdpwMUn+AUWfjiWR7Tu/G/wJBAJ/KjwZIrFVxewP0x2ILYsTRYLzz 11 | MS4PDsO7FB+I0i7DbBOifXS2oNSpd3I0CNMwrxFnUHzynpbOStVfN3ZL5w0CQQCa 12 | pwFahxBRhkJKsxhjoFJBX9yl75JoY4Wvm5Tbo9ih6UJaRx3kqfkN14L2BKYcsZgb 13 | KY9vmDOYy6iNfjDeWTfJAkBkfPUb8oTJ/nSP5zN6sqGxSY4krc4xLxpRmxoJ8HL2 14 | XfhqXkTzbU13RX9JJ/NZ8vQN9Vm2NhxRGJocQkmcdVtJ 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/ca-req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBmTCCAQICAQAwWzELMAkGA1UEBhMCQVUxEzARBgNVBAgTClF1ZWVuc2xhbmQx 3 | GjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMRswGQYDVQQDExJUZXN0IENBICgx 4 | MDI0IGJpdCkwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKO7o8t116VP6cgy 5 | bTsZDCZhr95nYlZuya3aCi1IKoztqwWnjbmDFIriOqGFPrZQ+moMETC9D59iRW/d 6 | FXSv1F65ka/XY2hLh9exCCo7XuUcDs53Qp3bI3AmMqHjgzE8oO3ajyJAzJkTTOUe 7 | cQU2mw/gI4tMM0LqWMQS7luTy4+xAgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAKlk7 8 | cxu9gCJN3/iQFyJXQ6YphaiQAT5VBXTx9ftRrQIjA3vxlDzPWGDy+V5Tqa7h8PtR 9 | 5Bn00JShII2zf0hjyjKils6x/UkWmjEiwSiFp4hR70iE8XwSNEHY2P6j6nQEIpgW 10 | kbfgmmUqk7dl2V+ossTJ80B8SBpEhrn81V/cHxA= 11 | -----END CERTIFICATE REQUEST----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBoDCCAUoCAQAwDQYJKoZIhvcNAQEEBQAwYzELMAkGA1UEBhMCQVUxEzARBgNV 3 | BAgTClF1ZWVuc2xhbmQxGjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMSMwIQYD 4 | VQQDExpTZXJ2ZXIgdGVzdCBjZXJ0ICg1MTIgYml0KTAeFw05NzA5MDkwMzQxMjZa 5 | Fw05NzEwMDkwMzQxMjZaMF4xCzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0 6 | YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxFzAVBgNVBAMT 7 | DkVyaWMgdGhlIFlvdW5nMFEwCQYFKw4DAgwFAANEAAJBALVEqPODnpI4rShlY8S7 8 | tB713JNvabvn6Gned7zylwLLiXQAo/PAT6mfdWPTyCX9RlId/Aroh1ou893BA32Q 9 | sggwDQYJKoZIhvcNAQEEBQADQQCU5SSgapJSdRXJoX+CpCvFy+JVh9HpSjCpSNKO 10 | 19raHv98hKAUJuP9HyM+SUsffO6mAIgitUaqW8/wDMePhEC3 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/demoCA/cacert.pem: -------------------------------------------------------------------------------- 1 | subject=/C=AU/SOP=QLD/O=Mincom Pty. Ltd./OU=CS/CN=SSLeay demo server 2 | issuer= /C=AU/SOP=QLD/O=Mincom Pty. Ltd./OU=CS/CN=CA 3 | -----BEGIN X509 CERTIFICATE----- 4 | 5 | MIIBgjCCASwCAQQwDQYJKoZIhvcNAQEEBQAwODELMAkGA1UEBhMCQVUxDDAKBgNV 6 | BAgTA1FMRDEbMBkGA1UEAxMSU1NMZWF5L3JzYSB0ZXN0IENBMB4XDTk1MTAwOTIz 7 | MzIwNVoXDTk4MDcwNTIzMzIwNVowYDELMAkGA1UEBhMCQVUxDDAKBgNVBAgTA1FM 8 | RDEZMBcGA1UEChMQTWluY29tIFB0eS4gTHRkLjELMAkGA1UECxMCQ1MxGzAZBgNV 9 | BAMTElNTTGVheSBkZW1vIHNlcnZlcjBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQC3 10 | LCXcScWua0PFLkHBLm2VejqpA1F4RQ8q0VjRiPafjx/Z/aWH3ipdMVvuJGa/wFXb 11 | /nDFLDlfWp+oCPwhBtVPAgMBAAEwDQYJKoZIhvcNAQEEBQADQQArNFsihWIjBzb0 12 | DCsU0BvL2bvSwJrPEqFlkDq3F4M6EGutL9axEcANWgbbEdAvNJD1dmEmoWny27Pn 13 | IMs6ZOZB 14 | -----END X509 CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/demoCA/serial: -------------------------------------------------------------------------------- 1 | 011E 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/demoSRP/srp_verifier.txt: -------------------------------------------------------------------------------- 1 | # This is a file that will be filled by the openssl srp routine. 2 | # You can initialize the file with additional groups, these are 3 | # records starting with a I followed by the g and N values and the id. 4 | # The exact values ... you have to dig this out from the source of srp.c 5 | # or srp_vfy.c 6 | # The last value of an I is used as the default group for new users. 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/demoSRP/srp_verifier.txt.attr: -------------------------------------------------------------------------------- 1 | unique_subject = yes 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dh1024.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIGHAoGBAPSI/VhOSdvNILSd5JEHNmszbDgNRR0PfIizHHxbLY7288kjwEPwpVsY 3 | jY67VYy4XTjTNP18F1dDox0YbN4zISy1Kv884bEpQBgRjXyEpwpy1obEAxnIByl6 4 | ypUM2Zafq9AKUJsCRtMIPWakXUGfnHy9iUsiGSa6q6Jew1XpL3jHAgEC 5 | -----END DH PARAMETERS----- 6 | 7 | These are the 1024 bit DH parameters from "Assigned Number for SKIP Protocols" 8 | (http://www.skip-vpn.org/spec/numbers.html). 9 | See there for how they were generated. 10 | Note that g is not a generator, but this is not a problem since p is a safe prime. 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dh2048.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIIBCAKCAQEA9kJXtwh/CBdyorrWqULzBej5UxE5T7bxbrlLOCDaAadWoxTpj0BV 3 | 89AHxstDqZSt90xkhkn4DIO9ZekX1KHTUPj1WV/cdlJPPT2N286Z4VeSWc39uK50 4 | T8X8dryDxUcwYc58yWb/Ffm7/ZFexwGq01uejaClcjrUGvC/RgBYK+X0iP1YTknb 5 | zSC0neSRBzZrM2w4DUUdD3yIsxx8Wy2O9vPJI8BD8KVbGI2Ou1WMuF040zT9fBdX 6 | Q6MdGGzeMyEstSr/POGxKUAYEY18hKcKctaGxAMZyAcpesqVDNmWn6vQClCbAkbT 7 | CD1mpF1Bn5x8vYlLIhkmuquiXsNV6TILOwIBAg== 8 | -----END DH PARAMETERS----- 9 | 10 | These are the 2048 bit DH parameters from "Assigned Number for SKIP Protocols" 11 | (http://www.skip-vpn.org/spec/numbers.html). 12 | See there for how they were generated. 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dh512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MEYCQQD1Kv884bEpQBgRjXyEpwpy1obEAxnIByl6ypUM2Zafq9AKUJsCRtMIPWak 3 | XUGfnHy9iUsiGSa6q6Jew1XpKgVfAgEC 4 | -----END DH PARAMETERS----- 5 | 6 | These are the 512 bit DH parameters from "Assigned Number for SKIP Protocols" 7 | (http://www.skip-vpn.org/spec/numbers.html). 8 | See there for how they were generated. 9 | Note that g is not a generator, but this is not a problem since p is a safe prime. 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dsa1024.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DSA PARAMETERS----- 2 | MIIBHgKBgQCnP26Fv0FqKX3wn0cZMJCaCR3aajMexT2GlrMV4FMuj+BZgnOQPnUx 3 | mUd6UvuF5NmmezibaIqEm4fGHrV+hktTW1nPcWUZiG7OZq5riDb77Cjcwtelu+Us 4 | OSZL2ppwGJU3lRBWI/YV7boEXt45T/23Qx+1pGVvzYAR5HCVW1DNSQIVAPcHMe36 5 | bAYD1YWKHKycZedQZmVvAoGATd9MA6aRivUZb1BGJZnlaG8w42nh5bNdmLsohkj8 6 | 3pkEP1+IDJxzJA0gXbkqmj8YlifkYofBe3RiU/xhJ6h6kQmdtvFNnFQPWAbuSXQH 7 | zlV+I84W9srcWmEBfslxtU323DQph2j2XiCTs9v15AlsQReVkusBtXOlan7YMu0O 8 | Arg= 9 | -----END DSA PARAMETERS----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dsa512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DSA PARAMETERS----- 2 | MIGdAkEAnRtpjibb8isRcBmG9hnI+BnyGFOURgbQYlAzSwI8UjADizv5X9EkBk97 3 | TLqqQJv9luQ3M7stWtdaEUBmonZ9MQIVAPtT71C0QJIxVoZTeuiLIppJ+3GPAkEA 4 | gz6I5cWJc847bAFJv7PHnwrqRJHlMKrZvltftxDXibeOdPvPKR7rqCxUUbgQ3qDO 5 | L8wka5B33qJoplISogOdIA== 6 | -----END DSA PARAMETERS----- 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dsap.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DSA PARAMETERS----- 2 | MIGcAkEA+ZiKEvZmc9MtnaFZh4NiZ3oZS4J1PHvPrm9MXj5ntVheDPkdmBDTncya 3 | GAJcMjwsyB/GvLDGd6yGCw/8eF+09wIVAK3VagOxGd/Q4Af5NbxR5FB7CXEjAkA2 4 | t/q7HgVLi0KeKvcDG8BRl3wuy7bCvpjgtWiJc/tpvcuzeuAayH89UofjAGueKjXD 5 | ADiRffvSdhrNw5dkqdql 6 | -----END DSA PARAMETERS----- 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/oid.cnf: -------------------------------------------------------------------------------- 1 | 2.99999.1 SET.ex1 SET x509v3 extension 1 2 | 2.99999.2 SET.ex2 SET x509v3 extension 2 3 | 2.99999.3 SET.ex3 SET x509v3 extension 3 4 | 2.99999.4 SET.ex4 SET x509v3 extension 4 5 | 2.99999.5 SET.ex5 SET x509v3 extension 5 6 | 2.99999.6 SET.ex6 SET x509v3 extension 6 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/pca-cert.srl: -------------------------------------------------------------------------------- 1 | 07 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/pca-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXAIBAAKBgQCdoWk/3+WcMlfjIrkg40ketmnQaEogQe1LLcuOJV6rKfUSAsPg 3 | wgsabJ/wn8TxA1yy3eKJbFl3OiUXMRsp22Jp85PmemiDzyUIStwk72qhp1imbANZ 4 | vlmlCFKiQrjUyuDfu4TABmn+kkt3vR1YBEOGt+IFye1UBVSATVdRJ2UVhwIDAQAB 5 | AoGAba4fTtuap5l7/8ZsbE7Z1O32KJY4ZcOZukLOLUUhXxXduT+FTgGWujc0/rgc 6 | z9qYCLlNZHOouMYTgtSfYvuMuLZ11VIt0GYH+nRioLShE59Yy+zCRyC+gPigS1kz 7 | xvo14AsOIPYV14Tk/SsHyq6E0eTk7VzaIE197giiINUERPECQQDSKmtPTh/lRKw7 8 | HSZSM0I1mFWn/1zqrAbontRQY5w98QWIOe5qmzYyFbPXYT3d9BzlsMyhgiRNoBbD 9 | yvohSHXJAkEAwAHx6ezAZeWWzD5yXD36nyjpkVCw7Tk7TSmOceLJMWt1QcrCfqlS 10 | xA5jjpQ6Z8suU5DdtWAryM2sAir1WisYzwJAd6Zcx56jvAQ3xcPXsE6scBTVFzrj 11 | 7FqZ6E+cclPzfLQ+QQsyOBE7bpI6e/FJppY26XGZXo3YGzV8IGXrt40oOQJALETG 12 | h86EFXo3qGOFbmsDy4pdP5nBERCu8X1xUCSfintiD4c2DInxgS5oGclnJeMcjTvL 13 | QjQoJCX3UJCi/OUO1QJBAKgcDHWjMvt+l1pjJBsSEZ0HX9AAIIVx0RQmbFGS+F2Q 14 | hhu5l77WnnZOQ9vvhV5u7NPCUF9nhU3jh60qWWO8mkc= 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/pca-req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBmjCCAQMCAQAwXDELMAkGA1UEBhMCQVUxEzARBgNVBAgTClF1ZWVuc2xhbmQx 3 | GjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMRwwGgYDVQQDExNUZXN0IFBDQSAo 4 | MTAyNCBiaXQpMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCdoWk/3+WcMlfj 5 | Irkg40ketmnQaEogQe1LLcuOJV6rKfUSAsPgwgsabJ/wn8TxA1yy3eKJbFl3OiUX 6 | MRsp22Jp85PmemiDzyUIStwk72qhp1imbANZvlmlCFKiQrjUyuDfu4TABmn+kkt3 7 | vR1YBEOGt+IFye1UBVSATVdRJ2UVhwIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAEzz 8 | IG8NnfpnPTQSCN5zJhOfy6p9AcDyQzuJirYv1HR/qoYWalPh/U2uiK0lAim7qMcv 9 | wOlK3I7A8B7/4dLqvIqgtUj9b1WT8zIrnwdvJI4osLI2BY+c1pVlp174DHLMol1L 10 | Cl1e3N5BTm7lCitTYjuUhsw6hiA8IcdNKDo6sktV 11 | -----END CERTIFICATE REQUEST----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBlzCCAVcCAQAwXjELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUx 3 | ITAfBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEXMBUGA1UEAxMORXJp 4 | YyB0aGUgWW91bmcwge8wgaYGBSsOAwIMMIGcAkEA+ZiKEvZmc9MtnaFZh4NiZ3oZ 5 | S4J1PHvPrm9MXj5ntVheDPkdmBDTncyaGAJcMjwsyB/GvLDGd6yGCw/8eF+09wIV 6 | AK3VagOxGd/Q4Af5NbxR5FB7CXEjAkA2t/q7HgVLi0KeKvcDG8BRl3wuy7bCvpjg 7 | tWiJc/tpvcuzeuAayH89UofjAGueKjXDADiRffvSdhrNw5dkqdqlA0QAAkEAtUSo 8 | 84OekjitKGVjxLu0HvXck29pu+foad53vPKXAsuJdACj88BPqZ91Y9PIJf1GUh38 9 | CuiHWi7z3cEDfZCyCKAAMAkGBSsOAwIbBQADLwAwLAIUTg8amKVBE9oqC5B75dDQ 10 | Chy3LdQCFHKodGEj3LjuTzdm/RTe2KZL9Uzf 11 | -----END CERTIFICATE REQUEST----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/s1024key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXgIBAAKBgQCzEfU8E+ZGTGtHXV5XhvM2Lg32fXUIjydXb34BGVPX6oN7+aNV 3 | S9eWayvW/+9/vUb0aCqilJrpFesgItV2T8VhhjOE++XUz46uNpcMU7wHMEAXUufP 4 | pztpFm8ZEk2tFKvadkSSoN8lb11juvZVkSkPlB65pFhSe4QKSp6J4HrkYwIDAQAB 5 | AoGBAKy8jvb0Lzby8q11yNLf7+78wCVdYi7ugMHcYA1JVFK8+zb1WfSm44FLQo/0 6 | dSChAjgz36TTexeLODPYxleJndjVcOMVzsLJjSM8dLpXsTS4FCeMbhw2s2u+xqKY 7 | bbPWfk+HOTyJjfnkcC5Nbg44eOmruq0gSmBeUXVM5UntlTnxAkEA7TGCA3h7kx5E 8 | Bl4zl2pc3gPAGt+dyfk5Po9mGJUUXhF5p2zueGmYWW74TmOWB1kzt4QRdYMzFePq 9 | zfDNXEa1CwJBAMFErdY0xp0UJ13WwBbUTk8rujqQdHtjw0klhpbuKkjxu2hN0wwM 10 | 6p0D9qxF7JHaghqVRI0fAW/EE0OzdHMR9QkCQQDNR26dMFXKsoPu+vItljj/UEGf 11 | QG7gERiQ4yxaFBPHgdpGo0kT31eh9x9hQGDkxTe0GNG/YSgCRvm8+C3TMcKXAkBD 12 | dhGn36wkUFCddMSAM4NSJ1VN8/Z0y5HzCmI8dM3VwGtGMUQlxKxwOl30LEQzdS5M 13 | 0SWojNYXiT2gOBfBwtbhAkEAhafl5QEOIgUz+XazS/IlZ8goNKdDVfYgK3mHHjvv 14 | nY5G+AuGebdNkXJr4KSWxDcN+C2i47zuj4QXA16MAOandA== 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/s1024req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBojCCAQsCAQAwZDELMAkGA1UEBhMCQVUxEzARBgNVBAgTClF1ZWVuc2xhbmQx 3 | GjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMSQwIgYDVQQDExtTZXJ2ZXIgdGVz 4 | dCBjZXJ0ICgxMDI0IGJpdCkwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALMR 5 | 9TwT5kZMa0ddXleG8zYuDfZ9dQiPJ1dvfgEZU9fqg3v5o1VL15ZrK9b/73+9RvRo 6 | KqKUmukV6yAi1XZPxWGGM4T75dTPjq42lwxTvAcwQBdS58+nO2kWbxkSTa0Uq9p2 7 | RJKg3yVvXWO69lWRKQ+UHrmkWFJ7hApKnongeuRjAgMBAAEwDQYJKoZIhvcNAQEE 8 | BQADgYEAStHlk4pBbwiNeQ2/PKTPPXzITYC8Gn0XMbrU94e/6JIKiO7aArq9Espq 9 | nrBSvC14dHcNl6NNvnkEKdQ7hAkcACfBbnOXA/oQvMBd4GD78cH3k0jVDoVUEjil 10 | frLfWlckW6WzpTktt0ZPDdAjJCmKVh0ABHimi7Bo9FC3wIGIe5M= 11 | -----END CERTIFICATE REQUEST----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/s512-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBAJ+zw4Qnlf8SMVIPFe9GEcStgOY2Ww/dgNdhjeD8ckUJNP5VZkVD 3 | TGiXav6ooKXfX3j/7tdkuD8Ey2//Kv7+ue0CAwEAAQJAN6W31vDEP2DjdqhzCDDu 4 | OA4NACqoiFqyblo7yc2tM4h4xMbC3Yx5UKMN9ZkCtX0gzrz6DyF47bdKcWBzNWCj 5 | gQIhANEoojVt7hq+SQ6MCN6FTAysGgQf56Q3TYoJMoWvdiXVAiEAw3e3rc+VJpOz 6 | rHuDo6bgpjUAAXM+v3fcpsfZSNO6V7kCIQCtbVjanpUwvZkMI9by02oUk9taki3b 7 | PzPfAfNPYAbCJQIhAJXNQDWyqwn/lGmR11cqY2y9nZ1+5w3yHGatLrcDnQHxAiEA 8 | vnlEGo8K85u+KwIOimM48ZG8oTk7iFdkqLJR1utT3aU= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/s512-req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBGzCBxgIBADBjMQswCQYDVQQGEwJBVTETMBEGA1UECBMKUXVlZW5zbGFuZDEa 3 | MBgGA1UEChMRQ3J5cHRTb2Z0IFB0eSBMdGQxIzAhBgNVBAMTGlNlcnZlciB0ZXN0 4 | IGNlcnQgKDUxMiBiaXQpMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJ+zw4Qnlf8S 5 | MVIPFe9GEcStgOY2Ww/dgNdhjeD8ckUJNP5VZkVDTGiXav6ooKXfX3j/7tdkuD8E 6 | y2//Kv7+ue0CAwEAATANBgkqhkiG9w0BAQQFAANBAAB+uQi+qwn6qRSHB8EUTvsm 7 | 5TNTHzYDeN39nyIbZNX2s0se3Srn2Bxft5YCwD3moFZ9QoyDHxE0h6qLX5yjD+8= 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/server.srl: -------------------------------------------------------------------------------- 1 | 01 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/testCA.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBBzCBsgIBADBNMQswCQYDVQQGEwJBVTETMBEGA1UECBMKUXVlZW5zbGFuZDEX 3 | MBUGA1UEChMOTWluY29tIFB0eSBMdGQxEDAOBgNVBAMTB1RFU1QgQ0EwXDANBgkq 4 | hkiG9w0BAQEFAANLADBIAkEAzW9brgA8efT2ODB+NrsflJZj3KKqKsm4OrXTRqfL 5 | VETj1ws/zCXl42XJAxdWQMCP0liKfc9Ut4xi1qCVI7N07wIDAQABoAAwDQYJKoZI 6 | hvcNAQEEBQADQQBjZZ42Det9Uw0AFwJy4ufUEy5Cv74pxBp5SZnljgHY+Az0Hs2S 7 | uNkIegr2ITX5azKi9nOkg9ZmsmGG13FIjiC/ 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/bugs/MS: -------------------------------------------------------------------------------- 1 | If you use the function that does an fopen inside the DLL, it's malloc 2 | will be used and when the function is then written inside, more 3 | hassles 4 | .... 5 | 6 | 7 | think about it. 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/bugs/ultrixcc.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /* This is a cc optimiser bug for ultrix 4.3, mips CPU. 4 | * What happens is that the compiler, due to the (a)&7, 5 | * does 6 | * i=a&7; 7 | * i--; 8 | * i*=4; 9 | * Then uses i as the offset into a jump table. 10 | * The problem is that a value of 0 generates an offset of 11 | * 0xfffffffc. 12 | */ 13 | 14 | main() 15 | { 16 | f(5); 17 | f(0); 18 | } 19 | 20 | int f(a) 21 | int a; 22 | { 23 | switch(a&7) 24 | { 25 | case 7: 26 | printf("7\n"); 27 | case 6: 28 | printf("6\n"); 29 | case 5: 30 | printf("5\n"); 31 | case 4: 32 | printf("4\n"); 33 | case 3: 34 | printf("3\n"); 35 | case 2: 36 | printf("2\n"); 37 | case 1: 38 | printf("1\n"); 39 | #ifdef FIX_BUG 40 | case 0: 41 | ; 42 | #endif 43 | } 44 | } 45 | 46 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/certs/README.RootCerts: -------------------------------------------------------------------------------- 1 | The OpenSSL project does not (any longer) include root CA certificates. 2 | 3 | Please check out the FAQ: 4 | * How can I set up a bundle of commercial root CA certificates? 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/certs/expired/ICE.crl: -------------------------------------------------------------------------------- 1 | -----BEGIN X509 CRL----- 2 | MIIBNDCBnjANBgkqhkiG9w0BAQIFADBFMSEwHwYDVQQKExhFdXJvcGVhbiBJQ0Ut 3 | VEVMIFByb2plY3QxIDAeBgNVBAsTF0NlcnRpZmljYXRpb24gQXV0aG9yaXR5Fw05 4 | NzA2MDkxNDQyNDNaFw05NzA3MDkxNDQyNDNaMCgwEgIBChcNOTcwMzAzMTQ0MjU0 5 | WjASAgEJFw05NjEwMDIxMjI5MjdaMA0GCSqGSIb3DQEBAgUAA4GBAH4vgWo2Tej/ 6 | i7kbiw4Imd30If91iosjClNpBFwvwUDBclPEeMuYimHbLOk4H8Nofc0fw11+U/IO 7 | KSNouUDcqG7B64oY7c4SXKn+i1MWOb5OJiWeodX3TehHjBlyWzoNMWCnYA8XqFP1 8 | mOKp8Jla1BibEZf14+/HqCi2hnZUiEXh 9 | -----END X509 CRL----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/aes/README: -------------------------------------------------------------------------------- 1 | This is an OpenSSL-compatible version of AES (also called Rijndael). 2 | aes_core.c is basically the same as rijndael-alg-fst.c but with an 3 | API that looks like the rest of the OpenSSL symmetric cipher suite. 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/aes/asm/aes-586.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/aes/asm/aes-586.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/asn1/charmap.h: -------------------------------------------------------------------------------- 1 | /* Auto generated with chartype.pl script. 2 | * Mask of various character properties 3 | */ 4 | 5 | static const unsigned char char_type[] = { 6 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 8 | 120, 0, 1,40, 0, 0, 0,16,16,16, 0,25,25,16,16,16, 9 | 16,16,16,16,16,16,16,16,16,16,16, 9, 9,16, 9,16, 10 | 0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 11 | 16,16,16,16,16,16,16,16,16,16,16, 0, 1, 0, 0, 0, 12 | 0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 13 | 16,16,16,16,16,16,16,16,16,16,16, 0, 0, 0, 0, 2 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bf/INSTALL: -------------------------------------------------------------------------------- 1 | This Eric Young's blowfish implementation, taken from his SSLeay library 2 | and made available as a separate library. 3 | 4 | The version number (0.7.2m) is the SSLeay version that this library was 5 | taken from. 6 | 7 | To build, just unpack and type make. 8 | If you are not using gcc, edit the Makefile. 9 | If you are compiling for an x86 box, try the assembler (it needs improving). 10 | There are also some compile time options that can improve performance, 11 | these are documented in the Makefile. 12 | 13 | eric 15-Apr-1997 14 | 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bf/README: -------------------------------------------------------------------------------- 1 | This is a quick packaging up of my blowfish code into a library. 2 | It has been lifted from SSLeay. 3 | The copyright notices seem a little harsh because I have not spent the 4 | time to rewrite the conditions from the normal SSLeay ones. 5 | 6 | Basically if you just want to play with the library, not a problem. 7 | 8 | eric 15-Apr-1997 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bf/VERSION: -------------------------------------------------------------------------------- 1 | The version numbers will follow my SSL implementation 2 | 3 | 0.7.2r - Some reasonable default compiler options from 4 | Peter Gutman 5 | 6 | 0.7.2m - the first release 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bf/asm/readme: -------------------------------------------------------------------------------- 1 | There are blowfish assembler generation scripts. 2 | bf-586.pl version is for the pentium and 3 | bf-686.pl is my original version, which is faster on the pentium pro. 4 | 5 | When using a bf-586.pl, the pentium pro/II is %8 slower than using 6 | bf-686.pl. When using a bf-686.pl, the pentium is %16 slower 7 | than bf-586.pl 8 | 9 | So the default is bf-586.pl 10 | 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bio/bio_lcl.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #if BIO_FLAGS_UPLINK==0 4 | /* Shortcut UPLINK calls on most platforms... */ 5 | #define UP_stdin stdin 6 | #define UP_stdout stdout 7 | #define UP_stderr stderr 8 | #define UP_fprintf fprintf 9 | #define UP_fgets fgets 10 | #define UP_fread fread 11 | #define UP_fwrite fwrite 12 | #undef UP_fsetmod 13 | #define UP_feof feof 14 | #define UP_fclose fclose 15 | 16 | #define UP_fopen fopen 17 | #define UP_fseek fseek 18 | #define UP_ftell ftell 19 | #define UP_fflush fflush 20 | #define UP_ferror ferror 21 | #ifdef _WIN32 22 | #define UP_fileno _fileno 23 | #define UP_open _open 24 | #define UP_read _read 25 | #define UP_write _write 26 | #define UP_lseek _lseek 27 | #define UP_close _close 28 | #else 29 | #define UP_fileno fileno 30 | #define UP_open open 31 | #define UP_read read 32 | #define UP_write write 33 | #define UP_lseek lseek 34 | #define UP_close close 35 | #endif 36 | #endif 37 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/armv4-gf2m.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/bn/asm/armv4-gf2m.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/ia64.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/bn/asm/ia64.S -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/s390x-gf2m.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/bn/asm/s390x-gf2m.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/x86-gf2m.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/bn/asm/x86-gf2m.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/x86.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | push(@INC,"perlasm","../../perlasm"); 4 | require "x86asm.pl"; 5 | 6 | require("x86/mul_add.pl"); 7 | require("x86/mul.pl"); 8 | require("x86/sqr.pl"); 9 | require("x86/div.pl"); 10 | require("x86/add.pl"); 11 | require("x86/sub.pl"); 12 | require("x86/comba.pl"); 13 | 14 | &asm_init($ARGV[0],$0); 15 | 16 | &bn_mul_add_words("bn_mul_add_words"); 17 | &bn_mul_words("bn_mul_words"); 18 | &bn_sqr_words("bn_sqr_words"); 19 | &bn_div_words("bn_div_words"); 20 | &bn_add_words("bn_add_words"); 21 | &bn_sub_words("bn_sub_words"); 22 | &bn_mul_comba("bn_mul_comba8",8); 23 | &bn_mul_comba("bn_mul_comba4",4); 24 | &bn_sqr_comba("bn_sqr_comba8",8); 25 | &bn_sqr_comba("bn_sqr_comba4",4); 26 | 27 | &asm_finish(); 28 | 29 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/x86/div.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # x86 assember 3 | 4 | sub bn_div_words 5 | { 6 | local($name)=@_; 7 | 8 | &function_begin($name,""); 9 | &mov("edx",&wparam(0)); # 10 | &mov("eax",&wparam(1)); # 11 | &mov("ebx",&wparam(2)); # 12 | &div("ebx"); 13 | &function_end($name); 14 | } 15 | 1; 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/x86/f: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # x86 assember 3 | 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/x86_64-gcc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/bn/asm/x86_64-gcc.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/x86_64-gf2m.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/bn/asm/x86_64-gf2m.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/bn.mul: -------------------------------------------------------------------------------- 1 | We need 2 | 3 | * bn_mul_comba8 4 | * bn_mul_comba4 5 | * bn_mul_normal 6 | * bn_mul_recursive 7 | 8 | * bn_sqr_comba8 9 | * bn_sqr_comba4 10 | bn_sqr_normal -> BN_sqr 11 | * bn_sqr_recursive 12 | 13 | * bn_mul_low_recursive 14 | * bn_mul_low_normal 15 | * bn_mul_high 16 | 17 | * bn_mul_part_recursive # symetric but not power of 2 18 | 19 | bn_mul_asymetric_recursive # uneven, but do the chop up. 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/todo: -------------------------------------------------------------------------------- 1 | Cache RECP_CTX values 2 | make the result argument independant of the inputs. 3 | split up the _exp_ functions 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/cast/asm/readme: -------------------------------------------------------------------------------- 1 | There is a ppro flag in cast-586 which turns on/off 2 | generation of pentium pro/II friendly code 3 | 4 | This flag makes the inner loop one cycle longer, but generates 5 | code that runs %30 faster on the pentium pro/II, while only %7 slower 6 | on the pentium. By default, this flag is on. 7 | 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/DES.pm: -------------------------------------------------------------------------------- 1 | package DES; 2 | 3 | require Exporter; 4 | require DynaLoader; 5 | @ISA = qw(Exporter DynaLoader); 6 | # Items to export into callers namespace by default 7 | # (move infrequently used names to @EXPORT_OK below) 8 | @EXPORT = qw( 9 | ); 10 | # Other items we are prepared to export if requested 11 | @EXPORT_OK = qw( 12 | crypt 13 | ); 14 | 15 | # Preloaded methods go here. Autoload methods go after __END__, and are 16 | # processed by the autosplit program. 17 | bootstrap DES; 18 | 1; 19 | __END__ 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/t/test: -------------------------------------------------------------------------------- 1 | #!./perl 2 | 3 | BEGIN { push(@INC, qw(../../../lib ../../lib ../lib lib)); } 4 | 5 | use DES; 6 | 7 | $key='00000000'; 8 | $ks=DES::set_key($key); 9 | @a=split(//,$ks); 10 | foreach (@a) { printf "%02x-",ord($_); } 11 | print "\n"; 12 | 13 | 14 | $key=DES::random_key(); 15 | print "($_)\n"; 16 | @a=split(//,$key); 17 | foreach (@a) { printf "%02x-",ord($_); } 18 | print "\n"; 19 | $str="this is and again into the breach"; 20 | ($k1,$k2)=DES::string_to_2keys($str); 21 | @a=split(//,$k1); 22 | foreach (@a) { printf "%02x-",ord($_); } 23 | print "\n"; 24 | @a=split(//,$k2); 25 | foreach (@a) { printf "%02x-",ord($_); } 26 | print "\n"; 27 | 28 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/486-50.sol: -------------------------------------------------------------------------------- 1 | Solaris 2.4, 486 50mhz, gcc 2.6.3 2 | options des ecb/s 3 | 16 r2 i 43552.51 100.0% 4 | 16 r1 i 43487.45 99.9% 5 | 16 c p 43003.23 98.7% 6 | 16 r2 p 42339.00 97.2% 7 | 16 c i 41900.91 96.2% 8 | 16 r1 p 41360.64 95.0% 9 | 4 c i 38728.48 88.9% 10 | 4 c p 38225.63 87.8% 11 | 4 r1 i 38085.79 87.4% 12 | 4 r2 i 37825.64 86.9% 13 | 4 r2 p 34611.00 79.5% 14 | 4 r1 p 31802.00 73.0% 15 | -DDES_UNROLL -DDES_RISC2 16 | 17 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/586-100.lnx: -------------------------------------------------------------------------------- 1 | Pentium 100 2 | Linux 2 kernel 3 | gcc 2.7.0 -O3 -fomit-frame-pointer 4 | No X server running, just a console, it makes the top speed jump from 151,000 5 | to 158,000 :-). 6 | options des ecb/s 7 | assember 281000.00 177.1% 8 | 16 r1 p 158667.40 100.0% 9 | 16 r1 i 148471.70 93.6% 10 | 16 r2 p 143961.80 90.7% 11 | 16 r2 i 141689.20 89.3% 12 | 4 r1 i 140100.00 88.3% 13 | 4 r2 i 134049.40 84.5% 14 | 16 c i 124145.20 78.2% 15 | 16 c p 121584.20 76.6% 16 | 4 c i 118116.00 74.4% 17 | 4 r2 p 117977.90 74.4% 18 | 4 c p 114971.40 72.5% 19 | 4 r1 p 114578.40 72.2% 20 | -DDES_UNROLL -DDES_RISC1 -DDES_PTR 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/686-200.fre: -------------------------------------------------------------------------------- 1 | Pentium 100 2 | Free BSD 2.1.5 kernel 3 | gcc 2.7.2.2 -O3 -fomit-frame-pointer 4 | options des ecb/s 5 | assember 578000.00 133.1% 6 | 16 r2 i 434454.80 100.0% 7 | 16 r1 i 433621.43 99.8% 8 | 16 r2 p 431375.69 99.3% 9 | 4 r1 i 423722.30 97.5% 10 | 4 r2 i 422399.40 97.2% 11 | 16 r1 p 421739.40 97.1% 12 | 16 c i 399027.94 91.8% 13 | 16 c p 372251.70 85.7% 14 | 4 c i 365118.35 84.0% 15 | 4 c p 352880.51 81.2% 16 | 4 r2 p 255104.90 58.7% 17 | 4 r1 p 251289.18 57.8% 18 | -DDES_UNROLL -DDES_RISC2 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/aix.cc: -------------------------------------------------------------------------------- 1 | From: Paco Garcia 2 | 3 | This machine is a Bull Estrella Minitower Model MT604-100 4 | Processor : PPC604 5 | P.Speed : 100Mhz 6 | Data/Instr Cache : 16 K 7 | L2 Cache : 256 K 8 | PCI BUS Speed : 33 Mhz 9 | TransfRate PCI : 132 MB/s 10 | Memory : 96 MB 11 | 12 | options des ecb/s 13 | 4 c p 275118.61 100.0% 14 | 4 c i 273545.07 99.4% 15 | 4 r2 p 270441.02 98.3% 16 | 4 r1 p 253052.15 92.0% 17 | 4 r2 i 240842.97 87.5% 18 | 4 r1 i 240556.66 87.4% 19 | 16 c i 224603.99 81.6% 20 | 16 c p 224483.98 81.6% 21 | 16 r2 p 215691.19 78.4% 22 | 16 r1 p 208332.83 75.7% 23 | 16 r1 i 199206.50 72.4% 24 | 16 r2 i 198963.70 72.3% 25 | -DDES_PTR 26 | 27 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/alpha.cc: -------------------------------------------------------------------------------- 1 | cc -O2 2 | DES_LONG is 'unsigned int' 3 | 4 | options des ecb/s 5 | 4 r2 p 181146.14 100.0% 6 | 16 r2 p 172102.94 95.0% 7 | 4 r2 i 165424.11 91.3% 8 | 16 c p 160468.64 88.6% 9 | 4 c p 156653.59 86.5% 10 | 4 c i 155245.18 85.7% 11 | 4 r1 p 154729.68 85.4% 12 | 16 r2 i 154137.69 85.1% 13 | 16 r1 p 152357.96 84.1% 14 | 16 c i 148743.91 82.1% 15 | 4 r1 i 146695.59 81.0% 16 | 16 r1 i 144961.00 80.0% 17 | -DDES_RISC2 -DDES_PTR 18 | 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/hpux.cc: -------------------------------------------------------------------------------- 1 | HPUX 10 - 9000/887 - cc -D_HPUX_SOURCE -Aa +ESlit +O2 -Wl,-a,archive 2 | 3 | options des ecb/s 4 | 16 c i 149448.90 100.0% 5 | 4 c i 145861.79 97.6% 6 | 16 r2 i 141710.96 94.8% 7 | 16 r1 i 139455.33 93.3% 8 | 4 r2 i 138800.00 92.9% 9 | 4 r1 i 136692.65 91.5% 10 | 16 r2 p 110228.17 73.8% 11 | 16 r1 p 109397.07 73.2% 12 | 16 c p 109209.89 73.1% 13 | 4 c p 108014.71 72.3% 14 | 4 r2 p 107873.88 72.2% 15 | 4 r1 p 107685.83 72.1% 16 | -DDES_UNROLL 17 | 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/sparc.gcc: -------------------------------------------------------------------------------- 1 | solaris 2.5.1 - sparc 10 50mhz - gcc 2.7.2 2 | 3 | options des ecb/s 4 | 16 c i 124382.70 100.0% 5 | 4 c i 118884.68 95.6% 6 | 16 c p 112261.20 90.3% 7 | 16 r2 i 111777.10 89.9% 8 | 16 r2 p 108896.30 87.5% 9 | 16 r1 p 108791.59 87.5% 10 | 4 c p 107290.10 86.3% 11 | 4 r1 p 104583.80 84.1% 12 | 16 r1 i 104206.20 83.8% 13 | 4 r2 p 103709.80 83.4% 14 | 4 r2 i 98306.43 79.0% 15 | 4 r1 i 91525.80 73.6% 16 | -DDES_UNROLL 17 | 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/typemap: -------------------------------------------------------------------------------- 1 | # 2 | # DES SECTION 3 | # 4 | deschar * T_DESCHARP 5 | des_cblock * T_CBLOCK 6 | des_cblock T_CBLOCK 7 | des_key_schedule T_SCHEDULE 8 | des_key_schedule * T_SCHEDULE 9 | 10 | INPUT 11 | T_CBLOCK 12 | $var=(des_cblock *)SvPV($arg,len); 13 | if (len < DES_KEY_SZ) 14 | { 15 | croak(\"$var needs to be at least %u bytes long\",DES_KEY_SZ); 16 | } 17 | 18 | T_SCHEDULE 19 | $var=(des_key_schedule *)SvPV($arg,len); 20 | if (len < DES_SCHEDULE_SZ) 21 | { 22 | croak(\"$var needs to be at least %u bytes long\", 23 | DES_SCHEDULE_SZ); 24 | } 25 | 26 | OUTPUT 27 | T_CBLOCK 28 | sv_setpvn($arg,(char *)$var,DES_KEY_SZ); 29 | 30 | T_SCHEDULE 31 | sv_setpvn($arg,(char *)$var,DES_SCHEDULE_SZ); 32 | 33 | T_DESCHARP 34 | sv_setpvn($arg,(char *)$var,len); 35 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dh/dh1024.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIGHAoGBAJf2QmHKtQXdKCjhPx1ottPb0PMTBH9A6FbaWMsTuKG/K3g6TG1Z1fkq 3 | /Gz/PWk/eLI9TzFgqVAuPvr3q14a1aZeVUMTgo2oO5/y2UHe6VaJ+trqCTat3xlx 4 | /mNbIK9HA2RgPC3gWfVLZQrY+gz3ASHHR5nXWHEyvpuZm7m3h+irAgEC 5 | -----END DH PARAMETERS----- 6 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dh/dh192.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM= 3 | -----END DH PARAMETERS----- 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dh/dh2048.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIIBCAKCAQEA7ZKJNYJFVcs7+6J2WmkEYb8h86tT0s0h2v94GRFS8Q7B4lW9aG9o 3 | AFO5Imov5Jo0H2XMWTKKvbHbSe3fpxJmw/0hBHAY8H/W91hRGXKCeyKpNBgdL8sh 4 | z22SrkO2qCnHJ6PLAMXy5fsKpFmFor2tRfCzrfnggTXu2YOzzK7q62bmqVdmufEo 5 | pT8igNcLpvZxk5uBDvhakObMym9mX3rAEBoe8PwttggMYiiw7NuJKO4MqD1llGkW 6 | aVM8U2ATsCun1IKHrRxynkE1/MJ86VHeYYX8GZt2YA8z+GuzylIOKcMH6JAWzMwA 7 | Gbatw6QwizOhr9iMjZ0B26TE3X8LvW84wwIBAg== 8 | -----END DH PARAMETERS----- 9 | -----BEGIN DH PARAMETERS----- 10 | MIIBCAKCAQEArtA3w73zP6Lu3EOQtwogiXt3AXXpuS6yD4BhzNS1pZFyPHk0/an5 11 | 8ydEkPhQZHKDW+BZJxxPLANaTudWo2YT8TgtvUdN6KSgMiEi6McwqDw+SADuvW+F 12 | SKUYFxG6VFIxyEP6xBdf+vhJxEDbRG2EYsHDRRtJ76gp9cSKTHusf2R+4AAVGqnt 13 | gRAbNqtcOar/7FSj+Pl8G3v0Bty0LcCSpbqgYlnv6z+rErQmmC6PPvSz97TDMCok 14 | yKpCE9hFA1zkqK3TH4FmFvGeIaXJUIBZf4mArWuBTjWFW3nmhESRUn1VK3K3x42N 15 | a5k6c2+EhrMFiLjxuH6JZoqL0/E93FF9SwIBAg== 16 | -----END DH PARAMETERS----- 17 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dh/dh4096.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIICCAKCAgEA/urRnb6vkPYc/KEGXWnbCIOaKitq7ySIq9dTH7s+Ri59zs77zty7 3 | vfVlSe6VFTBWgYjD2XKUFmtqq6CqXMhVX5ElUDoYDpAyTH85xqNFLzFC7nKrff/H 4 | TFKNttp22cZE9V0IPpzedPfnQkE7aUdmF9JnDyv21Z/818O93u1B4r0szdnmEvEF 5 | bKuIxEHX+bp0ZR7RqE1AeifXGJX3d6tsd2PMAObxwwsv55RGkn50vHO4QxtTARr1 6 | rRUV5j3B3oPMgC7Offxx+98Xn45B1/G0Prp11anDsR1PGwtaCYipqsvMwQUSJtyE 7 | EOQWk+yFkeMe4vWv367eEi0Sd/wnC+TSXBE3pYvpYerJ8n1MceI5GQTdarJ77OW9 8 | bGTHmxRsLSCM1jpLdPja5jjb4siAa6EHc4qN9c/iFKS3PQPJEnX7pXKBRs5f7AF3 9 | W3RIGt+G9IVNZfXaS7Z/iCpgzgvKCs0VeqN38QsJGtC1aIkwOeyjPNy2G6jJ4yqH 10 | ovXYt/0mc00vCWeSNS1wren0pR2EiLxX0ypjjgsU1mk/Z3b/+zVf7fZSIB+nDLjb 11 | NPtUlJCVGnAeBK1J1nG3TQicqowOXoM6ISkdaXj5GPJdXHab2+S7cqhKGv5qC7rR 12 | jT6sx7RUr0CNTxzLI7muV2/a4tGmj0PSdXQdsZ7tw7gbXlaWT1+MM2MCAQI= 13 | -----END DH PARAMETERS----- 14 | 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dh/dh512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MEYCQQDaWDwW2YUiidDkr3VvTMqS3UvlM7gE+w/tlO+cikQD7VdGUNNpmdsp13Yn 3 | a6LT1BLiGPTdHghM9tgAPnxHdOgzAgEC 4 | -----END DH PARAMETERS----- 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dsa/README: -------------------------------------------------------------------------------- 1 | The stuff in here is based on patches supplied to me by 2 | Steven Schoch to do DSS. 3 | I have since modified a them a little but a debt of gratitude 4 | is due for doing the initial work. 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | #define HEADER_EBCDIC_H 5 | 6 | #include 7 | 8 | /* Avoid name clashes with other applications */ 9 | #define os_toascii _openssl_os_toascii 10 | #define os_toebcdic _openssl_os_toebcdic 11 | #define ebcdic2ascii _openssl_ebcdic2ascii 12 | #define ascii2ebcdic _openssl_ascii2ebcdic 13 | 14 | extern const unsigned char os_toascii[256]; 15 | extern const unsigned char os_toebcdic[256]; 16 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 17 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/fips_ers.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifdef OPENSSL_FIPS 4 | # include "fips_err.h" 5 | #else 6 | static void *dummy=&dummy; 7 | #endif 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/idea/version: -------------------------------------------------------------------------------- 1 | 1.1 07/12/95 - eay 2 | Many thanks to Rhys Weatherley 3 | for pointing out that I was assuming little endian byte 4 | order for all quantities what idea actually used 5 | bigendian. No where in the spec does it mention 6 | this, it is all in terms of 16 bit numbers and even the example 7 | does not use byte streams for the input example :-(. 8 | If you byte swap each pair of input, keys and iv, the functions 9 | would produce the output as the old version :-(. 10 | 11 | 1.0 ??/??/95 - eay 12 | First version. 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/lhash/num.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | #node 10 -> 4 4 | 5 | while (<>) 6 | { 7 | next unless /^node/; 8 | chop; 9 | @a=split; 10 | $num{$a[3]}++; 11 | } 12 | 13 | @a=sort {$a <=> $b } keys %num; 14 | foreach (0 .. $a[$#a]) 15 | { 16 | printf "%4d:%4d\n",$_,$num{$_}; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/modes/asm/ghash-armv4.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/modes/asm/ghash-armv4.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/modes/asm/ghash-x86.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/modes/asm/ghash-x86.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/opensslconf.h: -------------------------------------------------------------------------------- 1 | #include "../../config/opensslconf.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pem/message: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVACY-ENHANCED MESSAGE----- 2 | Proc-Type: 4,ENCRYPTED 3 | Proc-Type: 4,MIC-ONLY 4 | Proc-Type: 4,MIC-CLEAR 5 | Content-Domain: RFC822 6 | DEK-Info: DES-CBC,0123456789abcdef 7 | Originator-Certificate 8 | xxxx 9 | Issuer-Certificate 10 | xxxx 11 | MIC-Info: RSA-MD5,RSA, 12 | xxxx 13 | 14 | 15 | -----END PRIVACY-ENHANCED MESSAGE----- 16 | 17 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pkcs7/des.pem: -------------------------------------------------------------------------------- 1 | 2 | MIAGCSqGSIb3DQEHA6CAMIACAQAxggHmMIHwAgEAMIGZMIGSMQswCQYDVQQGEwJBVTETMBEG 3 | A1UECBMKUXVlZW5zbGFuZDERMA8GA1UEBxMIQnJpc2JhbmUxGjAYBgNVBAoTEUNyeXB0c29m 4 | dCBQdHkgTHRkMSIwIAYDVQQLExlERU1PTlNUUkFUSU9OIEFORCBURVNUSU5HMRswGQYDVQQD 5 | ExJERU1PIFpFUk8gVkFMVUUgQ0ECAgR+MA0GCSqGSIb3DQEBAQUABEC2vXI1xQDW6lUHM3zQ 6 | /9uBEBOO5A3TtkrklAXq7v01gsIC21t52qSk36REXY+slhNZ0OQ349tgkTsoETHFLoEwMIHw 7 | AgEAMIGZMIGSMQswCQYDVQQGEwJBVTETMBEGA1UECBMKUXVlZW5zbGFuZDERMA8GA1UEBxMI 8 | QnJpc2JhbmUxGjAYBgNVBAoTEUNyeXB0c29mdCBQdHkgTHRkMSIwIAYDVQQLExlERU1PTlNU 9 | UkFUSU9OIEFORCBURVNUSU5HMRswGQYDVQQDExJERU1PIFpFUk8gVkFMVUUgQ0ECAgR9MA0G 10 | CSqGSIb3DQEBAQUABEB8ujxbabxXUYJhopuDm3oDq4JNqX6Io4p3ro+ShqfIndsXTZ1v5a2N 11 | WtLLCWlHn/habjBwZ/DgQgcKASbZ7QxNMIAGCSqGSIb3DQEHATAaBggqhkiG9w0DAjAOAgIA 12 | oAQIbsL5v1wX98KggAQoAaJ4WHm68fXY1WE5OIjfVBIDpO1K+i8dmKhjnAjrjoyZ9Bwc8rDL 13 | lgQg4CXb805h5xl+GfvSwUaHJayte1m2mcOhs3J2YyqbQ+MEIMIiJQccmhO3oDKm36CFvYR8 14 | 5PjpclVcZyX2ngbwPFMnBAgy0clOAE6UKAAAAAAAAAAAAAA= 15 | 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pkcs7/doc: -------------------------------------------------------------------------------- 1 | int PKCS7_set_content_type(PKCS7 *p7, int type); 2 | Call to set the type of PKCS7 object we are working on 3 | 4 | int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, 5 | EVP_MD *dgst); 6 | Use this to setup a signer info 7 | There will also be functions to add signed and unsigned attributes. 8 | 9 | int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i); 10 | Add a signer info to the content. 11 | 12 | int PKCS7_add_certificae(PKCS7 *p7, X509 *x509); 13 | int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509); 14 | 15 | ---- 16 | 17 | p7=PKCS7_new(); 18 | PKCS7_set_content_type(p7,NID_pkcs7_signed); 19 | 20 | signer=PKCS7_SINGNER_INFO_new(); 21 | PKCS7_SIGNER_INFO_set(signer,x509,pkey,EVP_md5()); 22 | PKCS7_add_signer(py,signer); 23 | 24 | we are now setup. 25 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pkcs7/infokey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOgIBAAJBAK3nI4nuDYe3nDJES5WBc90igEstxWC4/h4YY+/ciYki35U8ets9 3 | mgaoCNYp/e9BCZHtvK2Y+fYokGJv5+cMTQsCAwEAAQJBAIHpvXvqEcOEoDRRHuIG 4 | fkcB4jPHcr9KE9TpxabH6xs9beN6OJnkePXAHwaz5MnUgSnbpOKq+cw8miKjXwe/ 5 | zVECIQDVLwncT2lRmXarEYHzb+q/0uaSvKhWKKt3kJasLNTrAwIhANDUc/ghut29 6 | p3jJYjurzUKuG774/5eLjPLsxPPIZzNZAiA/10hSq41UnGqHLEUIS9m2/EeEZe7b 7 | bm567dfRU9OnVQIgDo8ROrZXSchEGbaog5J5r/Fle83uO8l93R3GqVxKXZkCIFfk 8 | IPD5PIYQAyyod3hyKKza7ZP4CGY4oOfZetbkSGGG 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pkcs7/p7/a1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/pkcs7/p7/a1 -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pkcs7/p7/a2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/pkcs7/p7/a2 -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pkcs7/p7/cert.p7c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/pkcs7/p7/cert.p7c -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pkcs7/p7/smime.p7m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/pkcs7/p7/smime.p7m -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pkcs7/p7/smime.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/pkcs7/p7/smime.p7s -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/rc4/asm/rc4-x86_64.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/rc4/asm/rc4-x86_64.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/rc4/rc4_locl.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_RC4_LOCL_H 2 | #define HEADER_RC4_LOCL_H 3 | #include 4 | #include 5 | #endif 6 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/ripemd/README: -------------------------------------------------------------------------------- 1 | RIPEMD-160 2 | http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html 3 | 4 | This is my implementation of RIPEMD-160. The pentium assember is a little 5 | off the pace since I only get 1050 cycles, while the best is 1013. 6 | I have a few ideas for how to get another 20 or so cycles, but at 7 | this point I will not bother right now. I believe the trick will be 8 | to remove my 'copy X array onto stack' until inside the RIP1() finctions the 9 | first time round. To do this I need another register and will only have one 10 | temporary one. A bit tricky.... I can also cleanup the saving of the 5 words 11 | after the first half of the calculation. I should read the origional 12 | value, add then write. Currently I just save the new and read the origioal. 13 | I then read both at the end. Bad. 14 | 15 | eric (20-Jan-1998) 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/rsa/rsa_locl.h: -------------------------------------------------------------------------------- 1 | extern int int_rsa_verify(int dtype, const unsigned char *m, unsigned int m_len, 2 | unsigned char *rm, size_t *prm_len, 3 | const unsigned char *sigbuf, size_t siglen, 4 | RSA *rsa); 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/sha/asm/README: -------------------------------------------------------------------------------- 1 | C2.pl works 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/sha/asm/sha1-586.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/sha/asm/sha1-586.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/sha/asm/sha256-586.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/sha/asm/sha256-586.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/sha/asm/sha512-586.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/sha/asm/sha512-586.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/sparccpuid.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/sparccpuid.S -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/README: -------------------------------------------------------------------------------- 1 | Mutithreading testing area. 2 | 3 | Since this stuff is very very platorm specific, this is not part of the 4 | normal build. Have a read of doc/threads.doc. 5 | 6 | mttest will do some testing and will currently build under Windows NT/95, 7 | Solaris and Linux. The IRIX stuff is not finished. 8 | 9 | I have tested this program on a 12 CPU ultra sparc box (solaris 2.5.1) 10 | and things seem to work ok. 11 | 12 | The Linux pthreads package can be retrieved from 13 | http://www.mit.edu:8001/people/proven/pthreads.html 14 | 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/profile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/ptest.bat: -------------------------------------------------------------------------------- 1 | del mttest.exe 2 | 3 | purify cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssl32.lib ..\..\out\crypt32.lib 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/pthread.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # build using pthreads 4 | # 5 | # http://www.mit.edu:8001/people/proven/pthreads.html 6 | # 7 | /bin/rm -f mttest 8 | pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto 9 | 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/pthread2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # build using pthreads where it's already built into the system 4 | # 5 | /bin/rm -f mttest 6 | gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread 7 | 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/pthreads-vms.com: -------------------------------------------------------------------------------- 1 | $! To compile mttest on VMS. 2 | $! 3 | $! WARNING: only tested with DEC C so far. 4 | $ 5 | $ if (f$getsyi("cpu").lt.128) 6 | $ then 7 | $ arch := VAX 8 | $ else 9 | $ arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") 10 | $ if (arch .eqs. "") then arch = "UNK" 11 | $ endif 12 | $ define/user openssl [--.include.openssl] 13 | $ cc/def=PTHREADS mttest.c 14 | $ link mttest,[--.'arch'.exe.ssl]libssl/lib,[--.'arch'.exe.crypto]libcrypto/lib 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/purify.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/solaris.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/win32.bat: -------------------------------------------------------------------------------- 1 | del mttest.exe 2 | 3 | cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssleay32.lib ..\..\out\libeay32.lib 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/whrlpool/asm/wp-mmx.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/whrlpool/asm/wp-mmx.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/whrlpool/wp_locl.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void whirlpool_block(WHIRLPOOL_CTX *,const void *,size_t); 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/x509v3/v3_pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/x509v3/v3_pci.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/x509v3/v3_pcia.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/crypto/x509v3/v3_pcia.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/README: -------------------------------------------------------------------------------- 1 | NOTE: Don't expect any of these programs to work with current 2 | OpenSSL releases, or even with later SSLeay releases. 3 | 4 | Original README: 5 | ============================================================================= 6 | 7 | Some demo programs sent to me by various people 8 | 9 | eric 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/asn1/README.ASN1: -------------------------------------------------------------------------------- 1 | This is a demo of the new ASN1 code. Its an OCSP ASN1 module. Doesn't 2 | do much yet other than demonstrate what the new ASN1 modules might look 3 | like. 4 | 5 | It wont even compile yet: the new code isn't in place. 6 | 7 | 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/b64.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | # 4 | # Make PEM encoded data have lines of 64 bytes of data 5 | # 6 | 7 | while (<>) 8 | { 9 | if (/^-----BEGIN/ .. /^-----END/) 10 | { 11 | if (/^-----BEGIN/) { $first=$_; next; } 12 | if (/^-----END/) { $last=$_; next; } 13 | $out.=$_; 14 | } 15 | } 16 | $out =~ s/\s//g; 17 | $out =~ s/(.{64})/$1\n/g; 18 | print "$first$out\n$last\n"; 19 | 20 | 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/bio/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS= -g -I../../include 3 | LIBS= -L../.. ../../libssl.a ../../libcrypto.a 4 | EXAMPLES=saccept sconnect 5 | 6 | all: $(EXAMPLES) 7 | 8 | saccept: saccept.o 9 | $(CC) -o saccept saccept.o $(LIBS) 10 | 11 | sconnect: sconnect.o 12 | $(CC) -o sconnect sconnect.o $(LIBS) 13 | 14 | clean: 15 | rm -f $(EXAMPLES) *.o 16 | 17 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/bio/README: -------------------------------------------------------------------------------- 1 | This directory contains some simple examples of the use of BIO's 2 | to simplify socket programming. 3 | 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/cms/cakey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXgIBAAKBgQCqJMal1uC1/1wzi5+dE4EZF2im3BgROm5PVMbwPY9V1t+KYvtd 3 | c3rMcRgJaMbP+qaEcDXoIsZfYXGRielgfDNZmZcj1y/FOum+Jc2OZMs3ggPmjIQ3 4 | dbBECq0hZKcbz7wfr+2OeNWm46iTjcSIXpGIRhUYEzOgv7zb8oOU70IbbwIDAQAB 5 | AoGBAKWOZ2UTc1BkjDjz0XoscmAR8Rj77MdGzfOPkIxPultSW+3yZpkGNyUbnsH5 6 | HAtf4Avai/m3bMN+s91kDpx9/g/I9ZEHPQLcDICETvwt/EHT7+hwvaQgsM+TgpMs 7 | tjlGZOWent6wVIuvwwzqOMXZLgK9FvY7upwgtrys4G3Kab5hAkEA2QzFflWyEvKS 8 | rMSaVtn/IjFilwa7H0IdakkjM34z4peerFTPBr4J47YD4RCR/dAvxyNy3zUxtH18 9 | 9R6dUixI6QJBAMitJD0xOkbGWBX8KVJvRiKOIdf/95ZUAgN/h3bWKy57EB9NYj3u 10 | jbxXcvdjfSqiITykkjAg7SG7nrlzJsu6CpcCQG6gVsy0auXDY0TRlASuaZ6I40Is 11 | uRUOgqWYj2uAaHuWYdZeB4LdO3cnX0TISFDAWom6JKNlnmbrCtR4fSDT13kCQQCU 12 | +VQJyV3F5MDHsWbLt6eNR46AV5lpk/vatPXPlrZ/zwPs+PmRmGLICvNiDA2DdNDP 13 | wCx2Zjsj67CtY3rNitMJAkEAm09BQnjnbBXUb1rd2SjNDWTsu80Z+zLu8pAwXNhW 14 | 8nsvMYqlYMIxuMPwu/QuTnMRhMZ08uhqoD3ukZnBeoMEVg== 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/cms/comp.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Some Text To be Compressed 4 | Some Text To be Compressed 5 | Some Text To be Compressed 6 | Some Text To be Compressed 7 | Some Text To be Compressed 8 | Some Text To be Compressed 9 | Some Text To be Compressed 10 | Some Text To be Compressed 11 | Some Text To be Compressed 12 | Some Text To be Compressed 13 | Some Text To be Compressed 14 | Some Text To be Compressed 15 | Some Text To be Compressed 16 | Some Text To be Compressed 17 | Some Text To be Compressed 18 | Some Text To be Compressed 19 | Some Text To be Compressed 20 | Some Text To be Compressed 21 | Some Text To be Compressed 22 | Some Text To be Compressed 23 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/cms/encr.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Sample OpenSSL Data for CMS encryption 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/cms/sign.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Test OpenSSL CMS Signed Content 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/easy_tls/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/demos/easy_tls/README -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/easy_tls/test.h: -------------------------------------------------------------------------------- 1 | /* test.h */ 2 | /* $Id: test.h,v 1.1 2001/09/17 19:07:00 bodo Exp $ */ 3 | 4 | 5 | void test_process_init(int fd, int client_p, void *apparg); 6 | #define TLS_APP_PROCESS_INIT test_process_init 7 | 8 | #undef TLS_CUMULATE_ERRORS 9 | 10 | void test_errflush(int child_p, char *errbuf, size_t num, void *apparg); 11 | #define TLS_APP_ERRFLUSH test_errflush 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/eay/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS= -g -I../../include 3 | #LIBS= -L../.. -lcrypto -lssl 4 | LIBS= -L../.. ../../libssl.a ../../libcrypto.a 5 | 6 | # the file conn.c requires a file "proxy.h" which I couldn't find... 7 | #EXAMPLES=base64 conn loadrsa 8 | EXAMPLES=base64 loadrsa 9 | 10 | all: $(EXAMPLES) 11 | 12 | base64: base64.o 13 | $(CC) -o base64 base64.o $(LIBS) 14 | # 15 | # sorry... can't find "proxy.h" 16 | #conn: conn.o 17 | # $(CC) -o conn conn.o $(LIBS) 18 | 19 | loadrsa: loadrsa.o 20 | $(CC) -o loadrsa loadrsa.o $(LIBS) 21 | 22 | clean: 23 | rm -f $(EXAMPLES) *.o 24 | 25 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/cluster_labs/hw_cluster_labs.ec: -------------------------------------------------------------------------------- 1 | # configuration file for util/mkerr.pl 2 | # 3 | # use like this: 4 | # 5 | # perl ../../../util/mkerr.pl -conf hw_cluster_labs.ec \ 6 | # -nostatic -staticloader -write *.c 7 | 8 | L CL hw_cluster_labs_err.h hw_cluster_labs_err.c 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/ibmca/hw_ibmca.ec: -------------------------------------------------------------------------------- 1 | # configuration file for util/mkerr.pl 2 | # 3 | # use like this: 4 | # 5 | # perl ../../../util/mkerr.pl -conf hw_ibmca.ec \ 6 | # -nostatic -staticloader -write *.c 7 | 8 | L IBMCA hw_ibmca_err.h hw_ibmca_err.c 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/rsaref/README: -------------------------------------------------------------------------------- 1 | librsaref.so is a demonstration dynamic engine that does RSA 2 | operations using the old RSAref 2.0 implementation. 3 | 4 | To make proper use of this engine, you must download RSAref 2.0 5 | (search the web for rsaref.tar.Z for example) and unpack it in this 6 | directory, so you'll end up having the subdirectories "install" and 7 | "source" among others. 8 | 9 | To build, do the following: 10 | 11 | make 12 | 13 | This will list a number of available targets to choose from. Most of 14 | them are architecture-specific. The exception is "gnu" which is to be 15 | used on systems where GNU ld and gcc have been installed in such a way 16 | that gcc uses GNU ld to link together programs and shared libraries. 17 | 18 | The make file assumes you use gcc. To change that, just reassign CC: 19 | 20 | make CC=cc 21 | 22 | The result is librsaref.so, which you can copy to any place you wish. 23 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/rsaref/rsaref.ec: -------------------------------------------------------------------------------- 1 | # configuration file for util/mkerr.pl 2 | # 3 | # use like this: 4 | # 5 | # perl ../../../util/mkerr.pl -conf rsaref.ec \ 6 | # -nostatic -staticloader -write *.c 7 | 8 | L RSAREF rsaref_err.h rsaref_err.c 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/zencod/hw_zencod.ec: -------------------------------------------------------------------------------- 1 | # configuration file for util/mkerr.pl 2 | # 3 | # use like this: 4 | # 5 | # perl ../../../util/mkerr.pl -conf hw_zencod.ec \ 6 | # -nostatic -staticloader -write *.c 7 | 8 | L ZENCOD hw_zencod_err.h hw_zencod_err.c 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/maurice/loadkeys.h: -------------------------------------------------------------------------------- 1 | /* NOCW */ 2 | /* 3 | Please read the README file for condition of use, before 4 | using this software. 5 | 6 | Maurice Gittens January 1997 7 | 8 | */ 9 | 10 | #ifndef LOADKEYS_H_SEEN 11 | #define LOADKEYS_H_SEEN 12 | 13 | #include 14 | 15 | EVP_PKEY * ReadPublicKey(const char *certfile); 16 | EVP_PKEY *ReadPrivateKey(const char *keyfile); 17 | 18 | #endif 19 | 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/pkcs12/README: -------------------------------------------------------------------------------- 1 | PKCS#12 demo applications 2 | 3 | Written by Steve Henson. 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/prime/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS= -g -I../../include -Wall 3 | LIBS= -L../.. -lcrypto 4 | EXAMPLES=prime 5 | 6 | all: $(EXAMPLES) 7 | 8 | prime: prime.o 9 | $(CC) -o prime prime.o $(LIBS) 10 | 11 | clean: 12 | rm -f $(EXAMPLES) *.o 13 | 14 | test: all 15 | @echo Test creating a 128-bit prime 16 | ./prime 128 17 | @echo Test creating a 256-bit prime 18 | ./prime 256 19 | @echo Test creating a 512-bit prime 20 | ./prime 512 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/privkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBAN+FmbxmHVOp/RxtpMGz0DvQEBz1sDktHp19hIoMSu0YZift5MAu 3 | 4xAEJYvWVCshDiyOTWsUBXwZkrkt87FyctkCAwEAAQJAG/vxBGpQb6IPo1iC0RF/ 4 | F430BnwoBPCGLbeCOXpSgx5X+19vuTSdEqMgeNB6+aNb+XY/7mvVfCjyD6WZ0oxs 5 | JQIhAPO+uL9cP40lFs62pdL3QSWsh3VNDByvOtr9LpeaxBm/AiEA6sKVfXsDQ5hd 6 | SHt9U61r2r8Lcxmzi9Kw6JNqjMmzqWcCIQCKoRy+aZ8Tjdas9yDVHh+FZ90bEBkl 7 | b1xQFNOdEj8aTQIhAOJWrO6INYNsWTPS6+hLYZtLamyUsQj0H+B8kNQge/mtAiEA 8 | nBfvUl243qbqN8gF7Az1u33uc9FsPVvQPiBzLxZ4ixw= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/sign/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS= -g -I../../include -Wall 3 | LIBS= -L../.. -lcrypto 4 | EXAMPLES=sign 5 | 6 | all: $(EXAMPLES) 7 | 8 | sign: sign.o 9 | $(CC) -o sign sign.o $(LIBS) 10 | 11 | clean: 12 | rm -f $(EXAMPLES) *.o 13 | 14 | test: all 15 | ./sign 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/sign/cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICLDCCAdYCAQAwDQYJKoZIhvcNAQEEBQAwgaAxCzAJBgNVBAYTAlBUMRMwEQYD 3 | VQQIEwpRdWVlbnNsYW5kMQ8wDQYDVQQHEwZMaXNib2ExFzAVBgNVBAoTDk5ldXJv 4 | bmlvLCBMZGEuMRgwFgYDVQQLEw9EZXNlbnZvbHZpbWVudG8xGzAZBgNVBAMTEmJy 5 | dXR1cy5uZXVyb25pby5wdDEbMBkGCSqGSIb3DQEJARYMc2FtcG9AaWtpLmZpMB4X 6 | DTk2MDkwNTAzNDI0M1oXDTk2MTAwNTAzNDI0M1owgaAxCzAJBgNVBAYTAlBUMRMw 7 | EQYDVQQIEwpRdWVlbnNsYW5kMQ8wDQYDVQQHEwZMaXNib2ExFzAVBgNVBAoTDk5l 8 | dXJvbmlvLCBMZGEuMRgwFgYDVQQLEw9EZXNlbnZvbHZpbWVudG8xGzAZBgNVBAMT 9 | EmJydXR1cy5uZXVyb25pby5wdDEbMBkGCSqGSIb3DQEJARYMc2FtcG9AaWtpLmZp 10 | MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAL7+aty3S1iBA/+yxjxv4q1MUTd1kjNw 11 | L4lYKbpzzlmC5beaQXeQ2RmGMTXU+mDvuqItjVHOK3DvPK7lTcSGftUCAwEAATAN 12 | BgkqhkiG9w0BAQQFAANBAFqPEKFjk6T6CKTHvaQeEAsX0/8YHPHqH/9AnhSjrwuX 13 | 9EBc0n6bVGhN7XaXd6sJ7dym9sbsWxb+pJdurnkxjx4= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/sign/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBAL7+aty3S1iBA/+yxjxv4q1MUTd1kjNwL4lYKbpzzlmC5beaQXeQ 3 | 2RmGMTXU+mDvuqItjVHOK3DvPK7lTcSGftUCAwEAAQJBALjkK+jc2+iihI98riEF 4 | oudmkNziSRTYjnwjx8mCoAjPWviB3c742eO3FG4/soi1jD9A5alihEOXfUzloenr 5 | 8IECIQD3B5+0l+68BA/6d76iUNqAAV8djGTzvxnCxycnxPQydQIhAMXt4trUI3nc 6 | a+U8YL2HPFA3gmhBsSICbq2OptOCnM7hAiEA6Xi3JIQECob8YwkRj29DU3/4WYD7 7 | WLPgsQpwo1GuSpECICGsnWH5oaeD9t9jbFoSfhJvv0IZmxdcLpRcpslpeWBBAiEA 8 | 6/5B8J0GHdJq89FHwEG/H2eVVUYu5y/aD6sgcm+0Avg= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/smime/cakey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXgIBAAKBgQCqJMal1uC1/1wzi5+dE4EZF2im3BgROm5PVMbwPY9V1t+KYvtd 3 | c3rMcRgJaMbP+qaEcDXoIsZfYXGRielgfDNZmZcj1y/FOum+Jc2OZMs3ggPmjIQ3 4 | dbBECq0hZKcbz7wfr+2OeNWm46iTjcSIXpGIRhUYEzOgv7zb8oOU70IbbwIDAQAB 5 | AoGBAKWOZ2UTc1BkjDjz0XoscmAR8Rj77MdGzfOPkIxPultSW+3yZpkGNyUbnsH5 6 | HAtf4Avai/m3bMN+s91kDpx9/g/I9ZEHPQLcDICETvwt/EHT7+hwvaQgsM+TgpMs 7 | tjlGZOWent6wVIuvwwzqOMXZLgK9FvY7upwgtrys4G3Kab5hAkEA2QzFflWyEvKS 8 | rMSaVtn/IjFilwa7H0IdakkjM34z4peerFTPBr4J47YD4RCR/dAvxyNy3zUxtH18 9 | 9R6dUixI6QJBAMitJD0xOkbGWBX8KVJvRiKOIdf/95ZUAgN/h3bWKy57EB9NYj3u 10 | jbxXcvdjfSqiITykkjAg7SG7nrlzJsu6CpcCQG6gVsy0auXDY0TRlASuaZ6I40Is 11 | uRUOgqWYj2uAaHuWYdZeB4LdO3cnX0TISFDAWom6JKNlnmbrCtR4fSDT13kCQQCU 12 | +VQJyV3F5MDHsWbLt6eNR46AV5lpk/vatPXPlrZ/zwPs+PmRmGLICvNiDA2DdNDP 13 | wCx2Zjsj67CtY3rNitMJAkEAm09BQnjnbBXUb1rd2SjNDWTsu80Z+zLu8pAwXNhW 14 | 8nsvMYqlYMIxuMPwu/QuTnMRhMZ08uhqoD3ukZnBeoMEVg== 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/smime/encr.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Sample OpenSSL Data for PKCS#7 encryption 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/smime/sign.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Test OpenSSL Signed Content 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/ssltest-ecc/README: -------------------------------------------------------------------------------- 1 | Scripts for using ECC ciphersuites with test/testssl 2 | (these ciphersuites are described in the Internet Draft available at 3 | http://www.ietf.org/internet-drafts/draft-ietf-tls-ecc-03.txt). 4 | 5 | Use ECCcertgen.sh, RSAcertgen.sh, ECC-RSAcertgen.sh to generate 6 | root, client and server certs of the following types: 7 | 8 | ECC certs signed with ECDSA 9 | RSA certs signed with RSA 10 | ECC certs signed with RSA 11 | 12 | Afterwards, you can use ssltest.sh to run the various tests; 13 | specify one of the following options: 14 | 15 | aecdh, ecdh-ecdsa, ecdhe-ecdsa, ecdh-rsa, ecdhe-rsa 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/state_machine/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS=-I../../include -Wall -Werror -g 2 | 3 | all: state_machine 4 | 5 | state_machine: state_machine.o 6 | $(CC) -o state_machine state_machine.o -L../.. -lssl -lcrypto 7 | 8 | test: state_machine 9 | ./state_machine 10000 ../../apps/server.pem ../../apps/server.pem 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/tunala/Makefile.am: -------------------------------------------------------------------------------- 1 | # Our includes come from the OpenSSL build-tree we're in 2 | INCLUDES = -I$(top_builddir)/../../include 3 | 4 | bin_PROGRAMS = tunala 5 | 6 | tunala_SOURCES = tunala.c buffer.c cb.c ip.c sm.c breakage.c 7 | tunala_LDADD = -L$(top_builddir)/../.. -lssl -lcrypto 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/tunala/autoungunk.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script tries to clean up as much as is possible from whatever diabolical 4 | # mess has been left in the directory thanks to autoconf, automake, and their 5 | # friends. 6 | 7 | if test -f Makefile.plain; then 8 | if test -f Makefile; then 9 | make distclean 10 | fi 11 | mv Makefile.plain Makefile 12 | else 13 | make clean 14 | fi 15 | 16 | rm -f aclocal.m4 config.* configure install-sh \ 17 | missing mkinstalldirs stamp-h.* Makefile.in \ 18 | ltconfig ltmain.sh depcomp 19 | rm -rf autom4te.cache 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/tunala/configure.in: -------------------------------------------------------------------------------- 1 | dnl Process this file with autoconf to produce a configure script. 2 | AC_INIT(tunala.c) 3 | AM_CONFIG_HEADER(config.h) 4 | AM_INIT_AUTOMAKE(tunala, 0.0.1-dev) 5 | 6 | dnl Checks for programs. (Though skip libtool) 7 | AC_PROG_CC 8 | dnl AC_PROG_LIBTOOL 9 | dnl AM_PROG_LIBTOOL 10 | 11 | dnl Checks for libraries. 12 | AC_CHECK_LIB(dl, dlopen) 13 | AC_CHECK_LIB(z, inflate) 14 | AC_CHECK_LIB(socket, socket) 15 | AC_CHECK_LIB(nsl, gethostbyname) 16 | 17 | dnl Checks for header files. 18 | AC_HEADER_STDC 19 | AC_CHECK_HEADERS(fcntl.h limits.h unistd.h) 20 | 21 | dnl Checks for typedefs, structures, and compiler characteristics. 22 | AC_C_CONST 23 | 24 | dnl Checks for library functions. 25 | AC_CHECK_FUNCS(strstr strtoul) 26 | AC_CHECK_FUNCS(select socket) 27 | AC_CHECK_FUNCS(dlopen) 28 | 29 | AC_OUTPUT(Makefile) 30 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/x509/README: -------------------------------------------------------------------------------- 1 | This directory contains examples of how to contruct 2 | various X509 structures. Certificates, certificate requests 3 | and CRLs. 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/HOWTO/proxy_certificates.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/doc/HOWTO/proxy_certificates.txt -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/README: -------------------------------------------------------------------------------- 1 | 2 | apps/openssl.pod .... Documentation of OpenSSL `openssl' command 3 | crypto/crypto.pod ... Documentation of OpenSSL crypto.h+libcrypto.a 4 | ssl/ssl.pod ......... Documentation of OpenSSL ssl.h+libssl.a 5 | openssl.txt ......... Assembled documentation files for OpenSSL [not final] 6 | ssleay.txt .......... Assembled documentation of ancestor SSLeay [obsolete] 7 | standards.txt ....... Assembled pointers to standards, RFCs or internet drafts 8 | that are related to OpenSSL. 9 | 10 | An archive of HTML documents for the SSLeay library is available from 11 | http://www.columbia.edu/~ariel/ssleay/ 12 | 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/apps/errstr.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | errstr - lookup error codes 6 | 7 | =head1 SYNOPSIS 8 | 9 | B 10 | 11 | =head1 DESCRIPTION 12 | 13 | Sometimes an application will not load error message and only 14 | numerical forms will be available. The B utility can be used to 15 | display the meaning of the hex code. The hex code is the hex digits after the 16 | second colon. 17 | 18 | =head1 EXAMPLE 19 | 20 | The error code: 21 | 22 | 27594:error:2006D080:lib(32):func(109):reason(128):bss_file.c:107: 23 | 24 | can be displayed with: 25 | 26 | openssl errstr 2006D080 27 | 28 | to produce the error message: 29 | 30 | error:2006D080:BIO routines:BIO_new_file:no such file 31 | 32 | =head1 SEE ALSO 33 | 34 | L, 35 | L, 36 | L 37 | 38 | 39 | =cut 40 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/BIO_f_null.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | BIO_f_null - null filter 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | BIO_METHOD * BIO_f_null(void); 12 | 13 | =head1 DESCRIPTION 14 | 15 | BIO_f_null() returns the null filter BIO method. This is a filter BIO 16 | that does nothing. 17 | 18 | All requests to a null filter BIO are passed through to the next BIO in 19 | the chain: this means that a BIO chain containing a null filter BIO 20 | behaves just as though the BIO was not there. 21 | 22 | =head1 NOTES 23 | 24 | As may be apparent a null filter BIO is not particularly useful. 25 | 26 | =head1 RETURN VALUES 27 | 28 | BIO_f_null() returns the null filter BIO method. 29 | 30 | =head1 SEE ALSO 31 | 32 | TBA 33 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/BIO_s_null.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | BIO_s_null - null data sink 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | BIO_METHOD * BIO_s_null(void); 12 | 13 | =head1 DESCRIPTION 14 | 15 | BIO_s_null() returns the null sink BIO method. Data written to 16 | the null sink is discarded, reads return EOF. 17 | 18 | =head1 NOTES 19 | 20 | A null sink BIO behaves in a similar manner to the Unix /dev/null 21 | device. 22 | 23 | A null bio can be placed on the end of a chain to discard any data 24 | passed through it. 25 | 26 | A null sink is useful if, for example, an application wishes to digest some 27 | data by writing through a digest bio but not send the digested data anywhere. 28 | Since a BIO chain must normally include a source/sink BIO this can be achieved 29 | by adding a null sink BIO to the end of the chain 30 | 31 | =head1 RETURN VALUES 32 | 33 | BIO_s_null() returns the null sink BIO method. 34 | 35 | =head1 SEE ALSO 36 | 37 | TBA 38 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/BN_copy.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | BN_copy, BN_dup - copy BIGNUMs 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | BIGNUM *BN_copy(BIGNUM *to, const BIGNUM *from); 12 | 13 | BIGNUM *BN_dup(const BIGNUM *from); 14 | 15 | =head1 DESCRIPTION 16 | 17 | BN_copy() copies B to B. BN_dup() creates a new B 18 | containing the value B. 19 | 20 | =head1 RETURN VALUES 21 | 22 | BN_copy() returns B on success, NULL on error. BN_dup() returns 23 | the new B, and NULL on error. The error codes can be obtained 24 | by L. 25 | 26 | =head1 SEE ALSO 27 | 28 | L, L 29 | 30 | =head1 HISTORY 31 | 32 | BN_copy() and BN_dup() are available in all versions of SSLeay and OpenSSL. 33 | 34 | =cut 35 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/BN_swap.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | BN_swap - exchange BIGNUMs 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | void BN_swap(BIGNUM *a, BIGNUM *b); 12 | 13 | =head1 DESCRIPTION 14 | 15 | BN_swap() exchanges the values of I and I. 16 | 17 | L 18 | 19 | =head1 HISTORY 20 | 21 | BN_swap was added in OpenSSL 0.9.7. 22 | 23 | =cut 24 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/DH_get_ex_new_index.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data - add application specific data to DH structures 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int DH_get_ex_new_index(long argl, void *argp, 12 | CRYPTO_EX_new *new_func, 13 | CRYPTO_EX_dup *dup_func, 14 | CRYPTO_EX_free *free_func); 15 | 16 | int DH_set_ex_data(DH *d, int idx, void *arg); 17 | 18 | char *DH_get_ex_data(DH *d, int idx); 19 | 20 | =head1 DESCRIPTION 21 | 22 | These functions handle application specific data in DH 23 | structures. Their usage is identical to that of 24 | RSA_get_ex_new_index(), RSA_set_ex_data() and RSA_get_ex_data() 25 | as described in L. 26 | 27 | =head1 SEE ALSO 28 | 29 | L, L 30 | 31 | =head1 HISTORY 32 | 33 | DH_get_ex_new_index(), DH_set_ex_data() and DH_get_ex_data() are 34 | available since OpenSSL 0.9.5. 35 | 36 | =cut 37 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/DH_size.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | DH_size - get Diffie-Hellman prime size 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int DH_size(DH *dh); 12 | 13 | =head1 DESCRIPTION 14 | 15 | This function returns the Diffie-Hellman size in bytes. It can be used 16 | to determine how much memory must be allocated for the shared secret 17 | computed by DH_compute_key(). 18 | 19 | Bp> must not be B. 20 | 21 | =head1 RETURN VALUE 22 | 23 | The size in bytes. 24 | 25 | =head1 SEE ALSO 26 | 27 | L, L 28 | 29 | =head1 HISTORY 30 | 31 | DH_size() is available in all versions of SSLeay and OpenSSL. 32 | 33 | =cut 34 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/DSA_dup_DH.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | DSA_dup_DH - create a DH structure out of DSA structure 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | DH * DSA_dup_DH(const DSA *r); 12 | 13 | =head1 DESCRIPTION 14 | 15 | DSA_dup_DH() duplicates DSA parameters/keys as DH parameters/keys. q 16 | is lost during that conversion, but the resulting DH parameters 17 | contain its length. 18 | 19 | =head1 RETURN VALUE 20 | 21 | DSA_dup_DH() returns the new B structure, and NULL on error. The 22 | error codes can be obtained by L. 23 | 24 | =head1 NOTE 25 | 26 | Be careful to avoid small subgroup attacks when using this. 27 | 28 | =head1 SEE ALSO 29 | 30 | L, L, L 31 | 32 | =head1 HISTORY 33 | 34 | DSA_dup_DH() was added in OpenSSL 0.9.4. 35 | 36 | =cut 37 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/DSA_generate_key.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | DSA_generate_key - generate DSA key pair 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int DSA_generate_key(DSA *a); 12 | 13 | =head1 DESCRIPTION 14 | 15 | DSA_generate_key() expects B to contain DSA parameters. It generates 16 | a new key pair and stores it in Bpub_key> and Bpriv_key>. 17 | 18 | The PRNG must be seeded prior to calling DSA_generate_key(). 19 | 20 | =head1 RETURN VALUE 21 | 22 | DSA_generate_key() returns 1 on success, 0 otherwise. 23 | The error codes can be obtained by L. 24 | 25 | =head1 SEE ALSO 26 | 27 | L, L, L, 28 | L 29 | 30 | =head1 HISTORY 31 | 32 | DSA_generate_key() is available since SSLeay 0.8. 33 | 34 | =cut 35 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/DSA_size.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | DSA_size - get DSA signature size 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int DSA_size(const DSA *dsa); 12 | 13 | =head1 DESCRIPTION 14 | 15 | This function returns the size of an ASN.1 encoded DSA signature in 16 | bytes. It can be used to determine how much memory must be allocated 17 | for a DSA signature. 18 | 19 | Bq> must not be B. 20 | 21 | =head1 RETURN VALUE 22 | 23 | The size in bytes. 24 | 25 | =head1 SEE ALSO 26 | 27 | L, L 28 | 29 | =head1 HISTORY 30 | 31 | DSA_size() is available in all versions of SSLeay and OpenSSL. 32 | 33 | =cut 34 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/ERR_clear_error.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | ERR_clear_error - clear the error queue 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | void ERR_clear_error(void); 12 | 13 | =head1 DESCRIPTION 14 | 15 | ERR_clear_error() empties the current thread's error queue. 16 | 17 | =head1 RETURN VALUES 18 | 19 | ERR_clear_error() has no return value. 20 | 21 | =head1 SEE ALSO 22 | 23 | L, L 24 | 25 | =head1 HISTORY 26 | 27 | ERR_clear_error() is available in all versions of SSLeay and OpenSSL. 28 | 29 | =cut 30 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/ERR_remove_state.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | ERR_remove_state - free a thread's error queue 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | void ERR_remove_state(unsigned long pid); 12 | 13 | =head1 DESCRIPTION 14 | 15 | ERR_remove_state() frees the error queue associated with thread B. 16 | If B == 0, the current thread will have its error queue removed. 17 | 18 | Since error queue data structures are allocated automatically for new 19 | threads, they must be freed when threads are terminated in order to 20 | avoid memory leaks. 21 | 22 | =head1 RETURN VALUE 23 | 24 | ERR_remove_state() returns no value. 25 | 26 | =head1 SEE ALSO 27 | 28 | L 29 | 30 | =head1 HISTORY 31 | 32 | ERR_remove_state() is available in all versions of SSLeay and OpenSSL. 33 | 34 | =cut 35 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/ERR_set_mark.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | ERR_set_mark, ERR_pop_to_mark - set marks and pop errors until mark 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int ERR_set_mark(void); 12 | 13 | int ERR_pop_to_mark(void); 14 | 15 | =head1 DESCRIPTION 16 | 17 | ERR_set_mark() sets a mark on the current topmost error record if there 18 | is one. 19 | 20 | ERR_pop_to_mark() will pop the top of the error stack until a mark is found. 21 | The mark is then removed. If there is no mark, the whole stack is removed. 22 | 23 | =head1 RETURN VALUES 24 | 25 | ERR_set_mark() returns 0 if the error stack is empty, otherwise 1. 26 | 27 | ERR_pop_to_mark() returns 0 if there was no mark in the error stack, which 28 | implies that the stack became empty, otherwise 1. 29 | 30 | =head1 SEE ALSO 31 | 32 | L 33 | 34 | =head1 HISTORY 35 | 36 | ERR_set_mark() and ERR_pop_to_mark() were added in OpenSSL 0.9.8. 37 | 38 | =cut 39 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/OPENSSL_Applink.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | OPENSSL_Applink - glue between OpenSSL BIO and Win32 compiler run-time 6 | 7 | =head1 SYNOPSIS 8 | 9 | __declspec(dllexport) void **OPENSSL_Applink(); 10 | 11 | =head1 DESCRIPTION 12 | 13 | OPENSSL_Applink is application-side interface which provides a glue 14 | between OpenSSL BIO layer and Win32 compiler run-time environment. 15 | Even though it appears at application side, it's essentially OpenSSL 16 | private interface. For this reason application developers are not 17 | expected to implement it, but to compile provided module with 18 | compiler of their choice and link it into the target application. 19 | The referred module is available as /ms/applink.c. 20 | 21 | =cut 22 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/RAND_cleanup.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | RAND_cleanup - erase the PRNG state 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | void RAND_cleanup(void); 12 | 13 | =head1 DESCRIPTION 14 | 15 | RAND_cleanup() erases the memory used by the PRNG. 16 | 17 | =head1 RETURN VALUE 18 | 19 | RAND_cleanup() returns no value. 20 | 21 | =head1 SEE ALSO 22 | 23 | L 24 | 25 | =head1 HISTORY 26 | 27 | RAND_cleanup() is available in all versions of SSLeay and OpenSSL. 28 | 29 | =cut 30 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/RSA_size.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | RSA_size - get RSA modulus size 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int RSA_size(const RSA *rsa); 12 | 13 | =head1 DESCRIPTION 14 | 15 | This function returns the RSA modulus size in bytes. It can be used to 16 | determine how much memory must be allocated for an RSA encrypted 17 | value. 18 | 19 | Bn> must not be B. 20 | 21 | =head1 RETURN VALUE 22 | 23 | The size in bytes. 24 | 25 | =head1 SEE ALSO 26 | 27 | L 28 | 29 | =head1 HISTORY 30 | 31 | RSA_size() is available in all versions of SSLeay and OpenSSL. 32 | 33 | =cut 34 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_ASN1_OBJECT.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_ASN1_OBJECT, i2d_ASN1_OBJECT - ASN1 OBJECT IDENTIFIER functions 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, unsigned char **pp, long length); 12 | int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp); 13 | 14 | =head1 DESCRIPTION 15 | 16 | These functions decode and encode an ASN1 OBJECT IDENTIFIER. 17 | 18 | Othewise these behave in a similar way to d2i_X509() and i2d_X509() 19 | described in the L manual page. 20 | 21 | =head1 SEE ALSO 22 | 23 | L 24 | 25 | =head1 HISTORY 26 | 27 | TBA 28 | 29 | =cut 30 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_DHparams.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_DHparams, i2d_DHparams - PKCS#3 DH parameter functions. 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | DH *d2i_DHparams(DH **a, unsigned char **pp, long length); 12 | int i2d_DHparams(DH *a, unsigned char **pp); 13 | 14 | =head1 DESCRIPTION 15 | 16 | These functions decode and encode PKCS#3 DH parameters using the 17 | DHparameter structure described in PKCS#3. 18 | 19 | Othewise these behave in a similar way to d2i_X509() and i2d_X509() 20 | described in the L manual page. 21 | 22 | =head1 SEE ALSO 23 | 24 | L 25 | 26 | =head1 HISTORY 27 | 28 | TBA 29 | 30 | =cut 31 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_X509_ALGOR.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_X509_ALGOR, i2d_X509_ALGOR - AlgorithmIdentifier functions. 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | X509_ALGOR *d2i_X509_ALGOR(X509_ALGOR **a, unsigned char **pp, long length); 12 | int i2d_X509_ALGOR(X509_ALGOR *a, unsigned char **pp); 13 | 14 | =head1 DESCRIPTION 15 | 16 | These functions decode and encode an B structure which is 17 | equivalent to the B structure. 18 | 19 | Othewise these behave in a similar way to d2i_X509() and i2d_X509() 20 | described in the L manual page. 21 | 22 | =head1 SEE ALSO 23 | 24 | L 25 | 26 | =head1 HISTORY 27 | 28 | TBA 29 | 30 | =cut 31 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_X509_NAME.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_X509_NAME, i2d_X509_NAME - X509_NAME encoding functions 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | X509_NAME *d2i_X509_NAME(X509_NAME **a, unsigned char **pp, long length); 12 | int i2d_X509_NAME(X509_NAME *a, unsigned char **pp); 13 | 14 | =head1 DESCRIPTION 15 | 16 | These functions decode and encode an B structure which is the 17 | the same as the B type defined in RFC2459 (and elsewhere) and used 18 | for example in certificate subject and issuer names. 19 | 20 | Othewise the functions behave in a similar way to d2i_X509() and i2d_X509() 21 | described in the L manual page. 22 | 23 | =head1 SEE ALSO 24 | 25 | L 26 | 27 | =head1 HISTORY 28 | 29 | TBA 30 | 31 | =cut 32 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_X509_REQ.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_X509_REQ, i2d_X509_REQ, d2i_X509_REQ_bio, d2i_X509_REQ_fp, 6 | i2d_X509_REQ_bio, i2d_X509_REQ_fp - PKCS#10 certificate request functions. 7 | 8 | =head1 SYNOPSIS 9 | 10 | #include 11 | 12 | X509_REQ *d2i_X509_REQ(X509_REQ **a, const unsigned char **pp, long length); 13 | int i2d_X509_REQ(X509_REQ *a, unsigned char **pp); 14 | 15 | X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **x); 16 | X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **x); 17 | 18 | int i2d_X509_REQ_bio(BIO *bp, X509_REQ *x); 19 | int i2d_X509_REQ_fp(FILE *fp, X509_REQ *x); 20 | 21 | =head1 DESCRIPTION 22 | 23 | These functions decode and encode a PKCS#10 certificate request. 24 | 25 | Othewise these behave in a similar way to d2i_X509() and i2d_X509() 26 | described in the L manual page. 27 | 28 | =head1 SEE ALSO 29 | 30 | L 31 | 32 | =head1 HISTORY 33 | 34 | TBA 35 | 36 | =cut 37 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_X509_SIG.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_X509_SIG, i2d_X509_SIG - DigestInfo functions. 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | X509_SIG *d2i_X509_SIG(X509_SIG **a, unsigned char **pp, long length); 12 | int i2d_X509_SIG(X509_SIG *a, unsigned char **pp); 13 | 14 | =head1 DESCRIPTION 15 | 16 | These functions decode and encode an X509_SIG structure which is 17 | equivalent to the B structure defined in PKCS#1 and PKCS#7. 18 | 19 | Othewise these behave in a similar way to d2i_X509() and i2d_X509() 20 | described in the L manual page. 21 | 22 | =head1 SEE ALSO 23 | 24 | L 25 | 26 | =head1 HISTORY 27 | 28 | TBA 29 | 30 | =cut 31 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/openssl_button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/doc/openssl_button.gif -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/openssl_button.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/ssl/SSL_get_SSL_CTX.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | SSL_get_SSL_CTX - get the SSL_CTX from which an SSL is created 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl); 12 | 13 | =head1 DESCRIPTION 14 | 15 | SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object, from which 16 | B was created with L. 17 | 18 | =head1 RETURN VALUES 19 | 20 | The pointer to the SSL_CTX object is returned. 21 | 22 | =head1 SEE ALSO 23 | 24 | L, L 25 | 26 | =cut 27 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/ssl/SSL_get_rbio.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | SSL_get_rbio - get BIO linked to an SSL object 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | BIO *SSL_get_rbio(SSL *ssl); 12 | BIO *SSL_get_wbio(SSL *ssl); 13 | 14 | =head1 DESCRIPTION 15 | 16 | SSL_get_rbio() and SSL_get_wbio() return pointers to the BIOs for the 17 | read or the write channel, which can be different. The reference count 18 | of the BIO is not incremented. 19 | 20 | =head1 RETURN VALUES 21 | 22 | The following return values can occur: 23 | 24 | =over 4 25 | 26 | =item NULL 27 | 28 | No BIO was connected to the SSL object 29 | 30 | =item Any other pointer 31 | 32 | The BIO linked to B. 33 | 34 | =back 35 | 36 | =head1 SEE ALSO 37 | 38 | L, L , L 39 | 40 | =cut 41 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/ssl/SSL_get_version.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | SSL_get_version - get the protocol version of a connection. 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | const char *SSL_get_version(const SSL *ssl); 12 | 13 | =head1 DESCRIPTION 14 | 15 | SSL_get_cipher_version() returns the name of the protocol used for the 16 | connection B. 17 | 18 | =head1 RETURN VALUES 19 | 20 | The following strings can occur: 21 | 22 | =over 4 23 | 24 | =item SSLv2 25 | 26 | The connection uses the SSLv2 protocol. 27 | 28 | =item SSLv3 29 | 30 | The connection uses the SSLv3 protocol. 31 | 32 | =item TLSv1 33 | 34 | The connection uses the TLSv1 protocol. 35 | 36 | =item unknown 37 | 38 | This indicates that no version has been set (no connection established). 39 | 40 | =back 41 | 42 | =head1 SEE ALSO 43 | 44 | L 45 | 46 | =cut 47 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/ssl/SSL_set_bio.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | SSL_set_bio - connect the SSL object with a BIO 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio); 12 | 13 | =head1 DESCRIPTION 14 | 15 | SSL_set_bio() connects the BIOs B and B for the read and write 16 | operations of the TLS/SSL (encrypted) side of B. 17 | 18 | The SSL engine inherits the behaviour of B and B, respectively. 19 | If a BIO is non-blocking, the B will also have non-blocking behaviour. 20 | 21 | If there was already a BIO connected to B, BIO_free() will be called 22 | (for both the reading and writing side, if different). 23 | 24 | =head1 RETURN VALUES 25 | 26 | SSL_set_bio() cannot fail. 27 | 28 | =head1 SEE ALSO 29 | 30 | L, 31 | L, L, 32 | L, L, L 33 | 34 | =cut 35 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/alpha.opt: -------------------------------------------------------------------------------- 1 | SYMBOL_VECTOR=(bind_engine=PROCEDURE,v_check=PROCEDURE) 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/axp.opt: -------------------------------------------------------------------------------- 1 | SYMBOL_VECTOR=(bind_engine=PROCEDURE,v_check=PROCEDURE) 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/capierr.bat: -------------------------------------------------------------------------------- 1 | perl ../util/mkerr.pl -conf e_capi.ec -nostatic -staticloader -write e_capi.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/ccgost/gost.ec: -------------------------------------------------------------------------------- 1 | L GOST e_gost_err.h e_gost_err.c 2 | L NONE asymm.h NONE 3 | L NONE md.h NONE 4 | L NONE crypt.h NONE 5 | L NONE gostkeyx.h NONE 6 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/ccgost/gost2001_keyx.h: -------------------------------------------------------------------------------- 1 | GOST_KEY_TRANSPORT * 2 | make_rfc4490_keytransport_2001(EVP_PKEY *pubk, BIGNUM *eph_key, 3 | const unsigned char *key, size_t keylen, 4 | unsigned char *ukm, size_t ukm_len); 5 | 6 | int decrypt_rfc4490_shared_key_2001(EVP_PKEY *priv, 7 | GOST_KEY_TRANSPORT *gkt, 8 | unsigned char *key_buf, 9 | int key_buf_len) ; 10 | 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_4758cca.ec: -------------------------------------------------------------------------------- 1 | L CCA4758 e_4758cca_err.h e_4758cca_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_aep.ec: -------------------------------------------------------------------------------- 1 | L AEPHK e_aep_err.h e_aep_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_atalla.ec: -------------------------------------------------------------------------------- 1 | L ATALLA e_atalla_err.h e_atalla_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_capi.ec: -------------------------------------------------------------------------------- 1 | L CAPI e_capi_err.h e_capi_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_chil.ec: -------------------------------------------------------------------------------- 1 | L HWCRHK e_chil_err.h e_chil_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_cswift.ec: -------------------------------------------------------------------------------- 1 | L CSWIFT e_cswift_err.h e_cswift_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_gmp.ec: -------------------------------------------------------------------------------- 1 | L GMP e_gmp_err.h e_gmp_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_nuron.ec: -------------------------------------------------------------------------------- 1 | L NURON e_nuron_err.h e_nuron_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_padlock.ec: -------------------------------------------------------------------------------- 1 | L PADLOCK e_padlock_err.h e_padlock_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_sureware.ec: -------------------------------------------------------------------------------- 1 | L SUREWARE e_sureware_err.h e_sureware_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_ubsec.ec: -------------------------------------------------------------------------------- 1 | L UBSEC e_ubsec_err.h e_ubsec_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/engine_vector.mar: -------------------------------------------------------------------------------- 1 | ; 2 | ; Transfer vector for VAX shareable image 3 | ; 4 | .TITLE ENGINE 5 | .IDENT /ENGINE/ 6 | ; 7 | ; Define macro to assist in building transfer vector entries. Each entry 8 | ; should take no more than 8 bytes. 9 | ; 10 | .MACRO FTRANSFER_ENTRY routine 11 | .ALIGN QUAD 12 | .TRANSFER routine 13 | .MASK routine 14 | JMP routine+2 15 | .ENDM FTRANSFER_ENTRY 16 | ; 17 | ; Place entries in own program section. 18 | ; 19 | .PSECT $$ENGINE,QUAD,PIC,USR,CON,REL,LCL,SHR,EXE,RD,NOWRT 20 | ENGINE_xfer: 21 | FTRANSFER_ENTRY bind_engine 22 | FTRANSFER_ENTRY v_check 23 | .BLKB 32768-<.-ENGINE_xfer> ; 64 pages total. 24 | .END 25 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/ia64.opt: -------------------------------------------------------------------------------- 1 | SYMBOL_VECTOR=(bind_engine=PROCEDURE,v_check=PROCEDURE) 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/vax.opt: -------------------------------------------------------------------------------- 1 | ! 2 | ! Ensure transfer vector is at beginning of image 3 | ! 4 | CLUSTER=FIRST 5 | COLLECT=FIRST,$$ENGINE 6 | ! 7 | ! make psects nonshareable so image can be installed. 8 | ! 9 | PSECT_ATTR=$CHAR_STRING_CONSTANTS,NOWRT 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/aes.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/aes/aes.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/asn1.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/asn1/asn1.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/asn1_mac.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/asn1/asn1_mac.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/asn1t.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/asn1/asn1t.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/bio.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/bio/bio.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/blowfish.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/bf/blowfish.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/bn.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/bn/bn.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/buffer.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/buffer/buffer.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/camellia.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/camellia/camellia.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/cast.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/cast/cast.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/cmac.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/cmac/cmac.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/cms.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/cms/cms.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/comp.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/comp/comp.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/conf.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/conf/conf.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/conf_api.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/conf/conf_api.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/crypto.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/crypto.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/des.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/des/des.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/des_old.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/des/des_old.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/dh.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/dh/dh.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/dsa.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/dsa/dsa.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/dso.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/dso/dso.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/dtls1.h: -------------------------------------------------------------------------------- 1 | #include "../../ssl/dtls1.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/e_os2.h: -------------------------------------------------------------------------------- 1 | #include "../../e_os2.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ebcdic.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ec.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ec/ec.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ecdh.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ecdh/ecdh.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ecdsa.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ecdsa/ecdsa.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/engine.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/engine/engine.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/err.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/err/err.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/evp.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/evp/evp.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/hmac.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/hmac/hmac.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/idea.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/idea/idea.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/krb5_asn.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/krb5/krb5_asn.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/kssl.h: -------------------------------------------------------------------------------- 1 | #include "../../ssl/kssl.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/lhash.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/lhash/lhash.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/md2.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/md2/md2.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/md4.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/md4/md4.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/md5.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/md5/md5.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/mdc2.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/mdc2/mdc2.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/modes.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/modes/modes.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/obj_mac.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/objects/obj_mac.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/objects.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/objects/objects.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ocsp.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ocsp/ocsp.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/opensslconf.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/opensslconf.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/opensslv.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/opensslv.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ossl_typ.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ossl_typ.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/pem.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/pem/pem.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/pem2.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/pem/pem2.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/pkcs12.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/pkcs12/pkcs12.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/pkcs7.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/pkcs7/pkcs7.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/pqueue.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/pqueue/pqueue.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/rand.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/rand/rand.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/rc2.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/rc2/rc2.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/rc4.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/rc4/rc4.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ripemd.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ripemd/ripemd.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/rsa.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/rsa/rsa.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/safestack.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/stack/safestack.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/seed.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/seed/seed.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/sha.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/sha/sha.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/srp.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/srp/srp.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/srtp.h: -------------------------------------------------------------------------------- 1 | #include "../../ssl/srtp.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ssl.h: -------------------------------------------------------------------------------- 1 | #include "../../ssl/ssl.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ssl2.h: -------------------------------------------------------------------------------- 1 | #include "../../ssl/ssl2.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ssl23.h: -------------------------------------------------------------------------------- 1 | #include "../../ssl/ssl23.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ssl3.h: -------------------------------------------------------------------------------- 1 | #include "../../ssl/ssl3.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/stack.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/stack/stack.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/store.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/store/store.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/symhacks.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/symhacks.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/tls1.h: -------------------------------------------------------------------------------- 1 | #include "../../ssl/tls1.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ts.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ts/ts.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/txt_db.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/txt_db/txt_db.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ui.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ui/ui.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ui_compat.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/ui/ui_compat.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/whrlpool.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/whrlpool/whrlpool.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/x509.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/x509/x509.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/x509_vfy.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/x509/x509_vfy.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/x509v3.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/x509v3/x509v3.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/.rnd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/ms/.rnd -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/32all.bat: -------------------------------------------------------------------------------- 1 | set OPTS=no-asm 2 | 3 | perl Configure VC-WIN32 4 | perl util\mkfiles.pl >MINFO 5 | perl util\mk1mf.pl %OPTS% debug VC-WIN32 >d32.mak 6 | perl util\mk1mf.pl %OPTS% VC-WIN32 >32.mak 7 | perl util\mk1mf.pl %OPTS% debug dll VC-WIN32 >d32dll.mak 8 | perl util\mk1mf.pl %OPTS% dll VC-WIN32 >32dll.mak 9 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 10 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 11 | 12 | nmake -f d32.mak 13 | @if errorlevel 1 goto end 14 | nmake -f 32.mak 15 | @if errorlevel 1 goto end 16 | nmake -f d32dll.mak 17 | @if errorlevel 1 goto end 18 | nmake -f 32dll.mak 19 | 20 | :end 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/README: -------------------------------------------------------------------------------- 1 | Run these makefiles from the top level as in 2 | nmake -f ms\makefilename 3 | to build with visual C++ 4.[01]. 4 | 5 | The results will be in the out directory. 6 | 7 | These makefiles and def files were generated by typing 8 | 9 | perl util\mk1mf.pl VC-NT >ms/nt.mak 10 | perl util\mk1mf.pl VC-NT dll >ms/ntdll.mak 11 | 12 | perl util\mkdef.pl 32 crypto > ms/crypto32.def 13 | perl util\mkdef.pl 32 ssl > ms/ssl32.def 14 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/bcb4.bat: -------------------------------------------------------------------------------- 1 | perl Configure BC-32 2 | perl util\mkfiles.pl > MINFO 3 | 4 | @rem create make file 5 | perl util\mk1mf.pl no-asm BC-NT > bcb.mak 6 | 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/certCA.srl: -------------------------------------------------------------------------------- 1 | 1D 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/certCA.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBXDCCAQYCAQAwDQYJKoZIhvcNAQEEBQAwOTELMAkGA1UEBhMCQVUxFzAVBgNV 3 | BAoTDkRvZGd5IEJyb3RoZXJzMREwDwYDVQQDEwhEb2RneSBDQTAeFw05ODA3MjEw 4 | NjUwMTZaFw05ODA4MjAwNjUwMTZaMDkxCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5E 5 | b2RneSBCcm90aGVyczERMA8GA1UEAxMIRG9kZ3kgQ0EwXDANBgkqhkiG9w0BAQEF 6 | AANLADBIAkEA0DQLenM/ncK6CwSEJhOO1WfZUPUEi4pvos9fHW459jh3rRDADgi3 7 | fiCYxoRVSQhvB47kDZ3ViNg5yrDhy7F9ywIDAQABMA0GCSqGSIb3DQEBBAUAA0EA 8 | S564l3SBxJ+QcIXthGGDyP5zkxTf/1fHfelW9LNgu6lZTdy9Dlp/NecPekzRmZEM 9 | WiGXGkKNeuo8PsnGJHP9Qg== 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/certU.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBcTCCARsCARwwDQYJKoZIhvcNAQEEBQAwOTELMAkGA1UEBhMCQVUxFzAVBgNV 3 | BAoTDkRvZGd5IEJyb3RoZXJzMREwDwYDVQQDEwhEb2RneSBDQTAeFw05ODA3MjEw 4 | NjUwMjdaFw05ODA4MjAwNjUwMjdaME4xCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5E 5 | b2RneSBCcm90aGVyczESMBAGA1UEAxMJQnJvdGhlciAxMRIwEAYDVQQDEwlCcm90 6 | aGVyIDIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA0e4qorOr/zuLB9NvRaXhJVaI 7 | HaGGasa7eMAjVPitWAXkN+DxXiGH1CnMgQraKiYzsEVP15xtxkevEvK5jJpOwwID 8 | AQABMA0GCSqGSIb3DQEBBAUAA0EAZhcPV+SWwaszFuDTYc6fUurcV9OeXUqoxSQy 9 | MnLZPTyWubHbbkUr9fUfdf7Cc7dFqGzag05VHkNQUS9VjMzjIQ== 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/cmp.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | ($#ARGV == 1) || die "usage: cmp.pl \n"; 4 | 5 | open(IN0,"<$ARGV[0]") || die "unable to open $ARGV[0]\n"; 6 | open(IN1,"<$ARGV[1]") || die "unable to open $ARGV[1]\n"; 7 | binmode IN0; 8 | binmode IN1; 9 | 10 | $tot=0; 11 | $ret=1; 12 | for (;;) 13 | { 14 | $n1=sysread(IN0,$b1,4096); 15 | $n2=sysread(IN1,$b2,4096); 16 | 17 | last if ($n1 != $n2); 18 | last if ($b1 ne $b2); 19 | last if ($n1 < 0); 20 | if ($n1 == 0) 21 | { 22 | $ret=0; 23 | last; 24 | } 25 | $tot+=$n1; 26 | } 27 | 28 | close(IN0); 29 | close(IN1); 30 | if ($ret) 31 | { 32 | printf STDERR "$ARGV[0] and $ARGV[1] are different\n"; 33 | @a1=unpack("C*",$b1); 34 | @a2=unpack("C*",$b2); 35 | for ($i=0; $i<=$#a1; $i++) 36 | { 37 | if ($a1[$i] ne $a2[$i]) 38 | { 39 | printf "%02X %02X <<\n",$a1[$i],$a2[$i]; 40 | last; 41 | } 42 | } 43 | $nm=$tot+$n1; 44 | $tot+=$i+1; 45 | printf STDERR "diff at char $tot of $nm\n"; 46 | } 47 | exit($ret); 48 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_ms.bat: -------------------------------------------------------------------------------- 1 | 2 | perl util\mkfiles.pl >MINFO 3 | perl util\mk1mf.pl no-asm VC-WIN32 >ms\nt.mak 4 | perl util\mk1mf.pl dll no-asm VC-WIN32 >ms\ntdll.mak 5 | if x%OSVERSION% == x goto skipce 6 | perl util\mk1mf.pl no-asm VC-CE >ms\ce.mak 7 | perl util\mk1mf.pl dll no-asm VC-CE >ms\cedll.mak 8 | :skipce 9 | 10 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 11 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_nasm.bat: -------------------------------------------------------------------------------- 1 | 2 | perl util\mkfiles.pl >MINFO 3 | perl util\mk1mf.pl nasm VC-WIN32 >ms\nt.mak 4 | perl util\mk1mf.pl dll nasm VC-WIN32 >ms\ntdll.mak 5 | perl util\mk1mf.pl nasm BC-NT >ms\bcb.mak 6 | 7 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 8 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_nt.bat: -------------------------------------------------------------------------------- 1 | 2 | perl util\mkfiles.pl >MINFO 3 | perl util\mk1mf.pl no-asm VC-NT >ms\nt.mak 4 | perl util\mk1mf.pl dll no-asm VC-NT >ms\ntdll.mak 5 | 6 | perl util\mkdef.pl libeay NT > ms\libeay32.def 7 | perl util\mkdef.pl ssleay NT > ms\ssleay32.def 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_win64a.bat: -------------------------------------------------------------------------------- 1 | perl util\mkfiles.pl >MINFO 2 | 3 | cmd /c "nasm -f win64 -v" >NUL: 2>&1 4 | if %errorlevel% neq 0 goto ml64 5 | 6 | perl ms\uplink-x86_64.pl nasm > ms\uptable.asm 7 | nasm -f win64 -o ms\uptable.obj ms\uptable.asm 8 | goto proceed 9 | 10 | :ml64 11 | perl ms\uplink-x86_64.pl masm > ms\uptable.asm 12 | ml64 -c -Foms\uptable.obj ms\uptable.asm 13 | 14 | :proceed 15 | perl util\mk1mf.pl VC-WIN64A >ms\nt.mak 16 | perl util\mk1mf.pl dll VC-WIN64A >ms\ntdll.mak 17 | 18 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 19 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_win64i.bat: -------------------------------------------------------------------------------- 1 | 2 | perl util\mkfiles.pl >MINFO 3 | perl ms\uplink-ia64.pl > ms\uptable.asm 4 | ias -o ms\uptable.obj ms\uptable.asm 5 | perl util\mk1mf.pl VC-WIN64I >ms\nt.mak 6 | perl util\mk1mf.pl dll VC-WIN64I >ms\ntdll.mak 7 | 8 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 9 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/keyCA.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOwIBAAJBANA0C3pzP53CugsEhCYTjtVn2VD1BIuKb6LPXx1uOfY4d60QwA4I 3 | t34gmMaEVUkIbweO5A2d1YjYOcqw4cuxfcsCAwEAAQJAOT9WOKEfyN0WEpl3TJDs 4 | ITmgw2XbjhLOh1HFsW3xegWlaOuhL/wGamz7n7zzL/RQF3JP/VvpGk2F8VD9JhwT 5 | wQIhAPmqM3fLttBoCQuwQRdIPfB7Ps3THqx6N8AJ04z3I1ejAiEA1XyDd7bLpWrw 6 | /oA8CmR4b/KCGfvRwAL/Qej/rQliw7kCIQCYRzSvO8ScpuflhjKdZcXJuRJcbgnG 7 | f6Ejc5rh3xdiawIhALMmLdzEFNjXiSzIx5mg/kBTLUJIw5dx7GqO8B9xBORhAiA5 8 | oTN/hgvvrkkmRsHQpNBmzAEGBzhMEEq9lD6ZWrTSRg== 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/keyU.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBANHuKqKzq/87iwfTb0Wl4SVWiB2hhmrGu3jAI1T4rVgF5Dfg8V4h 3 | h9QpzIEK2iomM7BFT9ecbcZHrxLyuYyaTsMCAwEAAQJBAIxtM6n4ZCJscxj+D13Y 4 | k13Fn3Gqvd6pJ3ijlj7dxh6tRBBQ3W9qmQflyvEc81giI2XtbVYBOEJKtJ1cWWZm 5 | gAkCIQDpEoOuc4KCI5ti6aMJvtxlXWNHbkXCxtbeIjH4+FnH9QIhAOaU3XVeWWOK 6 | PnnO87KniDjHQqWLnooivDGRK+FUKeDXAiEA2MjEvFVqFVvDIsxHPkBNROcI+Z6i 7 | ulkx76kErBtrfqUCIHN5uBLQZmngUPuFtiwRlLoCqJDphENfs+oK7vPQx4xPAiEA 8 | hnY2Ulrpld83IG6bUs95Loc8Fk81hez5YwmhsFEXVtk= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/mw.bat: -------------------------------------------------------------------------------- 1 | @rem OpenSSL with Mingw32 2 | @rem -------------------- 3 | 4 | @rem Makefile 5 | perl util\mkfiles.pl >MINFO 6 | perl util\mk1mf.pl Mingw32 >ms\mingw32.mak 7 | @rem DLL definition files 8 | perl util\mkdef.pl 32 libeay >ms\libeay32.def 9 | if errorlevel 1 goto end 10 | perl util\mkdef.pl 32 ssleay >ms\ssleay32.def 11 | if errorlevel 1 goto end 12 | 13 | @rem Build the libraries 14 | make -f ms/mingw32.mak 15 | if errorlevel 1 goto end 16 | 17 | @rem Generate the DLLs and input libraries 18 | dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def out/libcrypto.a -lws2_32 -lgdi32 19 | if errorlevel 1 goto end 20 | dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def out/libssl.a out/libeay32.a 21 | if errorlevel 1 goto end 22 | 23 | echo Done compiling OpenSSL 24 | 25 | :end 26 | 27 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/reqCA.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIHzMIGeAgEAMDkxCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5Eb2RneSBCcm90aGVy 3 | czERMA8GA1UEAxMIRG9kZ3kgQ0EwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA0DQL 4 | enM/ncK6CwSEJhOO1WfZUPUEi4pvos9fHW459jh3rRDADgi3fiCYxoRVSQhvB47k 5 | DZ3ViNg5yrDhy7F9ywIDAQABoAAwDQYJKoZIhvcNAQEFBQADQQA5DZSZgDXs8flG 6 | GZf4SGr8QpqkxSu9bZOYp/ySuz1khj7aupBrvZBmqZcZx4ZjAUN7UQpMWu2gyfKa 7 | mAiiLPFN 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/reqU.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBCDCBswIBADBOMQswCQYDVQQGEwJBVTEXMBUGA1UEChMORG9kZ3kgQnJvdGhl 3 | cnMxEjAQBgNVBAMTCUJyb3RoZXIgMTESMBAGA1UEAxMJQnJvdGhlciAyMFwwDQYJ 4 | KoZIhvcNAQEBBQADSwAwSAJBANHuKqKzq/87iwfTb0Wl4SVWiB2hhmrGu3jAI1T4 5 | rVgF5Dfg8V4hh9QpzIEK2iomM7BFT9ecbcZHrxLyuYyaTsMCAwEAAaAAMA0GCSqG 6 | SIb3DQEBAgUAA0EAhB0p6LbiVq+XshLo5sBQN0rsROC1OgWrdS6ZUmMaigOKK069 7 | r1o+dGwbM5VCYGTZf0PW9OtGuArGct0laL5h4w== 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/tenc.bat: -------------------------------------------------------------------------------- 1 | rem called by testenc 2 | 3 | echo test %1 %2 %3 %4 %5 %6 4 | %ssleay% %1 %2 %3 %4 %5 %6 -e -bufsize 113 -k test -in %input% -out %tmp1% 5 | %ssleay% %1 %2 %3 %4 %5 %6 -d -bufsize 157 -k test -in %tmp1% -out %out1% 6 | %cmp% %input% %out1% 7 | if errorlevel 1 goto err 8 | 9 | echo test base64 %1 %2 %3 %4 %5 %6 10 | %ssleay% %1 %2 %3 %4 %5 %6 -a -e -bufsize 113 -k test -in %input% -out %tmp1% 11 | %ssleay% %1 %2 %3 %4 %5 %6 -a -d -bufsize 157 -k test -in %tmp1% -out %out1% 12 | %cmp% %input% %out1% 13 | 14 | :err 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/tencce.bat: -------------------------------------------------------------------------------- 1 | rem called by testencce 2 | 3 | echo test %1 %2 %3 %4 %5 %6 4 | cecopy %input% CE:\OpenSSL 5 | cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -e -bufsize 113 -k test -in \OpenSSL\%input% -out \OpenSSL\%tmp1% 6 | cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -d -bufsize 157 -k test -in \OpenSSL\%tmp1% -out \OpenSSL\%out1% 7 | del %out1% >nul 2>&1 8 | cecopy CE:\OpenSSL\%out1% . 9 | %cmp% %input% %out1% 10 | if errorlevel 1 goto err 11 | 12 | echo test base64 %1 %2 %3 %4 %5 %6 13 | cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -a -e -bufsize 113 -k test -in \OpenSSL\%input% -out \OpenSSL\%tmp1% 14 | cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -a -d -bufsize 157 -k test -in \OpenSSL\%tmp1% -out \OpenSSL\%out1% 15 | del %out1% >nul 2>&1 16 | cecopy CE:\OpenSSL\%out1% . 17 | %cmp% %input% %out1% 18 | 19 | :err 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/testce2.bat: -------------------------------------------------------------------------------- 1 | cecopy %1.exe CE:\OpenSSL 2 | cerun CE:\OpenSSL\%1 %2 %3 %4 %5 %6 %7 %8 %9 3 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/testpem.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set ssleay=%1% 3 | set tmp1=pem.out 4 | set cmp=fc.exe 5 | 6 | call tpem.bat crl ..\test\testcrl.pem 7 | if errorlevel 1 goto err 8 | 9 | call tpem.bat pkcs7 ..\test\testp7.pem 10 | if errorlevel 1 goto err 11 | 12 | call tpem.bat req ..\test\testreq2.pem 13 | if errorlevel 1 goto err 14 | 15 | call tpem.bat rsa ..\test\testrsa.pem 16 | if errorlevel 1 goto err 17 | 18 | call tpem.bat x509 ..\test\testx509.pem 19 | if errorlevel 1 goto err 20 | 21 | call tpem.bat x509 ..\test\v3-cert1.pem 22 | if errorlevel 1 goto err 23 | 24 | call tpem.bat x509 ..\test\v3-cert1.pem 25 | if errorlevel 1 goto err 26 | 27 | call tpem.bat sess_id ..\test\testsid.pem 28 | if errorlevel 1 goto err 29 | 30 | echo OK 31 | del %tmp1% 32 | :err 33 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/tpem.bat: -------------------------------------------------------------------------------- 1 | rem called by testpem 2 | 3 | echo test %1 %2 4 | %ssleay% %1 -in %2 -out %tmp1% 5 | %cmp% %2 %tmp1% 6 | 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/tpemce.bat: -------------------------------------------------------------------------------- 1 | rem called by testpemce 2 | 3 | echo test %1 %2 4 | cecopy %2 CE:\OpenSSL 5 | cerun CE:\OpenSSL\%ssleay% %1 -in \OpenSSL\%2 -out \OpenSSL\%tmp1% 6 | del %tmp1% >nul 2>&1 7 | cecopy CE:\OpenSSL\%tmp1% . 8 | %cmp% %2 %tmp1% 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/uplink-common.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | # 3 | # pull APPLINK_MAX value from applink.c... 4 | $applink_c=$0; 5 | $applink_c=~s|[^/\\]+$||g; 6 | $applink_c.="applink.c"; 7 | open(INPUT,$applink_c) || die "can't open $applink_c: $!"; 8 | @max=grep {/APPLINK_MAX\s+(\d+)/} ; 9 | close(INPUT); 10 | ($#max==0) or die "can't find APPLINK_MAX in $applink_c"; 11 | 12 | $max[0]=~/APPLINK_MAX\s+(\d+)/; 13 | $N=$1; # number of entries in OPENSSL_UplinkTable not including 14 | # OPENSSL_UplinkTable[0], which contains this value... 15 | 16 | 1; 17 | 18 | # Idea is to fill the OPENSSL_UplinkTable with pointers to stubs 19 | # which invoke 'void OPENSSL_Uplink (ULONG_PTR *table,int index)'; 20 | # and then dereference themselves. Latter shall result in endless 21 | # loop *unless* OPENSSL_Uplink does not replace 'table[index]' with 22 | # something else, e.g. as 'table[index]=unimplemented;'... 23 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/uplink-x86.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 4 | push(@INC, "${dir}.", "${dir}../crypto/perlasm"); 5 | require "x86asm.pl"; 6 | 7 | require "uplink-common.pl"; 8 | 9 | &asm_init($ARGV[0],"uplink-x86"); 10 | 11 | &external_label("OPENSSL_Uplink"); 12 | &public_label("OPENSSL_UplinkTable"); 13 | 14 | for ($i=1;$i<=$N;$i++) { 15 | &function_begin_B("_\$lazy${i}"); 16 | &lea ("eax",&DWP(&label("OPENSSL_UplinkTable"))); 17 | &push ("eax"); 18 | &push ($i); 19 | &call (&label("OPENSSL_Uplink")); 20 | &add ("esp",8); 21 | &pop ("eax"); 22 | &jmp_ptr(&DWP(4*$i,"eax")); 23 | &function_end_B("_\$lazy${i}"); 24 | } 25 | 26 | &dataseg(); 27 | &align(4); 28 | &set_label("OPENSSL_UplinkTable"); 29 | &data_word($N); 30 | for ($i=1;$i<=$N;$i++) { 31 | &data_word(&label("_\$lazy${i}")); 32 | } 33 | &asm_finish(); 34 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/openssl.doxy: -------------------------------------------------------------------------------- 1 | PROJECT_NAME=OpenSSL 2 | GENERATE_LATEX=no 3 | OUTPUT_DIRECTORY=doxygen 4 | INPUT=ssl include 5 | FILE_PATTERNS=*.c *.h 6 | RECURSIVE=yes 7 | PREDEFINED=DOXYGEN 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/Makefile.hpux10-cc: -------------------------------------------------------------------------------- 1 | # Makefile.hpux-cc 2 | 3 | major=0.9.8 4 | 5 | slib=libssl 6 | sh_slib=$(slib).sl.$(major) 7 | 8 | clib=libcrypto 9 | sh_clib=$(clib).sl.$(major) 10 | 11 | all : $(clib).sl $(slib).sl 12 | 13 | 14 | $(clib)_pic.a : $(clib).a 15 | echo "Copying $? to $@" 16 | cp -p $? $@ 17 | 18 | $(slib)_pic.a : $(slib).a 19 | echo "Copying $? to $@" 20 | cp -p $? $@ 21 | 22 | $(sh_clib) : $(clib)_pic.a 23 | ld -b -s -z +h $@ -o $@ -Fl $(clib)_pic.a -ldld -lc 24 | 25 | $(clib).sl : $(sh_clib) 26 | rm -f $@ 27 | ln -s $? $@ 28 | 29 | $(sh_slib) : $(slib)_pic.a $(clib).sl 30 | ld -b -s -z +h $@ -o $@ -Fl $(slib)_pic.a -ldld -lc 31 | 32 | $(slib).sl : $(sh_slib) 33 | rm -f $@ 34 | ln -s $? $@ 35 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/README: -------------------------------------------------------------------------------- 1 | Only the windows NT and, linux builds have been tested for SSLeay 0.8.0 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/irix.sh: -------------------------------------------------------------------------------- 1 | FLAGS="-DTERMIOS -O2 -mips2 -DB_ENDIAN -fomit-frame-pointer -Wall -Iinclude" 2 | SHFLAGS="-DPIC -fpic" 3 | 4 | gcc -c -Icrypto $SHFLAGS $FLAGS -o crypto.o crypto/crypto.c 5 | ld -shared -o libcrypto.so crypto.o 6 | gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c 7 | ld -shared -o libssl.so ssl.o 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/sco5-shared-installed: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | major="0" 4 | minor="9.7b" 5 | 6 | slib=libssl 7 | sh_slib=$slib.so.$major.$minor 8 | 9 | clib=libcrypto 10 | sh_clib=$clib.so.$major.$minor 11 | 12 | # If you want them in /usr/local/lib then change INSTALLTOP to point there. 13 | #INSTALLTOP=/usr/local/ssl/lib 14 | INSTALLTOP=/usr/local/lib 15 | 16 | cp -p $sh_clib $INSTALLTOP 17 | cp -p $sh_slib $INSTALLTOP 18 | 19 | PWD=`pwd` 20 | cd $INSTALLTOP 21 | rm -f $INSTALLTOP/$clib.so 22 | ln -s $INSTALLTOP/$sh_clib $clib.so 23 | 24 | rm -f $INSTALLTOP/$slib.so 25 | ln -s $INSTALLTOP/$sh_slib $slib.so 26 | 27 | cd $PWD 28 | 29 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/solaris-sc4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | major="1" 4 | 5 | slib=libssl 6 | sh_slib=$slib.so.$major 7 | 8 | clib=libcrypto 9 | sh_clib=$clib.so.$major 10 | 11 | echo collecting all object files for $clib.so 12 | OBJS= 13 | find . -name \*.o -print > allobjs 14 | for obj in `ar t libcrypto.a` 15 | do 16 | OBJS="$OBJS `grep $obj allobjs`" 17 | done 18 | 19 | echo linking $clib.so 20 | cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket 21 | 22 | rm -f $clib.so 23 | ln -s $sh_clib $clib.so 24 | 25 | echo collecting all object files for $slib.so 26 | OBJS= 27 | for obj in `ar t libssl.a` 28 | do 29 | OBJS="$OBJS `grep $obj allobjs`" 30 | done 31 | 32 | echo linking $slib.so 33 | cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto 34 | 35 | rm -f $slib.so 36 | ln -s $sh_slib $slib.so 37 | 38 | rm -f allobjs 39 | 40 | mv libRSAglue.a libRSAglue.a.orig 41 | mv libcrypto.a libcrypto.a.orig 42 | mv libssl.a libssl.a.orig 43 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/solaris.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "#define DATE \"`date`\"" >crypto/date.h 4 | 5 | major="0" 6 | minor="8.0" 7 | slib=libssl 8 | clib=libcrypto 9 | CC=gcc 10 | CPP='gcc -E' 11 | AS=as 12 | #FLAGS='-DTERMIO -O3 -DL_ENDIAN -fomit-frame-pointer -mv8 -Wall' 13 | FLAGS='-DTERMIO -g2 -ggdb -DL_ENDIAN -Wall -DREF_CHECK -DCRYPTO_MDEBUG' 14 | INCLUDE='-Iinclude -Icrypto -Issl' 15 | SHFLAGS='-DPIC -fpic' 16 | 17 | CFLAGS="$FLAGS $INCLUDE $SHFLAGS" 18 | ASM_OBJ=""; 19 | 20 | echo compiling bignum assember 21 | $AS -o bn_asm.o crypto/bn/asm/sparc.s 22 | CFLAGS="$CFLAGS -DBN_ASM" 23 | ASM_OBJ="$ASM_OBJ bn_asm.o" 24 | 25 | echo compiling $clib 26 | $CC -c $CFLAGS -DCFLAGS="\"$FLAGS\"" -o crypto.o crypto/crypto.c 27 | 28 | echo linking $clib.so 29 | gcc $CFLAGS -shared -o $clib.so.$major.$minor crypto.o $ASM_OBJ -lnsl -lsocket 30 | 31 | echo compiling $slib.so 32 | $CC -c $CFLAGS -o ssl.o ssl/ssl.c 33 | 34 | echo building $slib.so 35 | gcc $CFLAGS -shared -o $slib.so ssl.o -L. -lcrypto 36 | 37 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/sun.sh: -------------------------------------------------------------------------------- 1 | FLAGS="-DTERMIO -O3 -DB_ENDIAN -fomit-frame-pointer -mv8 -Wall -Iinclude" 2 | SHFLAGS="-DPIC -fpic" 3 | 4 | gcc -c -Icrypto $SHFLAGS -fpic $FLAGS -o crypto.o crypto/crypto.c 5 | ld -G -z text -o libcrypto.so crypto.o 6 | 7 | gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c 8 | ld -G -z text -o libssl.so ssl.o 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/svr5-shared-installed: -------------------------------------------------------------------------------- 1 | #!/usr/bin/sh 2 | 3 | major="0" 4 | minor="9.7b" 5 | 6 | slib=libssl 7 | sh_slib=$slib.so.$major.$minor 8 | 9 | clib=libcrypto 10 | sh_clib=$clib.so.$major.$minor 11 | 12 | # If you want them in /usr/local/lib then change INSTALLTOP to point there. 13 | #INSTALLTOP=/usr/local/ssl/lib 14 | INSTALLTOP=/usr/local/lib 15 | 16 | cp -p $sh_clib $INSTALLTOP 17 | cp -p $sh_slib $INSTALLTOP 18 | 19 | PWD=`pwd` 20 | cd $INSTALLTOP 21 | rm -f $INSTALLTOP/$clib.so 22 | ln -s $INSTALLTOP/$sh_clib $clib.so 23 | 24 | rm -f $INSTALLTOP/$slib.so 25 | ln -s $INSTALLTOP/$sh_slib $slib.so 26 | 27 | cd $PWD 28 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/win32.bat: -------------------------------------------------------------------------------- 1 | rem win32 dll build 2 | 3 | set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN 4 | set OPTIONS2=/W3 /WX /Ox /Gs0 /GF /Gy /nologo 5 | 6 | set OPTIONS=%OPTIONS1% %OPTIONS2% 7 | 8 | rem ml /coff /c crypto\bf\asm\b-win32.asm 9 | rem ml /coff /c crypto\des\asm\c-win32.asm 10 | rem ml /coff /c crypto\des\asm\d-win32.asm 11 | rem ml /coff /c crypto\bn\asm\x86nt32.asm 12 | 13 | cl /Focrypto.obj -DWIN32 %OPTIONS% -c crypto\crypto.c 14 | cl /Fossl.obj -DWIN32 %OPTIONS% -c ssl\ssl.c 15 | cl /Foeay.obj -DWIN32 %OPTIONS% -c apps\eay.c 16 | 17 | cl /Fessleay.exe %OPTIONS% eay.obj ssl.obj crypto.obj crypto\bf\asm\b-win32.obj crypto\des\asm\c-win32.obj crypto\des\asm\d-win32.obj crypto\bn\asm\x86nt32.obj user32.lib gdi32.lib ws2_32.lib 18 | 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/win32dll.bat: -------------------------------------------------------------------------------- 1 | rem win32 dll build 2 | 3 | set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN 4 | set OPTIONS2=/W3 /WX /Ox /Gf /nologo 5 | 6 | set OPTIONS=%OPTIONS1% %OPTIONS2% 7 | 8 | cl /Felibeay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\libeay32.def crypto\crypto.c crypto\bf\asm\b-win32.obj crypto\des\asm\c-win32.obj crypto\des\asm\d-win32.obj crypto\bn\asm\x86nt32.obj user32.lib gdi32.lib ws2_32.lib 9 | 10 | cl /Fessleay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\ssleay32.def ssl\ssl.c libeay32.lib 11 | 12 | cl /Fessleay.exe /MD -DWIN32 %OPTIONS% apps\eay.c ssleay32.lib libeay32.lib user32.lib ws2_32.lib 13 | 14 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/CAssdh.cnf: -------------------------------------------------------------------------------- 1 | # 2 | # SSLeay example configuration file. 3 | # This is mostly being used for generation of certificate requests. 4 | # 5 | # hacked by iang to do DH certs - CA 6 | 7 | RANDFILE = ./.rnd 8 | 9 | #################################################################### 10 | [ req ] 11 | distinguished_name = req_distinguished_name 12 | encrypt_rsa_key = no 13 | 14 | [ req_distinguished_name ] 15 | countryName = Country Name (2 letter code) 16 | countryName_default = CU 17 | countryName_value = CU 18 | 19 | organizationName = Organization Name (eg, company) 20 | organizationName_value = La Junta de la Revolucion 21 | 22 | commonName = Common Name (eg, YOUR name) 23 | commonName_value = Junta 24 | 25 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/CAssdsa.cnf: -------------------------------------------------------------------------------- 1 | # 2 | # SSLeay example configuration file. 3 | # This is mostly being used for generation of certificate requests. 4 | # 5 | # hacked by iang to do DSA certs - CA 6 | 7 | RANDFILE = ./.rnd 8 | 9 | #################################################################### 10 | [ req ] 11 | distinguished_name = req_distinguished_name 12 | encrypt_rsa_key = no 13 | 14 | [ req_distinguished_name ] 15 | countryName = Country Name (2 letter code) 16 | countryName_default = ES 17 | countryName_value = ES 18 | 19 | organizationName = Organization Name (eg, company) 20 | organizationName_value = Hermanos Locos 21 | 22 | commonName = Common Name (eg, YOUR name) 23 | commonName_value = Hermanos Locos CA 24 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/CAssrsa.cnf: -------------------------------------------------------------------------------- 1 | # 2 | # SSLeay example configuration file. 3 | # This is mostly being used for generation of certificate requests. 4 | # 5 | # create RSA certs - CA 6 | 7 | RANDFILE = ./.rnd 8 | 9 | #################################################################### 10 | [ req ] 11 | distinguished_name = req_distinguished_name 12 | encrypt_key = no 13 | 14 | [ req_distinguished_name ] 15 | countryName = Country Name (2 letter code) 16 | countryName_default = ES 17 | countryName_value = ES 18 | 19 | organizationName = Organization Name (eg, company) 20 | organizationName_value = Hermanos Locos 21 | 22 | commonName = Common Name (eg, YOUR name) 23 | commonName_value = Hermanos Locos CA 24 | 25 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/Sssdsa.cnf: -------------------------------------------------------------------------------- 1 | # 2 | # SSLeay example configuration file. 3 | # This is mostly being used for generation of certificate requests. 4 | # 5 | # hacked by iang to do DSA certs - Server 6 | 7 | RANDFILE = ./.rnd 8 | 9 | #################################################################### 10 | [ req ] 11 | distinguished_name = req_distinguished_name 12 | encrypt_rsa_key = no 13 | 14 | [ req_distinguished_name ] 15 | countryName = Country Name (2 letter code) 16 | countryName_default = ES 17 | countryName_value = ES 18 | 19 | organizationName = Organization Name (eg, company) 20 | organizationName_value = Tortilleras S.A. 21 | 22 | 0.commonName = Common Name (eg, YOUR name) 23 | 0.commonName_value = Torti 24 | 25 | 1.commonName = Common Name (eg, YOUR name) 26 | 1.commonName_value = Gordita 27 | 28 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/Sssrsa.cnf: -------------------------------------------------------------------------------- 1 | # 2 | # SSLeay example configuration file. 3 | # This is mostly being used for generation of certificate requests. 4 | # 5 | # create RSA certs - Server 6 | 7 | RANDFILE = ./.rnd 8 | 9 | #################################################################### 10 | [ req ] 11 | distinguished_name = req_distinguished_name 12 | encrypt_key = no 13 | 14 | [ req_distinguished_name ] 15 | countryName = Country Name (2 letter code) 16 | countryName_default = ES 17 | countryName_value = ES 18 | 19 | organizationName = Organization Name (eg, company) 20 | organizationName_value = Tortilleras S.A. 21 | 22 | 0.commonName = Common Name (eg, YOUR name) 23 | 0.commonName_value = Torti 24 | 25 | 1.commonName = Common Name (eg, YOUR name) 26 | 1.commonName_value = Gordita 27 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/VMSca-response.1: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/VMSca-response.2: -------------------------------------------------------------------------------- 1 | y 2 | y 3 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/asn1test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | typedef struct X 5 | { 6 | STACK_OF(X509_EXTENSION) *ext; 7 | } X; 8 | 9 | /* This isn't meant to run particularly, it's just to test type checking */ 10 | int main(int argc, char **argv) 11 | { 12 | X *x = NULL; 13 | unsigned char **pp = NULL; 14 | 15 | M_ASN1_I2D_vars(x); 16 | M_ASN1_I2D_len_SEQUENCE_opt_type(X509_EXTENSION, x->ext, 17 | i2d_X509_EXTENSION); 18 | M_ASN1_I2D_seq_total(); 19 | M_ASN1_I2D_put_SEQUENCE_opt_type(X509_EXTENSION, x->ext, 20 | i2d_X509_EXTENSION); 21 | M_ASN1_I2D_finish(); 22 | } 23 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/clean_test.com: -------------------------------------------------------------------------------- 1 | $! 2 | $! Delete various test results files. 3 | $! 4 | $ def_orig = f$environment( "default") 5 | $ proc = f$environment( "procedure") 6 | $ proc_dev_dir = f$parse( "A.;", proc) - "A.;" 7 | $! 8 | $ on control_c then goto tidy 9 | $ on error then goto tidy 10 | $! 11 | $ set default 'proc_dev_dir' 12 | $! 13 | $ files := *.cms;*, *.srl;*, *.ss;*, - 14 | cms.err;*, cms.out;*, newreq.pem;*, - 15 | p.txt-zlib-cipher;*, - 16 | smtst.txt;*, testkey.pem;*, testreq.pem;*, - 17 | test_*.err;*, test_*.out;*, - 18 | .rnd;* 19 | $! 20 | $ delim = "," 21 | $ i = 0 22 | $ loop: 23 | $ file = f$edit( f$element( i, delim, files), "trim") 24 | $ if (file .eqs. delim) then goto loop_end 25 | $ if (f$search( file) .nes. "") then - 26 | delete 'p1' 'file' 27 | $ i = i+ 1 28 | $ goto loop 29 | $ loop_end: 30 | $! 31 | $ tidy: 32 | $ 33 | $ if (f$type( def_orig) .nes. "") then - 34 | set default 'def_orig' 35 | $! 36 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/pkcs7-1.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PKCS7----- 2 | MIICUAYJKoZIhvcNAQcCoIICQTCCAj0CAQExDjAMBggqhkiG9w0CAgUAMCgGCSqG 3 | SIb3DQEHAaAbBBlFdmVyeW9uZSBnZXRzIEZyaWRheSBvZmYuoIIBXjCCAVowggEE 4 | AgQUAAApMA0GCSqGSIb3DQEBAgUAMCwxCzAJBgNVBAYTAlVTMR0wGwYDVQQKExRF 5 | eGFtcGxlIE9yZ2FuaXphdGlvbjAeFw05MjA5MDkyMjE4MDZaFw05NDA5MDkyMjE4 6 | MDVaMEIxCzAJBgNVBAYTAlVTMR0wGwYDVQQKExRFeGFtcGxlIE9yZ2FuaXphdGlv 7 | bjEUMBIGA1UEAxMLVGVzdCBVc2VyIDEwWzANBgkqhkiG9w0BAQEFAANKADBHAkAK 8 | ZnkdxpiBaN56t3QZu3+wwAHGJxAnAHUUKULhmo2MUdBTs+N4Kh3l3Fr06+mUaBcB 9 | FKHf5nzcmpr1XWVWILurAgMBAAEwDQYJKoZIhvcNAQECBQADQQBFGqHhqncgSl/N 10 | 9XYGnQL3MsJvNnsNV4puZPOakR9Hld8JlDQFEaDR30ogsmp3TMrvdfxpLlTCoZN8 11 | BxEmnZsWMYGbMIGYAgEBMDQwLDELMAkGA1UEBhMCVVMxHTAbBgNVBAoTFEV4YW1w 12 | bGUgT3JnYW5pemF0aW9uAgQUAAApMAwGCCqGSIb3DQICBQAwDQYJKoZIhvcNAQEB 13 | BQAEQAX6aoEvx9+L9PJUJQngPoRuEbnGIL4gCe+0QO+8xmkhaZSsBPNBtX0FIC1C 14 | j7Kie1x339mxW/w9VZNTUDQQweHh 15 | -----END PKCS7----- 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/smcont.txt: -------------------------------------------------------------------------------- 1 | Some test content for OpenSSL CMS -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/smime-certs/smdsap.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DSA PARAMETERS----- 2 | MIIBHwKBgQDFJfsIPOIawMO5biw+AoYUhNVxReBOLQosU3Qv4B8krac0BNr3OjSG 3 | Lh1wZxHqhlAE0QmasTaKojuk20nNWeFnczSz6vDl0IVJEhS8VYor5kt9gLqtGcoA 4 | gsf4gRDIutJyQDaNn3IVY89uXUVIoexvQeLQDBCgQPC5O8rJdqBwtwIVAK2Jjt+d 5 | qk07eQUE59koYUEKyNorAoGBAI4IEpusf8G14kCHmRtnHXM2tG5EWJDmW6Qtwjqv 6 | Wp1GKUx5WFy1tVWR9nl5rL0Di+kNdENo+SkKj7h3uDulGOI6T0mQYbV2h1IK+FMO 7 | GnOqvZ8eNTE2n4PGTo5puZ63LBm+QYrQsrNiUY4vakLFQ2rEK/SLwdsDFK4ZSJCB 8 | Qw5z 9 | -----END DSA PARAMETERS----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/testca: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SH="/bin/sh" 4 | if test "$OSTYPE" = msdosdjgpp; then 5 | PATH="../apps\;$PATH" 6 | else 7 | PATH="../apps:$PATH" 8 | fi 9 | export SH PATH 10 | 11 | SSLEAY_CONFIG="-config CAss.cnf" 12 | export SSLEAY_CONFIG 13 | 14 | OPENSSL="`pwd`/../util/opensslwrap.sh" 15 | export OPENSSL 16 | 17 | /bin/rm -fr demoCA 18 | $SH ../apps/CA.sh -newca < d" 15 | $cmd -in fff.p -inform p -outform d >f.d 16 | if [ $? != 0 ]; then exit 1; fi 17 | echo "p -> p" 18 | $cmd -in fff.p -inform p -outform p >f.p 19 | if [ $? != 0 ]; then exit 1; fi 20 | 21 | echo "d -> d" 22 | $cmd -in f.d -inform d -outform d >ff.d1 23 | if [ $? != 0 ]; then exit 1; fi 24 | echo "p -> d" 25 | $cmd -in f.p -inform p -outform d >ff.d3 26 | if [ $? != 0 ]; then exit 1; fi 27 | 28 | echo "d -> p" 29 | $cmd -in f.d -inform d -outform p >ff.p1 30 | if [ $? != 0 ]; then exit 1; fi 31 | echo "p -> p" 32 | $cmd -in f.p -inform p -outform p >ff.p3 33 | if [ $? != 0 ]; then exit 1; fi 34 | 35 | cmp f.p ff.p1 36 | if [ $? != 0 ]; then exit 1; fi 37 | cmp f.p ff.p3 38 | if [ $? != 0 ]; then exit 1; fi 39 | 40 | /bin/rm -f f.* ff.* fff.* 41 | exit 0 42 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/v3-cert2.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICiTCCAfKgAwIBAgIEMeZfHzANBgkqhkiG9w0BAQQFADB9MQswCQYDVQQGEwJD 3 | YTEPMA0GA1UEBxMGTmVwZWFuMR4wHAYDVQQLExVObyBMaWFiaWxpdHkgQWNjZXB0 4 | ZWQxHzAdBgNVBAoTFkZvciBEZW1vIFB1cnBvc2VzIE9ubHkxHDAaBgNVBAMTE0Vu 5 | dHJ1c3QgRGVtbyBXZWIgQ0EwHhcNOTYwNzEyMTQyMDE1WhcNOTYxMDEyMTQyMDE1 6 | WjB0MSQwIgYJKoZIhvcNAQkBExVjb29rZUBpc3NsLmF0bC5ocC5jb20xCzAJBgNV 7 | BAYTAlVTMScwJQYDVQQLEx5IZXdsZXR0IFBhY2thcmQgQ29tcGFueSAoSVNTTCkx 8 | FjAUBgNVBAMTDVBhdWwgQS4gQ29va2UwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA 9 | 6ceSq9a9AU6g+zBwaL/yVmW1/9EE8s5you1mgjHnj0wAILuoB3L6rm6jmFRy7QZT 10 | G43IhVZdDua4e+5/n1ZslwIDAQABo2MwYTARBglghkgBhvhCAQEEBAMCB4AwTAYJ 11 | YIZIAYb4QgENBD8WPVRoaXMgY2VydGlmaWNhdGUgaXMgb25seSBpbnRlbmRlZCBm 12 | b3IgZGVtb25zdHJhdGlvbiBwdXJwb3Nlcy4wDQYJKoZIhvcNAQEEBQADgYEAi8qc 13 | F3zfFqy1sV8NhjwLVwOKuSfhR/Z8mbIEUeSTlnH3QbYt3HWZQ+vXI8mvtZoBc2Fz 14 | lexKeIkAZXCesqGbs6z6nCt16P6tmdfbZF3I3AWzLquPcOXjPf4HgstkyvVBn0Ap 15 | jAFN418KF/Cx4qyHB4cjdvLrRjjQLnb2+ibo7QU= 16 | -----END CERTIFICATE----- 17 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/times/091/mips-rel.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | &doit(100,"Pentium 100 32",0.0195,0.1000,0.6406,4.6100); # pentium-100 4 | &doit(200,"PPro 200 32",0.0070,0.0340,0.2087,1.4700); # pentium-100 5 | &doit( 25,"R3000 25 32",0.0860,0.4825,3.2417,23.8833); # R3000-25 6 | &doit(200,"R4400 200 32",0.0137,0.0717,0.4730,3.4367); # R4400 32bit 7 | &doit(180,"R10000 180 32",0.0061,0.0311,0.1955,1.3871); # R10000 32bit 8 | &doit(180,"R10000 180 64",0.0034,0.0149,0.0880,0.5933); # R10000 64bit 9 | &doit(400,"DEC 21164 400 64",0.0022,0.0105,0.0637,0.4457); # R10000 64bit 10 | 11 | sub doit 12 | { 13 | local($mhz,$label,@data)=@_; 14 | 15 | for ($i=0; $i <= $#data; $i++) 16 | { 17 | $data[$i]=1/$data[$i]*200/$mhz; 18 | } 19 | printf("%s %6.1f %6.1f %6.1f %6.1f\n",$label,@data); 20 | } 21 | 22 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/times/readme: -------------------------------------------------------------------------------- 1 | The 'times' in this directory are not all for the most recent version of 2 | the library and it should be noted that on some CPUs (specifically sparc 3 | and Alpha), the locations of files in the application after linking can 4 | make upto a %10 speed difference when running benchmarks on things like 5 | cbc mode DES. To put it mildly this can be very anoying. 6 | 7 | About the only way to get around this would be to compile the library as one 8 | object file, or to 'include' the source files in a specific order. 9 | 10 | The best way to get an idea of the 'raw' DES speed is to build the 11 | 'speed' program in crypto/des. 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c89.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -k 2 | # 3 | # Re-order arguments so that -L comes first 4 | # 5 | opts="" 6 | lopts="" 7 | 8 | for arg in $* ; do 9 | case $arg in 10 | -L*) lopts="$lopts $arg" ;; 11 | *) opts="$opts $arg" ;; 12 | esac 13 | done 14 | 15 | c89 $lopts $opts 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c_hash: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # print out the hash values 3 | # 4 | 5 | for i in $* 6 | do 7 | h=`openssl x509 -hash -noout -in $i` 8 | echo "$h.0 => $i" 9 | done 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c_info: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # print the subject 4 | # 5 | 6 | for i in $* 7 | do 8 | n=`openssl x509 -subject -issuer -enddate -noout -in $i` 9 | echo "$i" 10 | echo "$n" 11 | echo "--------" 12 | done 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c_issuer: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # print out the issuer 4 | # 5 | 6 | for i in $* 7 | do 8 | n=`openssl x509 -issuer -noout -in $i` 9 | echo "$i $n" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c_name: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # print the subject 4 | # 5 | 6 | for i in $* 7 | do 8 | n=`openssl x509 -subject -noout -in $i` 9 | echo "$i $n" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/FreeBSD.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | perl util/perlpath.pl /usr/bin 4 | perl util/ssldir.pl /usr/local 5 | perl util/mk1mf.pl FreeBSD >Makefile.FreeBSD 6 | perl Configure FreeBSD 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/deleof.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | while (<>) 4 | { 5 | print 6 | last if (/^# DO NOT DELETE THIS LINE/); 7 | } 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/deltree.com: -------------------------------------------------------------------------------- 1 | $! DELTREE.COM 2 | $ 3 | $ call deltree 'p1' 4 | $ exit $status 5 | $ 6 | $ deltree: subroutine ! P1 is a name of a directory 7 | $ on control_y then goto dt_STOP 8 | $ on warning then goto dt_exit 9 | $ _dt_def = f$trnlnm("SYS$DISK")+f$directory() 10 | $ if f$parse(p1) .eqs. "" then exit 11 | $ set default 'f$parse(p1,,,"DEVICE")''f$parse(p1,,,"DIRECTORY")' 12 | $ p1 = f$parse(p1,,,"NAME") + f$parse(p1,,,"TYPE") 13 | $ _fp = f$parse(".DIR",p1) 14 | $ dt_loop: 15 | $ _f = f$search(_fp) 16 | $ if _f .eqs. "" then goto dt_loopend 17 | $ call deltree [.'f$parse(_f,,,"NAME")']*.* 18 | $ goto dt_loop 19 | $ dt_loopend: 20 | $ _fp = f$parse(p1,".;*") 21 | $ if f$search(_fp) .eqs. "" then goto dt_exit 22 | $ set noon 23 | $ set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) '_fp' 24 | $ set on 25 | $ delete/nolog '_fp' 26 | $ dt_exit: 27 | $ set default '_dt_def' 28 | $ goto dt_end 29 | $ dt_STOP: 30 | $ set default '_dt_def' 31 | $ stop/id="" 32 | $ exit 33 | $ dt_end: 34 | $ endsubroutine 35 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/dirname.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | if ($#ARGV < 0) { 4 | die "dirname.pl: too few arguments\n"; 5 | } elsif ($#ARGV > 0) { 6 | die "dirname.pl: too many arguments\n"; 7 | } 8 | 9 | my $d = $ARGV[0]; 10 | 11 | if ($d =~ m|.*/.*|) { 12 | $d =~ s|/[^/]*$||; 13 | } else { 14 | $d = "."; 15 | } 16 | 17 | print $d,"\n"; 18 | exit(0); 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/do_ms.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # generate the Microsoft makefiles and .def files 4 | # 5 | 6 | PATH=util:../util:$PATH 7 | 8 | # perl util/mk1mf.pl no-sock VC-MSDOS >ms/msdos.mak 9 | # perl util/mk1mf.pl VC-W31-32 >ms/w31.mak 10 | perl util/mk1mf.pl dll VC-WIN16 >ms/w31dll.mak 11 | # perl util/mk1mf.pl VC-WIN32 >ms/nt.mak 12 | perl util/mk1mf.pl dll VC-WIN32 >ms/ntdll.mak 13 | perl util/mk1mf.pl Mingw32 >ms/mingw32.mak 14 | perl util/mk1mf.pl Mingw32-files >ms/mingw32f.mak 15 | 16 | perl util/mkdef.pl 16 libeay > ms/libeay16.def 17 | perl util/mkdef.pl 32 libeay > ms/libeay32.def 18 | perl util/mkdef.pl 16 ssleay > ms/ssleay16.def 19 | perl util/mkdef.pl 32 ssleay > ms/ssleay32.def 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/err-ins.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # 3 | # tack error codes onto the end of a file 4 | # 5 | 6 | open(ERR,$ARGV[0]) || die "unable to open error file '$ARGV[0]':$!\n"; 7 | @err=; 8 | close(ERR); 9 | 10 | open(IN,$ARGV[1]) || die "unable to open header file '$ARGV[1]':$!\n"; 11 | 12 | @out=""; 13 | while () 14 | { 15 | push(@out,$_); 16 | last if /BEGIN ERROR CODES/; 17 | } 18 | close(IN); 19 | 20 | open(OUT,">$ARGV[1]") || die "unable to open header file '$ARGV[1]':$1\n"; 21 | print OUT @out; 22 | print OUT @err; 23 | print OUT <<"EOF"; 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif 29 | 30 | EOF 31 | close(OUT); 32 | 33 | 34 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/extract-names.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | $/ = ""; # Eat a paragraph at once. 4 | while() { 5 | chop; 6 | s/\n/ /gm; 7 | if (/^=head1 /) { 8 | $name = 0; 9 | } elsif ($name) { 10 | if (/ - /) { 11 | s/ - .*//; 12 | s/,\s+/,/g; 13 | s/\s+,/,/g; 14 | s/^\s+//g; 15 | s/\s+$//g; 16 | s/\s/_/g; 17 | push @words, split ','; 18 | } 19 | } 20 | if (/^=head1 *NAME *$/) { 21 | $name = 1; 22 | } 23 | } 24 | 25 | print join("\n", @words),"\n"; 26 | 27 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/extract-section.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | while() { 4 | if (/=for\s+comment\s+openssl_manual_section:(\S+)/) 5 | { 6 | print "$1\n"; 7 | exit 0; 8 | } 9 | } 10 | 11 | print "$ARGV[0]\n"; 12 | 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/fixNT.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # clean up the mess that NT makes of my source tree 4 | # 5 | 6 | if [ -f makefile -a ! -f Makefile ]; then 7 | /bin/mv makefile Makefile 8 | fi 9 | chmod +x Configure util/* 10 | echo cleaning 11 | /bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null 12 | echo 'removing those damn ^M' 13 | perl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'` 14 | make -f Makefile links 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/mkdir-p.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | # mkdir-p.pl 4 | 5 | # On some systems, the -p option to mkdir (= also create any missing parent 6 | # directories) is not available. 7 | 8 | my $arg; 9 | 10 | foreach $arg (@ARGV) { 11 | $arg =~ tr|\\|/|; 12 | &do_mkdir_p($arg); 13 | } 14 | 15 | 16 | sub do_mkdir_p { 17 | local($dir) = @_; 18 | 19 | $dir =~ s|/*\Z(?!\n)||s; 20 | 21 | if (-d $dir) { 22 | return; 23 | } 24 | 25 | if ($dir =~ m|[^/]/|s) { 26 | local($parent) = $dir; 27 | $parent =~ s|[^/]*\Z(?!\n)||s; 28 | 29 | do_mkdir_p($parent); 30 | } 31 | 32 | mkdir($dir, 0777) || die "Cannot create directory $dir: $!\n"; 33 | print "created directory `$dir'\n"; 34 | } 35 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/mkrc.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/openssl/openssl/util/mkrc.pl -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/perlpath.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # 3 | # modify the '#!/usr/local/bin/perl' 4 | # line in all scripts that rely on perl. 5 | # 6 | 7 | require "find.pl"; 8 | 9 | $#ARGV == 0 || print STDERR "usage: perlpath newpath (eg /usr/bin)\n"; 10 | &find("."); 11 | 12 | sub wanted 13 | { 14 | return unless /\.pl$/ || /^[Cc]onfigur/; 15 | 16 | open(IN,"<$_") || die "unable to open $dir/$_:$!\n"; 17 | @a=; 18 | close(IN); 19 | 20 | if (-d $ARGV[0]) { 21 | $a[0]="#!$ARGV[0]/perl\n"; 22 | } 23 | else { 24 | $a[0]="#!$ARGV[0]\n"; 25 | } 26 | 27 | # Playing it safe... 28 | $new="$_.new"; 29 | open(OUT,">$new") || die "unable to open $dir/$new:$!\n"; 30 | print OUT @a; 31 | close(OUT); 32 | 33 | rename($new,$_) || die "unable to rename $dir/$new:$!\n"; 34 | chmod(0755,$_) || die "unable to chmod $dir/$new:$!\n"; 35 | } 36 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/pl/ultrix.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # 3 | # linux.pl - the standard unix makefile stuff. 4 | # 5 | 6 | $o='/'; 7 | $cp='/bin/cp'; 8 | $rm='/bin/rm -f'; 9 | 10 | # C compiler stuff 11 | 12 | $cc='cc'; 13 | if ($debug) 14 | { $cflags="-g -DREF_CHECK -DCRYPTO_MDEBUG"; } 15 | else 16 | { $cflags="-O2"; } 17 | 18 | $cflags.=" -std1 -DL_ENDIAN"; 19 | 20 | if (!$no_asm) 21 | { 22 | $bn_asm_obj='$(OBJ_D)/mips1.o'; 23 | $bn_asm_src='crypto/bn/asm/mips1.s'; 24 | } 25 | 26 | sub do_link_rule 27 | { 28 | local($target,$files,$dep_libs,$libs)=@_; 29 | local($ret,$_); 30 | 31 | $file =~ s/\//$o/g if $o ne '/'; 32 | $n=&bname($target); 33 | $ret.="$target: $files $dep_libs\n"; 34 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n"; 35 | return($ret); 36 | } 37 | 38 | 1; 39 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/pod2mantest.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | foo, bar, 6 | MARKER - test of multiline name section 7 | 8 | =head1 DESCRIPTION 9 | 10 | This is a test .pod file to see if we have a buggy pod2man or not. 11 | If we have a buggy implementation, we will get a line matching the 12 | regular expression "^ +MARKER - test of multiline name section *$" 13 | at the end of the resulting document. 14 | 15 | =cut 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/point.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -f "$2" 4 | if test "$OSTYPE" = msdosdjgpp || test "x$PLATFORM" = xmingw ; then 5 | cp "$1" "$2" 6 | else 7 | ln -s "$1" "$2" 8 | fi 9 | echo "$2 => $1" 10 | 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/tab_num.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | $num=1; 4 | $width=40; 5 | 6 | while (<>) 7 | { 8 | chop; 9 | 10 | $i=length($_); 11 | 12 | $n=$width-$i; 13 | $i=int(($n+7)/8); 14 | print $_.("\t" x $i).$num."\n"; 15 | $num++; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /vendor/pageant.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/pageant.exe -------------------------------------------------------------------------------- /vendor/plink.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/nodegit/4bdaf29407283eb41085d2d434b11285a3f5cb44/vendor/plink.exe --------------------------------------------------------------------------------