Provide and use crypto_arch.h.
authorjsing <jsing@openbsd.org>
Sun, 11 Aug 2024 13:02:39 +0000 (13:02 +0000)
committerjsing <jsing@openbsd.org>
Sun, 11 Aug 2024 13:02:39 +0000 (13:02 +0000)
commit09b34817717f698ab3c27f656830649f1aaef7a9
tree87066683e327833a53db84e463a3a9a56479850f
parent41141cf040dd8d5b1d67646241f0fae3036a3a7a
Provide and use crypto_arch.h.

Provide a per architecture crypto_arch.h - this will be used in a similar
manner to bn_arch.h and will allow for architecture specific #defines and
static inline functions. Move the HAVE_AES_* and HAVE_RC4_* defines here.

ok tb@
23 files changed:
lib/libcrypto/aes/aes.c
lib/libcrypto/aes/aes_core.c
lib/libcrypto/arch/aarch64/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/alpha/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/amd64/Makefile.inc
lib/libcrypto/arch/amd64/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/arm/Makefile.inc
lib/libcrypto/arch/arm/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/hppa/Makefile.inc
lib/libcrypto/arch/hppa/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/i386/Makefile.inc
lib/libcrypto/arch/i386/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/m88k/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/mips64/Makefile.inc
lib/libcrypto/arch/mips64/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/powerpc/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/powerpc64/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/riscv64/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/sh/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/arch/sparc64/Makefile.inc
lib/libcrypto/arch/sparc64/crypto_arch.h [new file with mode: 0644]
lib/libcrypto/crypto_internal.h
lib/libcrypto/rc4/rc4.c