diff options
author | jsing <> | 2024-03-29 11:00:57 +0000 |
---|---|---|
committer | jsing <> | 2024-03-29 11:00:57 +0000 |
commit | 75b82074adb4b78df59f9391f6cb70b6bb285522 (patch) | |
tree | f7c84b00ed5b9c6990e905b6d3cb91b87a46eab7 /src/lib/libcrypto/arch/hppa | |
parent | ddc94e581bd0cb9a0de0d9dbc0091d0b640dacd8 (diff) | |
download | openbsd-75b82074adb4b78df59f9391f6cb70b6bb285522.tar.gz openbsd-75b82074adb4b78df59f9391f6cb70b6bb285522.tar.bz2 openbsd-75b82074adb4b78df59f9391f6cb70b6bb285522.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/hppa')
-rw-r--r-- | src/lib/libcrypto/arch/hppa/Makefile.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/arch/hppa/Makefile.inc b/src/lib/libcrypto/arch/hppa/Makefile.inc index 5938320aa4..9796d3a860 100644 --- a/src/lib/libcrypto/arch/hppa/Makefile.inc +++ b/src/lib/libcrypto/arch/hppa/Makefile.inc | |||
@@ -1,10 +1,12 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.23 2024/03/29 07:24:09 jsing Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.24 2024/03/29 11:00:57 jsing Exp $ |
2 | 2 | ||
3 | # hppa-specific libcrypto build rules | 3 | # hppa-specific libcrypto build rules |
4 | 4 | ||
5 | # aes | 5 | # aes |
6 | CFLAGS+= -DAES_ASM | 6 | CFLAGS+= -DAES_ASM |
7 | SSLASM+= aes aes-parisc aes-parisc | 7 | SSLASM+= aes aes-parisc aes-parisc |
8 | CFLAGS+= -DHAVE_AES_ENCRYPT_INTERNAL | ||
9 | CFLAGS+= -DHAVE_AES_DECRYPT_INTERNAL | ||
8 | # bn | 10 | # bn |
9 | SSLASM+= bn parisc-mont parisc-mont | 11 | SSLASM+= bn parisc-mont parisc-mont |
10 | CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W | 12 | CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W |