From 7bd57f7872819358d673e776e52068a2886488b6 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 8 Jun 2025 07:38:42 +0000 Subject: Remove more mess related to arm assembly. --- src/lib/libcrypto/modes/gcm128.c | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/modes/gcm128.c b/src/lib/libcrypto/modes/gcm128.c index 3b2cf754ba..8b9a7bcfbb 100644 --- a/src/lib/libcrypto/modes/gcm128.c +++ b/src/lib/libcrypto/modes/gcm128.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gcm128.c,v 1.48 2025/05/24 07:51:21 jsing Exp $ */ +/* $OpenBSD: gcm128.c,v 1.49 2025/06/08 07:38:42 jsing Exp $ */ /* ==================================================================== * Copyright (c) 2010 The OpenSSL Project. All rights reserved. * @@ -82,28 +82,6 @@ gcm_init_4bit(u128 Htable[16], uint64_t H[2]) Hi[j].lo = V.lo ^ Htable[j].lo; } } - -#if defined(GHASH_ASM) && (defined(__arm__) || defined(__arm)) - /* - * ARM assembler expects specific dword order in Htable. - */ - { - int j; -#if BYTE_ORDER == LITTLE_ENDIAN - for (j = 0; j < 16; ++j) { - V = Htable[j]; - Htable[j].hi = V.lo; - Htable[j].lo = V.hi; - } -#else /* BIG_ENDIAN */ - for (j = 0; j < 16; ++j) { - V = Htable[j]; - Htable[j].hi = V.lo << 32|V.lo >> 32; - Htable[j].lo = V.hi << 32|V.hi >> 32; - } -#endif - } -#endif } #ifndef GHASH_ASM -- cgit v1.2.3-55-g6feb