From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: "kraxel@redhat.com" <kraxel@redhat.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [edk2-devel] [RFC] [staging/CryptoLibrary] Openssl1.1 replacement proposal
Date: Fri, 10 Mar 2023 16:06:26 +0000 [thread overview]
Message-ID: <MW4PR11MB58722C98D98CBCC4624C8B7E8CBA9@MW4PR11MB5872.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20230310155008.6vah5svjaavroe2y@sirius.home.kraxel.org>
Hi Gerd
I have asked in my previous email in Feb 11, 20 - https://edk2.groups.io/g/devel/message/100040
> Hi Gerd
> If you don't mind, please submit your latest openssl-3.0 patch to the staging for broader evaluation and improvement.
Unfortunately, I do not see any response or action.
The staging tree is for POC purpose, there is no requirement to pass CI. Please don't worry about that at this moment.
With that clarification, please allow me to ask again, would you please to submit your latest work to staging, if you see something is missing?
All in all, I do hope we can work on the same tree to keep improving.
Thank you
Yao, Jiewen
> -----Original Message-----
> From: kraxel@redhat.com <kraxel@redhat.com>
> Sent: Friday, March 10, 2023 11:50 PM
> To: devel@edk2.groups.io; Yao, Jiewen <jiewen.yao@intel.com>
> Subject: Re: [edk2-devel] [RFC] [staging/CryptoLibrary] Openssl1.1
> replacement proposal
>
> On Fri, Mar 10, 2023 at 12:28:54PM +0000, Yao, Jiewen wrote:
> > Hello
> > We have created initial POC version CryptoPkg upgrade.
> >
> > OpenSSL 3.0 POC: https://github.com/tianocore/edk2-
> staging/blob/OpenSSL11_EOL/CryptoPkg/Readme-OpenSSL3.0.md
> > The size is reduced a lots. But it still exceeds some platforms.
>
> I've already mentioned the branch in the cover letter of the openssl
> hash series (https://edk2.groups.io/g/devel/message/100123), but
> apparently it went unnoticed, there are lots of commits from my old
> branch in there ...
>
> Anyway, my latest branch (just rebased to master) is here:
>
> https://github.com/kraxel/edk2/commits/openssl3
>
> Doesn't (yet) pass CI, most failures are on IA32 due to missing
> compiler intrinsics.
>
> I've put the configuration system upside-down, replaced the
> process_files.pl script with python. All generated files are
> placed in a new 'openssl-gen' subdirectory, no matter whenever
> they are header files, C files or asm files.
>
> Some code changes are needed for openssl 3.0, those are mostly
> unchanged when comparing to my ~1y old branch. Exceptions are
> some EC-related changes.
>
> Acceleration support has been expanded to also cover AARCH64
> with GCC5.
>
> The old openssl-1.1 apparently tries to avoid adding support
> for avx for asm acceleration, by taking care that nasm is not
> in the path. That trick will surely will not work with
> openssl-3.0 as openssl has learned to generate avx instructions
> for other assemblers meanwhile.
>
> Is there some specific reason for that?
> Compatibility with toolchains without avx support?
> Or is firmware not allowed to use avx instructions?
>
> In case of the latter we probably have to add a 'no-avx' config option
> to upstream openssl, similiar to the 'no-sse2' option which already
> exists.
>
> take care,
> Gerd
prev parent reply other threads:[~2023-03-10 16:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <MW4PR11MB58723F4FCC357DCDADBFEE238CD49@MW4PR11MB5872.namprd11.prod.outlook.com>
2023-02-04 9:25 ` [RFC] [staging/CryptoLibrary] Openssl1.1 replacement proposal Yao, Jiewen
2023-02-04 16:04 ` [edk2-devel] " Marvin Häuser
2023-02-08 11:45 ` Gerd Hoffmann
2023-02-09 3:21 ` Yao, Jiewen
[not found] ` <174209E894D5CF7F.15261@groups.io>
2023-02-11 2:20 ` Yao, Jiewen
[not found] ` <1742A3BAD41DE0F1.13814@groups.io>
2023-03-10 12:28 ` Yao, Jiewen
2023-03-10 15:50 ` Gerd Hoffmann
2023-03-10 16:06 ` Yao, Jiewen [this message]
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=MW4PR11MB58722C98D98CBCC4624C8B7E8CBA9@MW4PR11MB5872.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