diff options
author | jsing <> | 2024-03-29 04:39:54 +0000 |
---|---|---|
committer | jsing <> | 2024-03-29 04:39:54 +0000 |
commit | f47c0b4977fbc17c426255c46c48c4c9f9df6470 (patch) | |
tree | a1b39a22ffa6878e5d55842b2b8dd27f8d732dd6 /src/lib/libcrypto/arch/arm | |
parent | 4fee8d380d60b85aa25e9d1380e28c0dc63fe5b0 (diff) | |
download | openbsd-f47c0b4977fbc17c426255c46c48c4c9f9df6470.tar.gz openbsd-f47c0b4977fbc17c426255c46c48c4c9f9df6470.tar.bz2 openbsd-f47c0b4977fbc17c426255c46c48c4c9f9df6470.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/arm')
-rw-r--r-- | src/lib/libcrypto/arch/arm/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/libcrypto/arch/arm/Makefile.inc b/src/lib/libcrypto/arch/arm/Makefile.inc index 7db36aaa60..bfef312f71 100644 --- a/src/lib/libcrypto/arch/arm/Makefile.inc +++ b/src/lib/libcrypto/arch/arm/Makefile.inc | |||
@@ -5,6 +5,9 @@ | |||
5 | # aes | 5 | # aes |
6 | CFLAGS+= -DAES_ASM | 6 | CFLAGS+= -DAES_ASM |
7 | SSLASM+= aes aes-armv4 | 7 | SSLASM+= aes aes-armv4 |
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 | CFLAGS+= -DOPENSSL_BN_ASM_MONT | 12 | CFLAGS+= -DOPENSSL_BN_ASM_MONT |
10 | SSLASM+= bn armv4-mont | 13 | SSLASM+= bn armv4-mont |