mirror_zfs/module/icp/include
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
..
aes SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
modes Linux 6.19 compat: in-tree build: fix duplicate GCM assembly functions 2026-02-17 13:09:41 -08:00
sha2 SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
sys/crypto SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
generic_impl.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00