These files are now built on all platforms.
-# $OpenBSD: Makefile,v 1.189 2024/03/29 06:03:20 jsing Exp $
+# $OpenBSD: Makefile,v 1.190 2024/03/29 07:24:09 jsing Exp $
LIB= crypto
LIBREBUILD=y
SRCS+= bs_cbs.c
# camellia/
+SRCS+= camellia.c
+SRCS+= cmll_cbc.c
SRCS+= cmll_cfb.c
SRCS+= cmll_ctr.c
SRCS+= cmll_ecb.c
+SRCS+= cmll_misc.c
SRCS+= cmll_ofb.c
# cast/
.include "${.CURDIR}/arch/${MACHINE_CPU}/Makefile.inc"
.else
CFLAGS+=-DOPENSSL_NO_ASM
-SRCS+= camellia.c
-SRCS+= cmll_cbc.c
-SRCS+= cmll_misc.c
.endif
BUILDFIRST = ${GENERATED}
-# $OpenBSD: Makefile.inc,v 1.12 2024/03/29 06:03:20 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.13 2024/03/29 07:24:09 jsing Exp $
# aarch64-specific libcrypto build rules
-# camellia
-SRCS+= camellia.c cmll_cbc.c cmll_misc.c
-
.for dir f in ${SSLASM}
SRCS+= ${f}.S
GENERATED+=${f}.S
-# $OpenBSD: Makefile.inc,v 1.13 2024/03/29 06:03:20 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.14 2024/03/29 07:24:09 jsing Exp $
# alpha-specific libcrypto build rules
# bn
SSLASM+= bn alpha-mont
CFLAGS+= -DOPENSSL_BN_ASM_MONT
-# camellia
-SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-alpha
-# $OpenBSD: Makefile.inc,v 1.25 2024/03/29 07:06:21 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.26 2024/03/29 07:24:09 jsing Exp $
# amd64-specific libcrypto build rules
SRCS += bignum_sub.S
SRCS += word_clz.S
-# camellia
-SRCS+= camellia.c
-SRCS+= cmll_cbc.c
-SRCS+= cmll_misc.c
# md5
CFLAGS+= -DMD5_ASM
SSLASM+= md5 md5-x86_64
# bn
CFLAGS+= -DOPENSSL_BN_ASM_MONT
SSLASM+= bn armv4-mont
-# camellia
-SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-armv4
-# $OpenBSD: Makefile.inc,v 1.22 2024/03/29 06:03:20 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.23 2024/03/29 07:24:09 jsing Exp $
# hppa-specific libcrypto build rules
# bn
SSLASM+= bn parisc-mont parisc-mont
CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W
-# camellia
-SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-parisc ghash-parisc
-# $OpenBSD: Makefile.inc,v 1.22 2024/03/29 07:06:21 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.23 2024/03/29 07:24:09 jsing Exp $
# i386-specific libcrypto build rules
SSLASM+= bn co-586
CFLAGS+= -DOPENSSL_BN_ASM_MONT
SSLASM+= bn x86-mont
-# camellia
-SRCS+= camellia.c
-SRCS+= cmll_cbc.c
-SRCS+= cmll_misc.c
# md5
CFLAGS+= -DMD5_ASM
SSLASM+= md5 md5-586
-# $OpenBSD: Makefile.inc,v 1.15 2024/03/29 06:03:21 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.16 2024/03/29 07:24:09 jsing Exp $
# mips64-specific libcrypto build rules
SSLASM+= bn mips bn-mips
SSLASM+= bn mips-mont mips-mont
CFLAGS+= -DOPENSSL_BN_ASM_MONT
-# camellia
-SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# sha
SSLASM+= sha sha1-mips sha1-mips
CFLAGS+= -DSHA1_ASM
-# $OpenBSD: Makefile.inc,v 1.11 2024/03/29 06:03:21 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.12 2024/03/29 07:24:09 jsing Exp $
# powerpc-specific libcrypto build rules
SSLASM+= bn ppc-mont ppc-mont # bn_mul_mont_int
#SSLASM+= bn ppc64-mont ppc64-mont # bn_mul_mont_fpu64
CFLAGS+= -DOPENSSL_BN_ASM_MONT
-# camellia
-SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# sha
CFLAGS+= -DSHA1_ASM
SSLASM+= sha sha1-ppc sha1-ppc
-# $OpenBSD: Makefile.inc,v 1.13 2024/03/29 06:03:21 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.14 2024/03/29 07:24:09 jsing Exp $
# powerpc-specific libcrypto build rules
#SSLASM+= bn ppc-mont ppc-mont # bn_mul_mont_int
#SSLASM+= bn ppc64-mont ppc64-mont # bn_mul_mont_fpu64
#CFLAGS+= -DOPENSSL_BN_ASM_MONT
-# camellia
-SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# sha
#CFLAGS+= -DSHA1_ASM
#SSLASM+= sha sha1-ppc sha1-ppc
-# $OpenBSD: Makefile.inc,v 1.9 2024/03/29 06:03:21 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.10 2024/03/29 07:24:09 jsing Exp $
# riscv64 libcrypto build rules
-
-# camellia
-SRCS+= camellia.c
-SRCS+= cmll_cbc.c
-SRCS+= cmll_misc.c
-# $OpenBSD: Makefile.inc,v 1.16 2024/03/29 06:03:21 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.17 2024/03/29 07:24:09 jsing Exp $
# sparc64-specific libcrypto build rules
CFLAGS+= -DAES_ASM
SSLASM+= aes aes-sparcv9 aes-sparcv9
# bn
-# camellia
-SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-sparcv9 ghash-sparcv9