summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2025-06-28 12:25:22 +0000
committerjsing <>2025-06-28 12:25:22 +0000
commit39b5277747ebc43b679dbee5c3dd1c3c75df3b75 (patch)
treed57dc11036bcacef9d41272e570810e1d2ac60ba /src
parenta0f7bb2cf4d220253a39c3453cee465964e35009 (diff)
downloadopenbsd-39b5277747ebc43b679dbee5c3dd1c3c75df3b75.tar.gz
openbsd-39b5277747ebc43b679dbee5c3dd1c3c75df3b75.tar.bz2
openbsd-39b5277747ebc43b679dbee5c3dd1c3c75df3b75.zip
Remove less than useful comment.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/modes/gcm128.c9
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 */
141static void 134static void
142gcm_ghash_4bit(uint64_t Xi[2], const u128 Htable[16], 135gcm_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)