summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/mips64
diff options
context:
space:
mode:
authorjsing <>2024-03-29 11:00:57 +0000
committerjsing <>2024-03-29 11:00:57 +0000
commit2f6039e975b851c54c5857fe9253b02da013fb32 (patch)
treef7c84b00ed5b9c6990e905b6d3cb91b87a46eab7 /src/lib/libcrypto/arch/mips64
parent2517a1f99c31a385cfa17d53a7444e8ef0fa9efd (diff)
downloadopenbsd-2f6039e975b851c54c5857fe9253b02da013fb32.tar.gz
openbsd-2f6039e975b851c54c5857fe9253b02da013fb32.tar.bz2
openbsd-2f6039e975b851c54c5857fe9253b02da013fb32.zip
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 'src/lib/libcrypto/arch/mips64')
-rw-r--r--src/lib/libcrypto/arch/mips64/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/arch/mips64/Makefile.inc b/src/lib/libcrypto/arch/mips64/Makefile.inc
index baad8c43e7..41d6b0e888 100644
--- a/src/lib/libcrypto/arch/mips64/Makefile.inc
+++ b/src/lib/libcrypto/arch/mips64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.16 2024/03/29 07:24:09 jsing Exp $ 1# $OpenBSD: Makefile.inc,v 1.17 2024/03/29 11:00:57 jsing Exp $
2 2
3# mips64-specific libcrypto build rules 3# mips64-specific libcrypto build rules
4 4
@@ -7,6 +7,8 @@ CFLAGS+= -DAES_ASM
7SSLASM+= aes aes-mips aes-mips 7SSLASM+= aes aes-mips aes-mips
8CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL 8CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL
9CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL 9CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL
10CFLAGS+= -DHAVE_AES_ENCRYPT_INTERNAL
11CFLAGS+= -DHAVE_AES_DECRYPT_INTERNAL
10# bn 12# bn
11SSLASM+= bn mips bn-mips 13SSLASM+= bn mips bn-mips
12SSLASM+= bn mips-mont mips-mont 14SSLASM+= bn mips-mont mips-mont