This is now built on all platforms.
-# $OpenBSD: Makefile,v 1.181 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile,v 1.182 2024/03/28 01:57:00 jsing Exp $
LIB= crypto
LIBREBUILD=y
SRCS+= rc2cfb64.c
SRCS+= rc2ofb64.c
+# rc4/
+SRCS+= rc4.c
+
# ripemd/
SRCS+= ripemd.c
-# $OpenBSD: Makefile.inc,v 1.8 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.9 2024/03/28 01:57:00 jsing Exp $
# aarch64-specific libcrypto build rules
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# modes
-# rc4
-SRCS+= rc4.c
# sha
# whrlpool
SRCS+= wp_block.c
-# $OpenBSD: Makefile.inc,v 1.9 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.10 2024/03/28 01:57:00 jsing Exp $
# alpha-specific libcrypto build rules
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-alpha
-# rc4
-SRCS+= rc4.c
# sha
CFLAGS+= -DSHA1_ASM
SSLASM+= sha sha1-alpha
-# $OpenBSD: Makefile.inc,v 1.17 2024/03/28 01:49:29 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.18 2024/03/28 01:57:00 jsing Exp $
# amd64-specific libcrypto build rules
CFLAGS+= -DHAVE_RC4_INTERNAL
CFLAGS+= -DHAVE_RC4_SET_KEY_INTERNAL
SSLASM+= rc4 rc4-x86_64
-SRCS+= rc4.c
# ripemd
# sha
CFLAGS+= -DSHA1_ASM
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-armv4
-# rc4
-SRCS+= rc4.c
# sha
CFLAGS+= -DSHA1_ASM
SSLASM+= sha sha1-armv4-large
-# $OpenBSD: Makefile.inc,v 1.18 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.19 2024/03/28 01:57:00 jsing Exp $
# hppa-specific libcrypto build rules
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-parisc ghash-parisc
-# rc4
-SRCS+= rc4.c
# sha
CFLAGS+= -DSHA1_ASM
SSLASM+= sha sha1-parisc sha1-parisc
-# $OpenBSD: Makefile.inc,v 1.14 2024/03/28 01:49:29 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.15 2024/03/28 01:57:00 jsing Exp $
# i386-specific libcrypto build rules
CFLAGS+= -DHAVE_RC4_INTERNAL
CFLAGS+= -DHAVE_RC4_SET_KEY_INTERNAL
SSLASM+= rc4 rc4-586
-SRCS+= rc4.c
# sha
CFLAGS+= -DSHA1_ASM
SSLASM+= sha sha1-586
-# $OpenBSD: Makefile.inc,v 1.10 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.11 2024/03/28 01:57:00 jsing Exp $
# mips64-specific libcrypto build rules
CFLAGS+= -DOPENSSL_BN_ASM_MONT
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c
-# rc4
-SRCS+= rc4.c
# sha
SSLASM+= sha sha1-mips sha1-mips
CFLAGS+= -DSHA1_ASM
-# $OpenBSD: Makefile.inc,v 1.7 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2024/03/28 01:57:00 jsing Exp $
# powerpc-specific libcrypto build rules
CFLAGS+= -DOPENSSL_BN_ASM_MONT
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c
-# rc4
-SRCS+= rc4.c
# sha
CFLAGS+= -DSHA1_ASM
SSLASM+= sha sha1-ppc sha1-ppc
-# $OpenBSD: Makefile.inc,v 1.9 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.10 2024/03/28 01:57:00 jsing Exp $
# powerpc-specific libcrypto build rules
#CFLAGS+= -DOPENSSL_BN_ASM_MONT
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c
-# rc4
-SRCS+= rc4.c
# sha
#CFLAGS+= -DSHA1_ASM
#SSLASM+= sha sha1-ppc sha1-ppc
-# $OpenBSD: Makefile.inc,v 1.5 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.6 2024/03/28 01:57:00 jsing Exp $
# riscv64 libcrypto build rules
SRCS+= cmll_cbc.c
SRCS+= cmll_misc.c
-# rc4
-SRCS+= rc4.c
-
# whrlpool
SRCS+= wp_block.c
-# $OpenBSD: Makefile.inc,v 1.12 2024/03/28 01:41:16 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.13 2024/03/28 01:57:00 jsing Exp $
# sparc64-specific libcrypto build rules
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-sparcv9 ghash-sparcv9
-# rc4
-SRCS+= rc4.c
# sha
SSLASM+= sha sha1-sparcv9 sha1-sparcv9
CFLAGS+= -DSHA1_ASM