diff options
author | schwarze <> | 2023-08-15 11:54:38 +0000 |
---|---|---|
committer | schwarze <> | 2023-08-15 11:54:38 +0000 |
commit | e4af2299b47c4fe8e0a7e2afc9d769280449f9d9 (patch) | |
tree | 0498400ecc628264d10c2614c41598e166aa22ba | |
parent | 15a90cedfbb16f7a2003395c231461b47bd3e1fd (diff) | |
download | openbsd-e4af2299b47c4fe8e0a7e2afc9d769280449f9d9.tar.gz openbsd-e4af2299b47c4fe8e0a7e2afc9d769280449f9d9.tar.bz2 openbsd-e4af2299b47c4fe8e0a7e2afc9d769280449f9d9.zip |
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...
-rw-r--r-- | src/lib/libcrypto/man/EVP_sha3_224.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EVP_sha3_224.3 b/src/lib/libcrypto/man/EVP_sha3_224.3 index f8f473ce8e..bd9138c3f2 100644 --- a/src/lib/libcrypto/man/EVP_sha3_224.3 +++ b/src/lib/libcrypto/man/EVP_sha3_224.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: EVP_sha3_224.3,v 1.1 2023/08/14 14:22:32 schwarze Exp $ | 1 | .\" $OpenBSD: EVP_sha3_224.3,v 1.2 2023/08/15 11:54:38 schwarze Exp $ |
2 | .\" selective merge up to: OpenSSL bbda8ce9 Oct 31 15:43:01 2017 +0800 | 2 | .\" selective merge up to: OpenSSL bbda8ce9 Oct 31 15:43:01 2017 +0800 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ronald Tse <ronald.tse@ribose.com>. | 4 | .\" This file was written by Ronald Tse <ronald.tse@ribose.com>. |
@@ -48,7 +48,7 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 50 | .\" |
51 | .Dd $Mdocdate: August 14 2023 $ | 51 | .Dd $Mdocdate: August 15 2023 $ |
52 | .Dt EVP_SHA3_224 3 | 52 | .Dt EVP_SHA3_224 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -83,7 +83,7 @@ respectively. | |||
83 | .Sh RETURN VALUES | 83 | .Sh RETURN VALUES |
84 | These functions return pointers to static | 84 | These functions return pointers to static |
85 | .Vt EVP_MD | 85 | .Vt EVP_MD |
86 | objects that contain the implementations of the symmetric ciphers. | 86 | objects implementing the hash functions. |
87 | .Sh SEE ALSO | 87 | .Sh SEE ALSO |
88 | .Xr evp 3 , | 88 | .Xr evp 3 , |
89 | .Xr EVP_DigestInit 3 , | 89 | .Xr EVP_DigestInit 3 , |