From 0f6c3ebbf85b93ca78f6b5e5cead8f406fe70123 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 6 Jun 2020 18:22:04 +0200 Subject: [PATCH] doc: Add a hint to man3/EVP_$hash that it is legacy Some hash algorithms are only provided by the legacy provider. This information is not mentioned in EVP_md4(3) for md4 and one might wonder why it is no longer working. Add a note to the EVP_ man page for md2, md4, mdc2, ripemd160 and whirlpool that it is only available with the legacy provider. Fixes #11650 Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Matt Caswell Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/12074) --- doc/man3/EVP_md2.pod | 3 ++- doc/man3/EVP_md4.pod | 4 +++- doc/man3/EVP_mdc2.pod | 4 +++- doc/man3/EVP_ripemd160.pod | 2 ++ doc/man3/EVP_whirlpool.pod | 4 +++- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/doc/man3/EVP_md2.pod b/doc/man3/EVP_md2.pod index a28467f5c1..15e37a0040 100644 --- a/doc/man3/EVP_md2.pod +++ b/doc/man3/EVP_md2.pod @@ -14,7 +14,7 @@ EVP_md2 =head1 DESCRIPTION MD2 is a cryptographic hash function standardized in RFC 1319 and designed by -Ronald Rivest. +Ronald Rivest. This implementation is only available with the legacy provider. =over 4 @@ -38,6 +38,7 @@ IETF RFC 1319. =head1 SEE ALSO L, +L, L =head1 COPYRIGHT diff --git a/doc/man3/EVP_md4.pod b/doc/man3/EVP_md4.pod index 8b3874e531..21c94e91c0 100644 --- a/doc/man3/EVP_md4.pod +++ b/doc/man3/EVP_md4.pod @@ -14,7 +14,8 @@ EVP_md4 =head1 DESCRIPTION MD4 is a cryptographic hash function standardized in RFC 1320 and designed by -Ronald Rivest, first published in 1990. +Ronald Rivest, first published in 1990. This implementation is only available +with the legacy provider. =over 4 @@ -38,6 +39,7 @@ IETF RFC 1320. =head1 SEE ALSO L, +L, L =head1 COPYRIGHT diff --git a/doc/man3/EVP_mdc2.pod b/doc/man3/EVP_mdc2.pod index 0c9a5fa4d4..ecbba26505 100644 --- a/doc/man3/EVP_mdc2.pod +++ b/doc/man3/EVP_mdc2.pod @@ -14,7 +14,8 @@ EVP_mdc2 =head1 DESCRIPTION MDC-2 (Modification Detection Code 2 or Meyer-Schilling) is a cryptographic -hash function based on a block cipher. +hash function based on a block cipher. This implementation is only available +with the legacy provider. =over 4 @@ -38,6 +39,7 @@ ISO/IEC 10118-2:2000 Hash-Function 2, with DES as the underlying block cipher. =head1 SEE ALSO L, +L, L =head1 COPYRIGHT diff --git a/doc/man3/EVP_ripemd160.pod b/doc/man3/EVP_ripemd160.pod index 4e9ebf7337..165b84db07 100644 --- a/doc/man3/EVP_ripemd160.pod +++ b/doc/man3/EVP_ripemd160.pod @@ -15,6 +15,7 @@ EVP_ripemd160 RIPEMD-160 is a cryptographic hash function first published in 1996 belonging to the RIPEMD family (RACE Integrity Primitives Evaluation Message Digest). +This implementation is only available with the legacy provider. =over 4 @@ -37,6 +38,7 @@ ISO/IEC 10118-3:2016 Dedicated Hash-Function 1 (RIPEMD-160). =head1 SEE ALSO L, +L, L =head1 COPYRIGHT diff --git a/doc/man3/EVP_whirlpool.pod b/doc/man3/EVP_whirlpool.pod index c7e5d45d61..d3a4a1fc24 100644 --- a/doc/man3/EVP_whirlpool.pod +++ b/doc/man3/EVP_whirlpool.pod @@ -14,7 +14,8 @@ EVP_whirlpool =head1 DESCRIPTION WHIRLPOOL is a cryptographic hash function standardized in ISO/IEC 10118-3:2004 -designed by Vincent Rijmen and Paulo S. L. M. Barreto. +designed by Vincent Rijmen and Paulo S. L. M. Barreto. This implementation is +only available with the legacy provider. =over 4 @@ -39,6 +40,7 @@ ISO/IEC 10118-3:2004. =head1 SEE ALSO L, +L, L =head1 COPYRIGHT -- 2.25.1