HomeFreeBSD

ossl: Add GCM support on powerpc64/powerpc64le (POWER8+)

Description

ossl: Add GCM support on powerpc64/powerpc64le (POWER8+)

Separate ossl's existing AES-NI GCM implementation into a common
ossl_aes_gcm.c and add conditionals to switch between OpenSSL's AES-NI
and POWER8 GCM routines depending on the architecture. Since the
existing AVX-512 implementation is less agnostic, move it into a
separate ossl_aes_gcm_avx512.c.

Reviewed by: markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D44274

(cherry picked from commit 5daf8ed625af70ebb7e4740ab98a6054e9e52329)

Details

Provenance
tpearson_raptorengineering.comAuthored on Sep 10 2025, 4:54 PM
markjCommitted on Oct 15 2025, 1:23 PM
Reviewer
markj
Differential Revision
D44274: ossl: Add GCM support on powerpc64/powerpc64le (POWER8+)
Parents
rG8e957b78e684: rc: Update dependencies for zpool scripts
Branches
Unknown
Tags
Unknown