CryptoPkg/OpensslLib: Remove patch file and installation scripts.

This patch removes the EDKII-openssl-xxxx.patch, installation scripts,
and Patch-HOWTO.txt which were used for old OpenSSL-1.0.2xx enabling.

Cc: Ting Ye <ting.ye@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Gary Lin <glin@suse.com>
Cc: Ronald Cron <ronald.cron@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Qin Long 2017-03-23 16:27:46 +08:00
parent 452dc7cb81
commit 58ce70f7ed
4 changed files with 0 additions and 2317 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,80 +0,0 @@
cd openssl-1.0.2k
copy ..\opensslconf.h crypto
if not exist include\openssl mkdir include\openssl
copy e_os2.h include\openssl
copy crypto\crypto.h include\openssl
copy crypto\opensslv.h include\openssl
copy crypto\opensslconf.h include\openssl
copy crypto\ebcdic.h include\openssl
copy crypto\symhacks.h include\openssl
copy crypto\ossl_typ.h include\openssl
copy crypto\o_dir.h include
copy crypto\objects\objects.h include\openssl
copy crypto\objects\obj_mac.h include\openssl
copy crypto\md4\md4.h include\openssl
copy crypto\md5\md5.h include\openssl
copy crypto\sha\sha.h include\openssl
copy crypto\mdc2\mdc2.h include\openssl
copy crypto\hmac\hmac.h include\openssl
copy crypto\ripemd\ripemd.h include\openssl
copy crypto\whrlpool\whrlpool.h include\openssl
copy crypto\des\des.h include\openssl
copy crypto\des\des_old.h include\openssl
copy crypto\aes\aes.h include\openssl
copy crypto\rc2\rc2.h include\openssl
copy crypto\rc4\rc4.h include\openssl
copy crypto\idea\idea.h include\openssl
copy crypto\bf\blowfish.h include\openssl
copy crypto\cast\cast.h include\openssl
copy crypto\camellia\camellia.h include\openssl
copy crypto\seed\seed.h include\openssl
copy crypto\modes\modes.h include\openssl
copy crypto\bn\bn.h include\openssl
copy crypto\ec\ec.h include\openssl
copy crypto\rsa\rsa.h include\openssl
copy crypto\dsa\dsa.h include\openssl
copy crypto\ecdsa\ecdsa.h include\openssl
copy crypto\dh\dh.h include\openssl
copy crypto\ecdh\ecdh.h include\openssl
copy crypto\dso\dso.h include\openssl
copy crypto\engine\engine.h include\openssl
copy crypto\buffer\buffer.h include\openssl
copy crypto\bio\bio.h include\openssl
copy crypto\stack\stack.h include\openssl
copy crypto\stack\safestack.h include\openssl
copy crypto\lhash\lhash.h include\openssl
copy crypto\rand\rand.h include\openssl
copy crypto\err\err.h include\openssl
copy crypto\evp\evp.h include\openssl
copy crypto\asn1\asn1.h include\openssl
copy crypto\asn1\asn1_mac.h include\openssl
copy crypto\asn1\asn1t.h include\openssl
copy crypto\pem\pem.h include\openssl
copy crypto\pem\pem2.h include\openssl
copy crypto\x509\x509.h include\openssl
copy crypto\x509\x509_vfy.h include\openssl
copy crypto\x509v3\x509v3.h include\openssl
copy crypto\conf\conf.h include\openssl
copy crypto\conf\conf_api.h include\openssl
copy crypto\txt_db\txt_db.h include\openssl
copy crypto\pkcs7\pkcs7.h include\openssl
copy crypto\pkcs12\pkcs12.h include\openssl
copy crypto\comp\comp.h include\openssl
copy crypto\ocsp\ocsp.h include\openssl
copy crypto\ui\ui.h include\openssl
copy crypto\ui\ui_compat.h include\openssl
copy crypto\krb5\krb5_asn.h include\openssl
copy crypto\cms\cms.h include\openssl
copy crypto\pqueue\pqueue.h include\openssl
copy crypto\ts\ts.h include\openssl
copy crypto\srp\srp.h include\openssl
copy crypto\cmac\cmac.h include\openssl
copy ssl\ssl.h include\openssl
copy ssl\ssl2.h include\openssl
copy ssl\ssl3.h include\openssl
copy ssl\ssl23.h include\openssl
copy ssl\tls1.h include\openssl
copy ssl\dtls1.h include\openssl
copy ssl\kssl.h include\openssl
copy ssl\srtp.h include\openssl
cd ..

View File

@ -1,82 +0,0 @@
#!/bin/sh
cd openssl-1.0.2k
cp ../opensslconf.h crypto
mkdir -p include/openssl
cp e_os2.h include/openssl
cp crypto/crypto.h include/openssl
cp crypto/opensslv.h include/openssl
cp crypto/opensslconf.h include/openssl
cp crypto/ebcdic.h include/openssl
cp crypto/symhacks.h include/openssl
cp crypto/ossl_typ.h include/openssl
cp crypto/o_dir.h include
cp crypto/objects/objects.h include/openssl
cp crypto/objects/obj_mac.h include/openssl
cp crypto/md4/md4.h include/openssl
cp crypto/md5/md5.h include/openssl
cp crypto/sha/sha.h include/openssl
cp crypto/mdc2/mdc2.h include/openssl
cp crypto/hmac/hmac.h include/openssl
cp crypto/ripemd/ripemd.h include/openssl
cp crypto/whrlpool/whrlpool.h include/openssl
cp crypto/des/des.h include/openssl
cp crypto/des/des_old.h include/openssl
cp crypto/aes/aes.h include/openssl
cp crypto/rc2/rc2.h include/openssl
cp crypto/rc4/rc4.h include/openssl
cp crypto/idea/idea.h include/openssl
cp crypto/bf/blowfish.h include/openssl
cp crypto/cast/cast.h include/openssl
cp crypto/camellia/camellia.h include/openssl
cp crypto/seed/seed.h include/openssl
cp crypto/modes/modes.h include/openssl
cp crypto/bn/bn.h include/openssl
cp crypto/ec/ec.h include/openssl
cp crypto/rsa/rsa.h include/openssl
cp crypto/dsa/dsa.h include/openssl
cp crypto/ecdsa/ecdsa.h include/openssl
cp crypto/dh/dh.h include/openssl
cp crypto/ecdh/ecdh.h include/openssl
cp crypto/dso/dso.h include/openssl
cp crypto/engine/engine.h include/openssl
cp crypto/buffer/buffer.h include/openssl
cp crypto/bio/bio.h include/openssl
cp crypto/stack/stack.h include/openssl
cp crypto/stack/safestack.h include/openssl
cp crypto/lhash/lhash.h include/openssl
cp crypto/rand/rand.h include/openssl
cp crypto/err/err.h include/openssl
cp crypto/evp/evp.h include/openssl
cp crypto/asn1/asn1.h include/openssl
cp crypto/asn1/asn1_mac.h include/openssl
cp crypto/asn1/asn1t.h include/openssl
cp crypto/pem/pem.h include/openssl
cp crypto/pem/pem2.h include/openssl
cp crypto/x509/x509.h include/openssl
cp crypto/x509/x509_vfy.h include/openssl
cp crypto/x509v3/x509v3.h include/openssl
cp crypto/conf/conf.h include/openssl
cp crypto/conf/conf_api.h include/openssl
cp crypto/txt_db/txt_db.h include/openssl
cp crypto/pkcs7/pkcs7.h include/openssl
cp crypto/pkcs12/pkcs12.h include/openssl
cp crypto/comp/comp.h include/openssl
cp crypto/ocsp/ocsp.h include/openssl
cp crypto/ui/ui.h include/openssl
cp crypto/ui/ui_compat.h include/openssl
cp crypto/krb5/krb5_asn.h include/openssl
cp crypto/cms/cms.h include/openssl
cp crypto/pqueue/pqueue.h include/openssl
cp crypto/ts/ts.h include/openssl
cp crypto/srp/srp.h include/openssl
cp crypto/cmac/cmac.h include/openssl
cp ssl/ssl.h include/openssl
cp ssl/ssl2.h include/openssl
cp ssl/ssl3.h include/openssl
cp ssl/ssl23.h include/openssl
cp ssl/tls1.h include/openssl
cp ssl/dtls1.h include/openssl
cp ssl/kssl.h include/openssl
cp ssl/srtp.h include/openssl
cd ..

View File

@ -1,61 +0,0 @@
================================================================================
Introduction
================================================================================
OpenSSL is a well-known open source implementation of SSL and TLS protocols.
The core library implements the basic cryptographic functions and provides various
utility functions. The OpenSSL library is widely used in variety of security
products development as base crypto provider. (See http://www.openssl.org for more
information for OpenSSL).
UEFI (Unified Extensible Firmware Interface) is a specification detailing the
interfaces between OS and platform firmware. Several security features were
introduced (e.g. Authenticated Variable Service, Driver Signing, etc) from UEFI
2.2 (http://www.uefi.org). These security features highly depends on the
cryptography. This patch will enable openssl building under UEFI environment.
================================================================================
OpenSSL-Version
================================================================================
Current supported OpenSSL version for UEFI Crypto Library is 1.0.2k.
http://www.openssl.org/source/openssl-1.0.2k.tar.gz
================================================================================
HOW to Install Openssl for UEFI Building
================================================================================
1. Download OpenSSL 1.0.2k from official website:
http://www.openssl.org/source/openssl-1.0.2k.tar.gz
NOTE: Some web browsers may rename the downloaded TAR file to openssl-1.0.2k.tar.tar.
When you do the download, rename the "openssl-1.0.2k.tar.tar" to
"openssl-1.0.2k.tar.gz" or rename the local downloaded file with ".tar.tar"
extension to ".tar.gz".
2. Extract TAR into CryptoPkg/Library/OpensslLib/openssl-1.0.2k
NOTE: If you use WinZip to unpack the openssl source in Windows, please
uncheck the WinZip smart CR/LF conversion option (WINZIP: Options -->
Configuration --> Miscellaneous --> "TAR file smart CR/LF conversion").
3. Apply this patch: EDKII_openssl-1.0.2k.patch, and make installation
For Windows Environment:
------------------------
1) Make sure the patch utility has been installed in your machine.
Install Cygwin or get the patch utility binary from
http://gnuwin32.sourceforge.net/packages/patch.htm
2) cd $(WORKSPACE)\CryptoPkg\Library\OpensslLib\openssl-1.0.2k
3) patch -p1 -i ..\EDKII_openssl-1.0.2k.patch
4) cd ..
5) Install.cmd
For Linux* Environment:
-----------------------
1) Make sure the patch utility has been installed in your machine.
Patch utility is available from http://directory.fsf.org/project/patch/
2) cd $(WORKSPACE)/CryptoPkg/Library/OpensslLib/openssl-1.0.2k
3) patch -p1 -i ../EDKII_openssl-1.0.2k.patch
4) cd ..
5) ./Install.sh