diff options
Diffstat (limited to 'src/lib/libcrypto/modes/gcm128.c')
-rw-r--r-- | src/lib/libcrypto/modes/gcm128.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/modes/gcm128.c b/src/lib/libcrypto/modes/gcm128.c index 8136c2cde2..2f9510e2b6 100644 --- a/src/lib/libcrypto/modes/gcm128.c +++ b/src/lib/libcrypto/modes/gcm128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gcm128.c,v 1.51 2025/06/09 14:28:34 jsing Exp $ */ | 1 | /* $OpenBSD: gcm128.c,v 1.52 2025/06/28 12:25:22 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -131,13 +131,6 @@ gcm_gmult_4bit(uint64_t Xi[2], const u128 Htable[16]) | |||
131 | Xi[1] = htobe64(Z.lo); | 131 | Xi[1] = htobe64(Z.lo); |
132 | } | 132 | } |
133 | 133 | ||
134 | /* | ||
135 | * Streamed gcm_mult_4bit, see CRYPTO_gcm128_[en|de]crypt for | ||
136 | * details... Compiler-generated code doesn't seem to give any | ||
137 | * performance improvement, at least not on x86[_64]. It's here | ||
138 | * mostly as reference and a placeholder for possible future | ||
139 | * non-trivial optimization[s]... | ||
140 | */ | ||
141 | static void | 134 | static void |
142 | gcm_ghash_4bit(uint64_t Xi[2], const u128 Htable[16], | 135 | gcm_ghash_4bit(uint64_t Xi[2], const u128 Htable[16], |
143 | const uint8_t *inp, size_t len) | 136 | const uint8_t *inp, size_t len) |