summaryrefslogtreecommitdiff
path: root/lib/libcrypto/arch/amd64
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2024-03-28 12:28:49 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2024-03-28 12:28:49 +0000
commit3988cfdebd7676fa87cbfb0f6601c1e84f0124c7 (patch)
tree25b0f2c8856f3158a1cbfd149193e65a882c799f /lib/libcrypto/arch/amd64
parent4b823979ec44c08201ee494c64f2d2f3b8a0460d (diff)
Make AES_cbc_encrypt() always be a C function.
Rename the assembly generated functions from AES_cbc_encrypt() to aes_cbc_encrypt_internal(). Always include aes_cbc.c and change it to use defines that are similar to those used in BN. ok tb@
Diffstat (limited to 'lib/libcrypto/arch/amd64')
-rw-r--r--lib/libcrypto/arch/amd64/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/arch/amd64/Makefile.inc b/lib/libcrypto/arch/amd64/Makefile.inc
index 40ba3c063c4..13d2c0b1beb 100644
--- a/lib/libcrypto/arch/amd64/Makefile.inc
+++ b/lib/libcrypto/arch/amd64/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.18 2024/03/28 01:57:00 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.19 2024/03/28 12:28:48 jsing Exp $
# amd64-specific libcrypto build rules
@@ -13,6 +13,8 @@ SSLASM+= aes bsaes-x86_64
CFLAGS+= -DVPAES_ASM
SSLASM+= aes vpaes-x86_64
SSLASM+= aes aesni-x86_64
+CFLAGS+= -DHAVE_AES_CBC_ENCRYPT_INTERNAL
+SRCS+= aes_cbc.c
# bn
CFLAGS+= -DOPENSSL_IA32_SSE2
CFLAGS+= -DRSA_ASM