diff options
| author | jsing <> | 2024-03-29 04:39:54 +0000 |
|---|---|---|
| committer | jsing <> | 2024-03-29 04:39:54 +0000 |
| commit | 2c1a87a439933e428607afc0c18d4d12070ae246 (patch) | |
| tree | a1b39a22ffa6878e5d55842b2b8dd27f8d732dd6 /src/lib/libcrypto/arch/mips64 | |
| parent | b1878eca1bfaa3fd4c5b123399a144b0cdf6f85e (diff) | |
| download | openbsd-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.inc | 5 |
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 |
| 6 | CFLAGS+= -DAES_ASM | 6 | CFLAGS+= -DAES_ASM |
| 7 | SSLASM+= aes aes-mips aes-mips | 7 | SSLASM+= aes aes-mips aes-mips |
| 8 | CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL | ||
| 9 | CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL | ||
| 10 | SRCS+= aes_core.c | ||
| 8 | # bn | 11 | # bn |
| 9 | SSLASM+= bn mips bn-mips | 12 | SSLASM+= bn mips bn-mips |
| 10 | SSLASM+= bn mips-mont mips-mont | 13 | SSLASM+= bn mips-mont mips-mont |
