Files
freebsd/sys/modules
Andrew Gallatin ceb575553b arm64: enable ossl accelerated AES-GCM on arm64
Connect the baseline OpenSSL ARMv8 fused AES-GCM kernels to the OCF
ossl driver. Advertise the algorithm only when the system-wide capability set
includes both AES and PMULL.

Note that get_kernel_reg() is used to detect features such as PMULL
because the ossl device attaches before arm64 populates elf_hwcap when
ossl is built into the kernel or pre-loaded at boot.

Prefer OSSL over armv8crypto for AES-GCM sessions while retaining
armv8crypto as a fallback.

This provides about a 50% speedup for a Netflix ktls workload on a small
neoverse N1 board.

Reviewed by: markj
Constructive review feedback from: andrew, ngie
Differential Revision: https://reviews.freebsd.org/D60097
Sponsored by: Netflix
2026-10-20 15:07:39 -04:00
..
…
…
…
…
…
…
…
…
…
2026-06-02 22:59:55 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-10-09 18:12:38 -06:00
…
…
2026-09-23 15:13:22 -04:00
…
…
…
…
…
…
…
…
…
…
2026-09-16 17:12:07 +03:00
2026-06-30 22:42:05 -04:00
…
2026-09-17 01:37:51 -07:00
…
2025-10-09 18:12:38 -06:00
2025-10-09 18:12:38 -06:00
2025-10-09 18:12:38 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-04-17 10:11:42 -07:00
…
…
…
2025-10-13 21:47:31 +02:00
…
2026-09-10 21:39:32 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-10-09 18:12:38 -06:00
…
…
…
…
…
2026-05-31 20:10:46 +03:00
2025-12-10 15:52:38 -07:00
…
…
2025-10-09 18:12:38 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-09-01 17:41:04 -04:00
…
…
…
…
2026-01-19 21:38:37 +01:00
…
…
…
…
…
…
…
…
…
…
2026-01-02 17:58:06 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2026-09-15 01:44:33 +00:00
2026-08-09 09:54:00 -07:00
…
…
…
…
2025-10-09 18:12:38 -06:00
…
…
…
…
…
…
…
…
2026-07-09 22:14:51 -06:00
2026-09-29 09:25:39 +02:00
…
2026-10-13 12:51:05 -04:00