This is now built on all platforms.
-# $OpenBSD: Makefile,v 1.188 2024/03/29 05:23:50 jsing Exp $
+# $OpenBSD: Makefile,v 1.189 2024/03/29 06:03:20 jsing Exp $
LIB= crypto
LIBREBUILD=y
# aes/
SRCS+= aes.c
+SRCS+= aes_core.c
SRCS+= aes_ige.c
# asn1/
.include "${.CURDIR}/arch/${MACHINE_CPU}/Makefile.inc"
.else
CFLAGS+=-DOPENSSL_NO_ASM
-SRCS+= aes_core.c
SRCS+= camellia.c
SRCS+= cmll_cbc.c
SRCS+= cmll_misc.c
-# $OpenBSD: Makefile.inc,v 1.11 2024/03/29 02:33:44 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.12 2024/03/29 06:03:20 jsing Exp $
# aarch64-specific libcrypto build rules
-# aes
-SRCS+= aes_core.c
-# bn
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c
-# modes
-# sha
.for dir f in ${SSLASM}
SRCS+= ${f}.S
-# $OpenBSD: Makefile.inc,v 1.12 2024/03/29 02:33:44 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.13 2024/03/29 06:03:20 jsing Exp $
# alpha-specific libcrypto build rules
-# aes
-SRCS+= aes_core.c
# bn
SSLASM+= bn alpha-mont
CFLAGS+= -DOPENSSL_BN_ASM_MONT
-# $OpenBSD: Makefile.inc,v 1.23 2024/03/29 04:39:54 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.24 2024/03/29 06:03:20 jsing Exp $
# amd64-specific libcrypto build rules
CFLAGS+= -DHAVE_AES_CBC_ENCRYPT_INTERNAL
CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL
CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL
-SRCS+= aes_core.c
# bn
CFLAGS+= -DOPENSSL_IA32_SSE2
CFLAGS+= -DRSA_ASM
SSLASM+= aes aes-armv4
CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL
CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL
-SRCS+= aes_core.c
# bn
CFLAGS+= -DOPENSSL_BN_ASM_MONT
SSLASM+= bn armv4-mont
-# $OpenBSD: Makefile.inc,v 1.21 2024/03/29 02:33:44 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.22 2024/03/29 06:03:20 jsing Exp $
# hppa-specific libcrypto build rules
# aes
-SRCS+= aes_core.c
CFLAGS+= -DAES_ASM
SSLASM+= aes aes-parisc aes-parisc
# bn
-# $OpenBSD: Makefile.inc,v 1.20 2024/03/29 04:39:54 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.21 2024/03/29 06:03:21 jsing Exp $
# i386-specific libcrypto build rules
CFLAGS+= -DHAVE_AES_CBC_ENCRYPT_INTERNAL
CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL
CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL
-SRCS+= aes_core.c
# bn
CFLAGS+= -DOPENSSL_IA32_SSE2
SSLASM+= bn bn-586
-# $OpenBSD: Makefile.inc,v 1.14 2024/03/29 04:39:54 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.15 2024/03/29 06:03:21 jsing Exp $
# mips64-specific libcrypto build rules
SSLASM+= aes aes-mips aes-mips
CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL
CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL
-SRCS+= aes_core.c
# bn
SSLASM+= bn mips bn-mips
SSLASM+= bn mips-mont mips-mont
-# $OpenBSD: Makefile.inc,v 1.10 2024/03/29 02:33:44 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.11 2024/03/29 06:03:21 jsing Exp $
# powerpc-specific libcrypto build rules
-# aes
-SRCS+= aes_core.c
# slower than C code
#CFLAGS+= -DAES_ASM
#SSLASM+= aes aes-ppc aes-ppc
-# $OpenBSD: Makefile.inc,v 1.12 2024/03/29 02:33:45 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.13 2024/03/29 06:03:21 jsing Exp $
# powerpc-specific libcrypto build rules
-# aes
-SRCS+= aes_core.c
# slower than C code
#CFLAGS+= -DAES_ASM
#SSLASM+= aes aes-ppc aes-ppc
-# $OpenBSD: Makefile.inc,v 1.8 2024/03/29 02:33:45 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.9 2024/03/29 06:03:21 jsing Exp $
# riscv64 libcrypto build rules
-# aes
-SRCS+= aes_core.c
-
# camellia
SRCS+= camellia.c
SRCS+= cmll_cbc.c
-# $OpenBSD: Makefile.inc,v 1.15 2024/03/29 02:33:45 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.16 2024/03/29 06:03:21 jsing Exp $
# sparc64-specific libcrypto build rules
# aes
-SRCS+= aes_core.c
CFLAGS+= -DAES_ASM
SSLASM+= aes aes-sparcv9 aes-sparcv9
# bn