diff options
| author | jsing <> | 2024-03-29 11:00:57 +0000 |
|---|---|---|
| committer | jsing <> | 2024-03-29 11:00:57 +0000 |
| commit | 2f6039e975b851c54c5857fe9253b02da013fb32 (patch) | |
| tree | f7c84b00ed5b9c6990e905b6d3cb91b87a46eab7 /src/lib/libcrypto/arch/mips64 | |
| parent | 2517a1f99c31a385cfa17d53a7444e8ef0fa9efd (diff) | |
| download | openbsd-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.inc | 4 |
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 | |||
| 7 | SSLASM+= aes aes-mips aes-mips | 7 | SSLASM+= aes aes-mips aes-mips |
| 8 | CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL | 8 | CFLAGS+= -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL |
| 9 | CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL | 9 | CFLAGS+= -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL |
| 10 | CFLAGS+= -DHAVE_AES_ENCRYPT_INTERNAL | ||
| 11 | CFLAGS+= -DHAVE_AES_DECRYPT_INTERNAL | ||
| 10 | # bn | 12 | # bn |
| 11 | SSLASM+= bn mips bn-mips | 13 | SSLASM+= bn mips bn-mips |
| 12 | SSLASM+= bn mips-mont mips-mont | 14 | SSLASM+= bn mips-mont mips-mont |
