mirror_zfs/module/icp
Attila Fülöp bee53d8c10
Linux 6.19 compat: in-tree build: fix duplicate GCM assembly functions
Linux 6.19 added an AES-GCM VAES-AVX2 assembly implementation. It's
basically a translation from the BoringSSL perlasm syntax to macro
assembly. We're using the same source but the perlasm generated flat
assembly which shares some global function names with the former.
When  building in-tree this results in the linker failing due to the
duplicate symbols.

To avoid the error we prepend `icp_` via a macro to our function
names.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Moch <mail@alexmoch.com>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #18204
Closes #18224
2026-02-17 13:09:41 -08:00
..
algs Linux 6.19 compat: in-tree build: fix duplicate GCM assembly functions 2026-02-17 13:09:41 -08:00
api SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
asm-aarch64 SPDX: license tags: Apache-2.0 2025-03-13 17:57:05 -07:00
asm-arm/sha2 SPDX: license tags: Apache-2.0 2025-03-13 17:57:05 -07:00
asm-ppc64 SPDX: license tags: Apache-2.0 2025-03-13 17:57:05 -07:00
asm-x86_64 Linux 6.19 compat: in-tree build: fix duplicate GCM assembly functions 2026-02-17 13:09:41 -08:00
core Prefer VERIFY0(n) over VERIFY(n == 0) 2025-08-07 11:40:59 -07:00
include Linux 6.19 compat: in-tree build: fix duplicate GCM assembly functions 2026-02-17 13:09:41 -08:00
io Prefer VERIFY0(n) over VERIFY(n == 0) 2025-08-07 11:40:59 -07:00
spi icp: remove global icp includes 2025-11-12 10:03:51 -08:00
illumos-crypto.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00