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 <sebastian@breakpoint.cc>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12074)
=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
=head1 SEE ALSO
L<evp(7)>,
+L<provider(7)>,
L<EVP_DigestInit(3)>
=head1 COPYRIGHT
=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
=head1 SEE ALSO
L<evp(7)>,
+L<provider(7)>,
L<EVP_DigestInit(3)>
=head1 COPYRIGHT
=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
=head1 SEE ALSO
L<evp(7)>,
+L<provider(7)>,
L<EVP_DigestInit(3)>
=head1 COPYRIGHT
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
=head1 SEE ALSO
L<evp(7)>,
+L<provider(7)>,
L<EVP_DigestInit(3)>
=head1 COPYRIGHT
=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
=head1 SEE ALSO
L<evp(7)>,
+L<provider(7)>,
L<EVP_DigestInit(3)>
=head1 COPYRIGHT