public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Li, Yi" <yi1.li@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"kraxel@redhat.com" <kraxel@redhat.com>
Cc: "Wang, Jian J" <jian.j.wang@intel.com>,
	Pawel Polawski <ppolawsk@redhat.com>,
	"Lu, Xiaoyu1" <xiaoyu1.lu@intel.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>,
	"Jiang, Guomin" <guomin.jiang@intel.com>,
	"Yao, Jiewen" <jiewen.yao@intel.com>,
	Oliver Steffen <osteffen@redhat.com>,
	"Justen, Jordan L" <jordan.l.justen@intel.com>
Subject: Re: [edk2-devel] [PATCH 19/22] CryptoPkg/openssl: update *.inf, add generated files
Date: Mon, 13 Mar 2023 15:26:41 +0000	[thread overview]
Message-ID: <SJ1PR11MB622713EFB4C581130B54CF9BC5B99@SJ1PR11MB6227.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20230313083016.136448-20-kraxel@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 9692 bytes --]

>+  DEFINE OPENSSL_FLAGS_NOASM     = -DSTATIC_LEGACY



Why we need this macro, EDK2 does not seem to use the algorithm in the legacy provider.





-----Original Message-----
From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> devel@edk2.groups.io<mailto:devel@edk2.groups.io> On Behalf Of Gerd Hoffmann
Sent: Monday, March 13, 2023 4:30 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Wang, Jian J jian.j.wang@intel.com<mailto:jian.j.wang@intel.com>; Pawel Polawski ppolawsk@redhat.com<mailto:ppolawsk@redhat.com>; Lu, Xiaoyu1 xiaoyu1.lu@intel.com<mailto:xiaoyu1.lu@intel.com>; Ard Biesheuvel ardb+tianocore@kernel.org<mailto:ardb+tianocore@kernel.org>; Jiang, Guomin guomin.jiang@intel.com<mailto:guomin.jiang@intel.com>; Gerd Hoffmann kraxel@redhat.com<mailto:kraxel@redhat.com>; Yao, Jiewen jiewen.yao@intel.com<mailto:jiewen.yao@intel.com>; Oliver Steffen osteffen@redhat.com<mailto:osteffen@redhat.com>; Justen, Jordan L jordan.l.justen@intel.com<mailto:jordan.l.justen@intel.com>
Subject: [edk2-devel] [PATCH 19/22] CryptoPkg/openssl: update *.inf, add generated files



Commits the changes done by configure.py.



Allows building edk2 without perl ;)



Signed-off-by: Gerd Hoffmann <kraxel@redhat.com<mailto:kraxel@redhat.com>>

---

CryptoPkg/Library/OpensslLib/OpensslLib.inf   |  679 +-

.../Library/OpensslLib/OpensslLibAccel.inf    | 2112 ++++-

.../Library/OpensslLib/OpensslLibCrypto.inf   |  634 +-

.../Library/OpensslLib/OpensslLibFull.inf     |  738 +-

.../OpensslLib/OpensslLibFullAccel.inf        | 2299 ++++-

.../Library/OpensslLib/OpensslLibHash.inf     |   10 +-

.../openssl-gen/include/crypto/bn_conf.h      |   29 +

.../openssl-gen/include/crypto/dso_conf.h     |   18 +

.../openssl-gen/include/openssl/asn1.h        | 1128 +++

.../openssl-gen/include/openssl/asn1t.h       |  946 ++

.../openssl-gen/include/openssl/bio.h         |  887 ++

.../openssl-gen/include/openssl/cmp.h         |  596 ++

.../openssl-gen/include/openssl/cms.h         |  493 +

.../openssl-gen/include/openssl/conf.h        |  211 +

.../include/openssl/configuration-ec.h        |  284 +

.../include/openssl/configuration-noec.h      |  296 +

.../include/openssl/configuration.h           |    5 +

.../openssl-gen/include/openssl/crmf.h        |  227 +

.../openssl-gen/include/openssl/crypto.h      |  558 ++

.../openssl-gen/include/openssl/ct.h          |  573 ++

.../openssl-gen/include/openssl/err.h         |  504 +

.../openssl-gen/include/openssl/ess.h         |  128 +

.../openssl-gen/include/openssl/fipskey.h     |   36 +

.../openssl-gen/include/openssl/lhash.h       |  288 +

.../openssl-gen/include/openssl/ocsp.h        |  483 +

.../openssl-gen/include/openssl/opensslv.h    |  114 +

.../openssl-gen/include/openssl/pkcs12.h      |  350 +

.../openssl-gen/include/openssl/pkcs7.h       |  427 +

.../openssl-gen/include/openssl/safestack.h   |  297 +

.../openssl-gen/include/openssl/srp.h         |  285 +

.../openssl-gen/include/openssl/ssl.h         | 2599 ++++++

.../openssl-gen/include/openssl/ui.h          |  407 +

.../openssl-gen/include/openssl/x509.h        | 1276 +++

.../openssl-gen/include/openssl/x509_vfy.h    |  894 ++

.../openssl-gen/include/openssl/x509v3.h      | 1450 +++

.../common/include/prov/der_digests.h         |  160 +

.../providers/common/include/prov/der_ec.h    |  286 +

.../providers/common/include/prov/der_ecx.h   |   50 +

.../providers/common/include/prov/der_rsa.h   |  187 +

.../providers/common/include/prov/der_sm2.h   |   37 +

.../providers/common/include/prov/der_wrap.h  |   46 +

.../providers/common/der/der_digests_gen.c    |  160 +

.../providers/common/der/der_ec_gen.c         |  279 +

.../providers/common/der/der_ecx_gen.c        |   44 +

.../providers/common/der/der_rsa_gen.c        |  174 +

.../providers/common/der/der_sm2_gen.c        |   30 +

.../providers/common/der/der_wrap_gen.c       |   46 +

.../AARCH64-GCC/crypto/aes/aesv8-armx.S       | 1087 +++

.../AARCH64-GCC/crypto/aes/vpaes-armv8.S      | 1196 +++

.../AARCH64-GCC/crypto/arm64cpuid.S           |  129 +

.../AARCH64-GCC/crypto/bn/armv8-mont.S        | 2124 +++++

.../crypto/ec/ecp_nistz256-armv8.S            | 4242 +++++++++

.../crypto/modes/aes-gcm-armv8_64.S           | 6026 ++++++++++++

.../AARCH64-GCC/crypto/modes/ghashv8-armx.S   |  243 +

.../AARCH64-GCC/crypto/sha/keccak1600-armv8.S | 1009 ++

.../AARCH64-GCC/crypto/sha/sha1-armv8.S       | 1211 +++

.../AARCH64-GCC/crypto/sha/sha256-armv8.S     | 2051 ++++

.../AARCH64-GCC/crypto/sha/sha512-armv8.S     | 1606 ++++

.../openssl-gen/IA32-GCC/crypto/aes/aes-586.S | 3320 +++++++

.../IA32-GCC/crypto/aes/aesni-x86.S           | 3364 +++++++

.../IA32-GCC/crypto/aes/vpaes-x86.S           |  742 ++

.../openssl-gen/IA32-GCC/crypto/bn/bn-586.S   | 1572 ++++

.../openssl-gen/IA32-GCC/crypto/bn/co-586.S   | 1290 +++

.../openssl-gen/IA32-GCC/crypto/bn/x86-gf2m.S |  374 +

.../openssl-gen/IA32-GCC/crypto/bn/x86-mont.S |  494 +

.../IA32-GCC/crypto/ec/ecp_nistz256-x86.S     | 5290 +++++++++++

.../openssl-gen/IA32-GCC/crypto/md5/md5-586.S |  700 ++

.../IA32-GCC/crypto/modes/ghash-x86.S         | 1316 +++

.../IA32-GCC/crypto/sha/sha1-586.S            | 4006 ++++++++

.../IA32-GCC/crypto/sha/sha256-586.S          | 6804 ++++++++++++++

.../IA32-GCC/crypto/sha/sha512-586.S          | 2850 ++++++

.../openssl-gen/IA32-GCC/crypto/x86cpuid.S    |  599 ++

.../IA32-MSFT/crypto/aes/aes-586.S            | 3211 +++++++

.../IA32-MSFT/crypto/aes/aesni-x86.S          | 3202 +++++++

.../IA32-MSFT/crypto/aes/vpaes-x86.S          |  641 ++

.../openssl-gen/IA32-MSFT/crypto/bn/bn-586.S  | 1515 +++

.../openssl-gen/IA32-MSFT/crypto/bn/co-586.S  | 1252 +++

.../IA32-MSFT/crypto/bn/x86-gf2m.S            |  345 +

.../IA32-MSFT/crypto/bn/x86-mont.S            |  479 +

.../IA32-MSFT/crypto/ec/ecp_nistz256-x86.S    | 5128 ++++++++++

.../IA32-MSFT/crypto/md5/md5-586.S            |  683 ++

.../IA32-MSFT/crypto/modes/ghash-x86.S        | 1257 +++

.../IA32-MSFT/crypto/sha/sha1-586.S           | 3970 ++++++++

.../IA32-MSFT/crypto/sha/sha256-586.S         | 6789 ++++++++++++++

.../IA32-MSFT/crypto/sha/sha512-586.S         | 2835 ++++++

.../openssl-gen/IA32-MSFT/crypto/x86cpuid.S   |  506 +

.../X64-GCC/crypto/aes/aes-x86_64.s           | 2679 ++++++

.../X64-GCC/crypto/aes/aesni-mb-x86_64.s      | 1609 ++++

.../X64-GCC/crypto/aes/aesni-sha1-x86_64.s    | 3056 ++++++

.../X64-GCC/crypto/aes/aesni-sha256-x86_64.s  | 4456 +++++++++

.../X64-GCC/crypto/aes/aesni-x86_64.s         | 4506 +++++++++

.../X64-GCC/crypto/aes/bsaes-x86_64.s         | 2618 ++++++

.../X64-GCC/crypto/aes/vpaes-x86_64.s         |  879 ++

.../openssl-gen/X64-GCC/crypto/bn/rsaz-avx2.s | 1765 ++++

.../X64-GCC/crypto/bn/rsaz-avx512.s           |  901 ++

.../X64-GCC/crypto/bn/rsaz-x86_64.s           | 2036 ++++

.../X64-GCC/crypto/bn/x86_64-gf2m.s           |  332 +

.../X64-GCC/crypto/bn/x86_64-mont.s           | 1260 +++

.../X64-GCC/crypto/bn/x86_64-mont5.s          | 3624 +++++++

.../X64-GCC/crypto/ec/ecp_nistz256-x86_64.s   | 7364 +++++++++++++++

.../X64-GCC/crypto/ec/x25519-x86_64.s         |  823 ++

.../X64-GCC/crypto/md5/md5-x86_64.s           |  704 ++

.../X64-GCC/crypto/modes/aesni-gcm-x86_64.s   |  810 ++

.../X64-GCC/crypto/modes/ghash-x86_64.s       | 1874 ++++

.../X64-GCC/crypto/sha/keccak1600-x86_64.s    |  545 ++

.../X64-GCC/crypto/sha/sha1-mb-x86_64.s       | 7324 +++++++++++++++

.../X64-GCC/crypto/sha/sha1-x86_64.s          | 5471 +++++++++++

.../X64-GCC/crypto/sha/sha256-mb-x86_64.s     | 8005 ++++++++++++++++

.../X64-GCC/crypto/sha/sha256-x86_64.s        | 5477 +++++++++++

.../X64-GCC/crypto/sha/sha512-x86_64.s        | 5482 +++++++++++

.../openssl-gen/X64-GCC/crypto/x86_64cpuid.s  |  512 +

.../X64-MSFT/crypto/aes/aes-x86_64.s          | 2969 ++++++

.../X64-MSFT/crypto/aes/aesni-mb-x86_64.s     | 1846 ++++

.../X64-MSFT/crypto/aes/aesni-sha1-x86_64.s   | 3268 +++++++

.../X64-MSFT/crypto/aes/aesni-sha256-x86_64.s | 4708 ++++++++++

.../X64-MSFT/crypto/aes/aesni-x86_64.s        | 5104 ++++++++++

.../X64-MSFT/crypto/aes/bsaes-x86_64.s        | 2823 ++++++

.../X64-MSFT/crypto/aes/vpaes-x86_64.s        | 1168 +++

.../X64-MSFT/crypto/bn/rsaz-avx2.s            | 1981 ++++

.../X64-MSFT/crypto/bn/rsaz-avx512.s          | 1031 ++

.../X64-MSFT/crypto/bn/rsaz-x86_64.s          | 2261 +++++

.../X64-MSFT/crypto/bn/x86_64-gf2m.s          |  425 +

.../X64-MSFT/crypto/bn/x86_64-mont.s          | 1472 +++

.../X64-MSFT/crypto/bn/x86_64-mont5.s         | 3842 ++++++++

.../X64-MSFT/crypto/ec/ecp_nistz256-x86_64.s  | 7920 ++++++++++++++++

.../X64-MSFT/crypto/ec/x25519-x86_64.s        | 1064 +++

.../X64-MSFT/crypto/md5/md5-x86_64.s          |  786 ++

.../X64-MSFT/crypto/modes/aesni-gcm-x86_64.s  |  981 ++

.../X64-MSFT/crypto/modes/ghash-x86_64.s      | 2076 +++++

.../X64-MSFT/crypto/sha/keccak1600-x86_64.s   |  527 ++

.../X64-MSFT/crypto/sha/sha1-mb-x86_64.s      | 7610 +++++++++++++++

.../X64-MSFT/crypto/sha/sha1-x86_64.s         | 5766 ++++++++++++

.../X64-MSFT/crypto/sha/sha256-mb-x86_64.s    | 8291 +++++++++++++++++

.../X64-MSFT/crypto/sha/sha256-x86_64.s       | 5711 ++++++++++++

.../X64-MSFT/crypto/sha/sha512-x86_64.s       | 5665 +++++++++++

.../openssl-gen/X64-MSFT/crypto/x86_64cpuid.s |  490 +

136 files changed, 263105 insertions(+), 10 deletions(-)



[-- Attachment #2: Type: text/html, Size: 22008 bytes --]

  reply	other threads:[~2023-03-13 15:27 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13  8:29 [PATCH 00/22] [edk2-staging] CryptoPkg/openssl: switch to openssl-3.0 Gerd Hoffmann
2023-03-13  8:29 ` [PATCH 01/22] CryptoPkg/openssl: update submodule to openssl-3.0.8 Gerd Hoffmann
2023-03-13 15:13   ` [edk2-devel] " Li, Yi
2023-03-14  8:16     ` Gerd Hoffmann
2023-03-14  8:45       ` Ard Biesheuvel
2023-03-14  9:04         ` Gerd Hoffmann
2023-06-02  2:53         ` Yao, Jiewen
2023-06-02  9:14           ` Ard Biesheuvel
2023-06-02 14:29             ` Yao, Jiewen
2023-06-19  8:12               ` Gerd Hoffmann
2023-06-19  8:37                 ` Li, Yi
2023-08-03  4:40             ` Li, Yi
2023-03-13  8:29 ` [PATCH 02/22] CryptoPkg/openssl: remove openssl 1.1.1 header files Gerd Hoffmann
2023-03-13  8:29 ` [PATCH 03/22] CryptoPkg/openssl: remove generated file lists Gerd Hoffmann
2023-03-13  8:29 ` [PATCH 04/22] CryptoPkg/openssl: add openssl3 configure scripts Gerd Hoffmann
2023-03-13  8:29 ` [PATCH 05/22] CryptoPkg/openssl: UefiAsm.conf update for openssl 3.0, add aarch64 Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 06/22] CryptoPkg/openssl: update Openssl*.inf files for openssl 3.0 Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 07/22] CryptoPkg/BaseCryptLib: no openssl deprecation warnings please Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 08/22] CryptoPkg/BaseCryptLib; adapt CryptSm3.c to openssl 3.0 changes Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 09/22] CryptoPkg/BaseCryptLib: drop BIO_* dummy functions Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 10/22] CryptoPkg/TlsLib: ERR_GET_FUNC is gone Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 11/22] CryptoPkg/TlsLib: use unsigned long for ErrorCode Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 12/22] CryptoPkg/openssl: adapt rand_pool.c to openssl 3.0 changes Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 13/22] CryptoPkg/openssl: move compiler_flags to buildinf.c Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 14/22] CryptoPkg/openssl: store dummy update for openssl 3.0 Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 15/22] CryptoPkg/openssl: adapt EcSm2Null.c " Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 16/22] [hash] CryptoPkg/openssl: add OpensslLibHash.inf Gerd Hoffmann
2023-03-13 15:46   ` [edk2-devel] " Li, Yi
2023-03-14  7:45     ` Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 17/22] [hash] OvmfPkg: wire up OpensslLibHash.inf Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 18/22] [provider] CryptoPkg/openssl: use our own predefined providers Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 19/22] CryptoPkg/openssl: update *.inf, add generated files Gerd Hoffmann
2023-03-13 15:26   ` Li, Yi [this message]
2023-03-14  7:55     ` [edk2-devel] " Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 20/22] CryptoPkg/openssl: update CI config for openssl 3.0 Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 21/22] CryptoPkg/openssl: cleanup remaining openssl-1.1.1 files Gerd Hoffmann
2023-03-13  8:30 ` [PATCH 22/22] CryptoPkg/openssl: update HOWTO file Gerd Hoffmann
2023-06-01 16:40 ` [edk2-devel] [PATCH 00/22] [edk2-staging] CryptoPkg/openssl: switch to openssl-3.0 Michael D Kinney
2023-06-02  2:51   ` Yao, Jiewen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ1PR11MB622713EFB4C581130B54CF9BC5B99@SJ1PR11MB6227.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox