Remove IA32 specific code from cryptlib.c.
authorjsing <jsing@openbsd.org>
Sat, 19 Oct 2024 13:06:11 +0000 (13:06 +0000)
committerjsing <jsing@openbsd.org>
Sat, 19 Oct 2024 13:06:11 +0000 (13:06 +0000)
commit29a830a1da066945be99663cced4b9890d754cd1
tree04c59226cd123d5f353d9d5e606a583acebdd0df
parent2049bdd33ba68e50ec4e2d04690543bb179cdcde
Remove IA32 specific code from cryptlib.c.

Move the IA32 specific code to arch/{amd64,i386}/crypto_cpu_caps.c, rather
than polluting cryptlib.c with machine dependent code. A stub version of
crypto_cpu_caps_ia32() still remains for now.
lib/libcrypto/arch/amd64/crypto_arch.h
lib/libcrypto/arch/amd64/crypto_cpu_caps.c
lib/libcrypto/arch/i386/crypto_arch.h
lib/libcrypto/arch/i386/crypto_cpu_caps.c
lib/libcrypto/cryptlib.c