Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/modes Disable again ...
details: https://anonhg.NetBSD.org/src/rev/89a5581153f0
branches: trunk
changeset: 982294:89a5581153f0
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 08 12:31:49 2021 +0000
description:
Disable again the assembly version of gcm_ghash_4bit for the 32 bit sparc
since it uses ldx/stx.
diffstat:
crypto/external/bsd/openssl/dist/crypto/modes/gcm128.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 66cfedc8cb0c -r 89a5581153f0 crypto/external/bsd/openssl/dist/crypto/modes/gcm128.c
--- a/crypto/external/bsd/openssl/dist/crypto/modes/gcm128.c Thu Apr 08 08:10:30 2021 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/modes/gcm128.c Thu Apr 08 12:31:49 2021 +0000
@@ -689,13 +689,15 @@
# endif
# elif defined(__sparc__) || defined(__sparc)
# include "sparc_arch.h"
-# define GHASH_ASM_SPARC
-# define GCM_FUNCREF_4BIT
+# if defined(__arch64__)
+# define GHASH_ASM_SPARC
+# define GCM_FUNCREF_4BIT
extern unsigned int OPENSSL_sparcv9cap_P[];
void gcm_init_vis3(u128 Htable[16], const u64 Xi[2]);
void gcm_gmult_vis3(u64 Xi[2], const u128 Htable[16]);
void gcm_ghash_vis3(u64 Xi[2], const u128 Htable[16], const u8 *inp,
size_t len);
+# endif /* __arch64__ */
# elif defined(OPENSSL_CPUID_OBJ) && (defined(__powerpc__) || defined(__ppc__) || defined(_ARCH_PPC))
# include "ppc_arch.h"
# define GHASH_ASM_PPC
Home |
Main Index |
Thread Index |
Old Index