Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2023 10:38:12 -0500
From:      Mark Johnston <markj@freebsd.org>
To:        Jessica Clarke <jrtc27@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@freebsd.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@freebsd.org>
Subject:   Re: git: 44f8e1e8530e - main - ossl: Add support for armv7
Message-ID:  <ZWn95DMvxPvY-9QO@nuc>
In-Reply-To: <13EF2B1A-05F0-4D45-A735-7573FC94A071@freebsd.org>
References:  <202311301751.3AUHp6cv081842@gitrepo.freebsd.org> <13EF2B1A-05F0-4D45-A735-7573FC94A071@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 30, 2023 at 06:00:52PM +0000, Jessica Clarke wrote:
> On 30 Nov 2023, at 17:51, Mark Johnston <markj@FreeBSD.org> wrote:
> > 
> > The branch main has been updated by markj:
> > 
> > URL: https://cgit.FreeBSD.org/src/commit/?id=44f8e1e8530e1d2e95e84bbbe3d22ac9cb2557fe
> > 
> > commit 44f8e1e8530e1d2e95e84bbbe3d22ac9cb2557fe
> > Author:     Mark Johnston <markj@FreeBSD.org>
> > AuthorDate: 2023-11-30 17:46:08 +0000
> > Commit:     Mark Johnston <markj@FreeBSD.org>
> > CommitDate: 2023-11-30 17:49:47 +0000
> > 
> >    ossl: Add support for armv7
> > 
> >    OpenSSL provides implementations of several AES modes which use
> >    bitslicing and can be accelerated on CPUs which support the NEON
> >    extension.  This patch adds arm platform support to ossl(4) and provides
> >    an AES-CBC implementation, though bsaes_cbc_encrypt() only implements
> >    decryption.  The real goal is to provide an accelerated AES-GCM
> >    implementation; this will be added in a subsequent patch.
> > 
> >    Initially derived from https://reviews.freebsd.org/D37420.
> > 
> >    Reviewed by:    jhb
> >    Sponsored by:   Klara, Inc.
> >    Sponsored by:   Stormshield
> >    MFC after:      3 months
> >    Differential Revision:  https://reviews.freebsd.org/D41304
> > ---
> > sys/conf/files.arm                | 10 +++++
> > sys/crypto/openssl/arm/arm_arch.h | 84 ++++++++++++++++++++++++++++++++++
> 
> Upstream has just the one copy of this in an MI directory. Can we avoid
> duplicating it in sys/crypto, whether by moving it into the MI
> directory (since it has an MD name already so collisions aren’t an
> issue) or having a shared MD directory between armv7 and aarch64?

Yes, good point: https://reviews.freebsd.org/D42866



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZWn95DMvxPvY-9QO>