-# $OpenBSD: Makefile,v 1.175 2024/03/19 19:27:33 tb Exp $
+# $OpenBSD: Makefile,v 1.176 2024/03/27 11:12:08 jsing Exp $
LIB= crypto
LIBREBUILD=y
# bf/
SRCS+= bf_cfb64.c
SRCS+= bf_ecb.c
+SRCS+= bf_enc.c
SRCS+= bf_ofb64.c
SRCS+= bf_skey.c
-# $OpenBSD: Makefile.inc,v 1.5 2023/04/05 11:07:40 kettenis Exp $
+# $OpenBSD: Makefile.inc,v 1.6 2024/03/27 11:12:08 jsing Exp $
# aarch64-specific libcrypto build rules
# aes
SRCS+= aes_core.c aes_cbc.c
-# bf
-SRCS+= bf_enc.c
# bn
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c
-# $OpenBSD: Makefile.inc,v 1.6 2023/01/31 06:17:10 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2024/03/27 11:12:08 jsing Exp $
# alpha-specific libcrypto build rules
# aes
SRCS+= aes_core.c aes_cbc.c
-# bf
-SRCS+= bf_enc.c
# bn
SSLASM+= bn alpha-mont
CFLAGS+= -DOPENSSL_BN_ASM_MONT
-# $OpenBSD: Makefile.inc,v 1.13 2023/04/15 18:23:54 tb Exp $
+# $OpenBSD: Makefile.inc,v 1.14 2024/03/27 11:12:08 jsing Exp $
# amd64-specific libcrypto build rules
SSLASM+= aes vpaes-x86_64
SSLASM+= aes aesni-x86_64
SSLASM+= aes aesni-sha1-x86_64
-# bf
-SRCS+= bf_enc.c
# bn
CFLAGS+= -DOPENSSL_IA32_SSE2
CFLAGS+= -DRSA_ASM
SRCS+= aes_cbc.c
CFLAGS+= -DAES_ASM
SSLASM+= aes aes-armv4
-# bf
-SRCS+= bf_enc.c
# bn
CFLAGS+= -DOPENSSL_BN_ASM_MONT
SSLASM+= bn armv4-mont
-# $OpenBSD: Makefile.inc,v 1.14 2023/01/31 06:17:10 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.15 2024/03/27 11:12:08 jsing Exp $
# hppa-specific libcrypto build rules
SRCS+= aes_core.c aes_cbc.c
CFLAGS+= -DAES_ASM
SSLASM+= aes aes-parisc aes-parisc
-# bf
-SRCS+= bf_enc.c
# bn
SSLASM+= bn parisc-mont parisc-mont
CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W
-# $OpenBSD: Makefile.inc,v 1.10 2024/03/27 10:59:48 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.11 2024/03/27 11:12:08 jsing Exp $
# i386-specific libcrypto build rules
CFLAGS+= -DVPAES_ASM
SSLASM+= aes vpaes-x86
SSLASM+= aes aesni-x86
-# bf
-SRCS+= bf_enc.c
# bn
CFLAGS+= -DOPENSSL_IA32_SSE2
SSLASM+= bn bn-586
-# $OpenBSD: Makefile.inc,v 1.7 2023/01/20 10:07:52 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2024/03/27 11:12:08 jsing Exp $
# mips64-specific libcrypto build rules
SRCS+= aes_cbc.c
CFLAGS+= -DAES_ASM
SSLASM+= aes aes-mips aes-mips
-# bf
-SRCS+= bf_enc.c
# bn
SSLASM+= bn mips bn-mips
SSLASM+= bn mips-mont mips-mont
-# $OpenBSD: Makefile.inc,v 1.4 2023/01/17 15:04:27 miod Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2024/03/27 11:12:08 jsing Exp $
# powerpc-specific libcrypto build rules
# slower than C code
#CFLAGS+= -DAES_ASM
#SSLASM+= aes aes-ppc aes-ppc
-# bf
-SRCS+= bf_enc.c
# bn
SSLASM+= bn ppc bn-ppc
SSLASM+= bn ppc-mont ppc-mont # bn_mul_mont_int
-# $OpenBSD: Makefile.inc,v 1.6 2023/01/31 06:17:10 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2024/03/27 11:12:08 jsing Exp $
# powerpc-specific libcrypto build rules
# slower than C code
#CFLAGS+= -DAES_ASM
#SSLASM+= aes aes-ppc aes-ppc
-# bf
-SRCS+= bf_enc.c
# bn
#SSLASM+= bn ppc bn-ppc
#SSLASM+= bn ppc-mont ppc-mont # bn_mul_mont_int
-# $OpenBSD: Makefile.inc,v 1.2 2023/08/25 02:17:41 tb Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2024/03/27 11:12:08 jsing Exp $
# riscv64 libcrypto build rules
SRCS+= aes_core.c
SRCS+= aes_cbc.c
-# bf
-SRCS+= bf_enc.c
-
# camellia
SRCS+= camellia.c
SRCS+= cmll_cbc.c
-# $OpenBSD: Makefile.inc,v 1.8 2023/01/31 06:17:10 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.9 2024/03/27 11:12:09 jsing Exp $
# sparc64-specific libcrypto build rules
SRCS+= aes_core.c aes_cbc.c
CFLAGS+= -DAES_ASM
SSLASM+= aes aes-sparcv9 aes-sparcv9
-# bf
-SRCS+= bf_enc.c
# bn
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c