HomeFreeBSD

ossl: Add support for armv7

Description

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

(cherry picked from commit 44f8e1e8530e1d2e95e84bbbe3d22ac9cb2557fe)

Details

Provenance
markjAuthored on Nov 30 2023, 5:46 PM
Reviewer
jhb
Differential Revision
D41304: ossl: Add support for armv7
Parents
rG3ba61343f708: ktrace: Fix the build when options KTRACE is not configured
Branches
Unknown
Tags
Unknown