summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/mips64
diff options
context:
space:
mode:
authorjsing <>2024-03-29 04:39:54 +0000
committerjsing <>2024-03-29 04:39:54 +0000
commit2c1a87a439933e428607afc0c18d4d12070ae246 (patch)
treea1b39a22ffa6878e5d55842b2b8dd27f8d732dd6 /src/lib/libcrypto/arch/mips64
parentb1878eca1bfaa3fd4c5b123399a144b0cdf6f85e (diff)
downloadopenbsd-2c1a87a439933e428607afc0c18d4d12070ae246.tar.gz
openbsd-2c1a87a439933e428607afc0c18d4d12070ae246.tar.bz2
openbsd-2c1a87a439933e428607afc0c18d4d12070ae246.zip
Always use C functions for AES_set_{encrypt,decrypt}_key().
Always include aes_core.c and provide AES_set_{encrypt,decrypt}_key() via C functions, which then either use a C implementation or call the assembly implementation. ok tb@
Diffstat (limited to 'src/lib/libcrypto/arch/mips64')
-rw-r--r--src/lib/libcrypto/arch/mips64/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/arch/mips64/Makefile.inc b/src/lib/libcrypto/arch/mips64/Makefile.inc
index 4fde831c9a..c8bcca6878 100644
--- a/src/lib/libcrypto/arch/mips64/Makefile.inc
+++ b/src/lib/libcrypto/arch/mips64/Makefile.inc
@@ -1,10 +1,13 @@
1# $OpenBSD: Makefile.inc,v 1.13 2024/03/29 02:33:44 jsing Exp $ 1# $OpenBSD: Makefile.inc,v 1.14 2024/03/29 04:39:54 jsing Exp $
2 2
3# mips64-specific libcrypto build rules 3# mips64-specific libcrypto build rules
4 4
5# aes 5# aes
6CFLAGS+= -DAES_ASM 6CFLAGS+= -DAES_ASM
7SSLASM+= aes aes-mips aes-mips 7SSLASM+= aes aes-mips aes-mips
8CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL
9CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL
10SRCS+= aes_core.c
8# bn 11# bn
9SSLASM+= bn mips bn-mips 12SSLASM+= bn mips bn-mips
10SSLASM+= bn mips-mont mips-mont 13SSLASM+= bn mips-mont mips-mont