summaryrefslogtreecommitdiff
path: root/lib/libcrypto/arch/amd64/Makefile.inc
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2024-03-29 11:00:58 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2024-03-29 11:00:58 +0000
commit257ae6d586dcf434e4d0afbd2eea1151c35c6614 (patch)
treed09b84fd7086df2e600f07040fb168aab99cf7d8 /lib/libcrypto/arch/amd64/Makefile.inc
parent4ea64fa4cc337c7728a723cdaabfc62d0cd9829f (diff)
Always use C functions for AES_{encrypt,decrypt}().
Always provide AES_{encrypt,decrypt}() via C functions, which then either use a C implementation or call the assembly implementation. ok tb@
Diffstat (limited to 'lib/libcrypto/arch/amd64/Makefile.inc')
-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 ca7d751d775..a3541058226 100644
--- a/lib/libcrypto/arch/amd64/Makefile.inc
+++ b/lib/libcrypto/arch/amd64/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.26 2024/03/29 07:24:09 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.27 2024/03/29 11:00:57 jsing Exp $
# amd64-specific libcrypto build rules
@@ -16,6 +16,8 @@ SSLASM+= aes aesni-x86_64
CFLAGS+= -DHAVE_AES_CBC_ENCRYPT_INTERNAL
CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL
CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL
+CFLAGS+= -DHAVE_AES_ENCRYPT_INTERNAL
+CFLAGS+= -DHAVE_AES_DECRYPT_INTERNAL
# bn
CFLAGS+= -DOPENSSL_IA32_SSE2
CFLAGS+= -DRSA_ASM