From df03c47c2b27f11490e117c18adb57e06b030fe5 Mon Sep 17 00:00:00 2001 From: schwarze Date: Tue, 15 Aug 2023 11:54:38 +0000 Subject: [PATCH] SHA-3 is not a symmetric cipher. Fix a copy and paste mistake that Ronald Tse introduced in 2017 even though Richard Levitte and Bernd Edlinger reviewed his commit - and that i unwittingly copied. Even in the OpenSSL 3 main trunk, it wasn't fixed until 2022, and in OpenSSL-1.1.1, it is still wrong. Unfortunately, we need to be really careful before believing anything the OpenSSL documentation says... --- lib/libcrypto/man/EVP_sha3_224.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/man/EVP_sha3_224.3 b/lib/libcrypto/man/EVP_sha3_224.3 index f8f473ce8ef..bd9138c3f2b 100644 --- a/lib/libcrypto/man/EVP_sha3_224.3 +++ b/lib/libcrypto/man/EVP_sha3_224.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_sha3_224.3,v 1.1 2023/08/14 14:22:32 schwarze Exp $ +.\" $OpenBSD: EVP_sha3_224.3,v 1.2 2023/08/15 11:54:38 schwarze Exp $ .\" selective merge up to: OpenSSL bbda8ce9 Oct 31 15:43:01 2017 +0800 .\" .\" This file was written by Ronald Tse . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 14 2023 $ +.Dd $Mdocdate: August 15 2023 $ .Dt EVP_SHA3_224 3 .Os .Sh NAME @@ -83,7 +83,7 @@ respectively. .Sh RETURN VALUES These functions return pointers to static .Vt EVP_MD -objects that contain the implementations of the symmetric ciphers. +objects implementing the hash functions. .Sh SEE ALSO .Xr evp 3 , .Xr EVP_DigestInit 3 , -- 2.20.1