2020-03-06 21:25:42 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
OSSL_PROVIDER-legacy - OpenSSL legacy provider
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
The OpenSSL legacy provider supplies OpenSSL implementations of algorithms
|
|
|
|
that have been deemed legacy. Such algorithms have commonly fallen out of
|
|
|
|
use, have been deemed insecure by the cryptography community, or something
|
|
|
|
similar.
|
|
|
|
|
|
|
|
We can consider this the retirement home of cryptographic algorithms.
|
|
|
|
|
|
|
|
=head2 Properties
|
|
|
|
|
2020-05-26 11:53:07 +08:00
|
|
|
The implementations in this provider specifically has this property
|
2020-03-06 21:25:42 +08:00
|
|
|
defined:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2020-05-26 11:53:07 +08:00
|
|
|
=item "provider=legacy"
|
2020-03-06 21:25:42 +08:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
It may be used in a property query string with fetching functions such as
|
|
|
|
L<EVP_MD_fetch(3)> or L<EVP_CIPHER_fetch(3)>, as well as with other
|
|
|
|
functions that take a property query string, such as
|
|
|
|
L<EVP_PKEY_CTX_new_from_name(3)>.
|
|
|
|
|
|
|
|
It isn't mandatory to query for any of these properties, except to
|
|
|
|
make sure to get implementations of this provider and none other.
|
|
|
|
|
|
|
|
=head1 OPERATIONS AND ALGORITHMS
|
|
|
|
|
|
|
|
The OpenSSL legacy provider supports these operations and algorithms:
|
|
|
|
|
|
|
|
=head2 Hashing Algorithms / Message Digests
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item MD2, see L<EVP_MD-MD2(7)>
|
|
|
|
|
|
|
|
=item MD4, see L<EVP_MD-MD4(7)>
|
|
|
|
|
|
|
|
=item MDC2, see L<EVP_MD-MDC2(7)>
|
|
|
|
|
|
|
|
=item WHIRLPOOL, see L<EVP_MD-WHIRLPOOL(7)>
|
|
|
|
|
|
|
|
=item RIPEMD160, see L<EVP_MD-RIPEMD160(7)>
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
2021-05-07 23:16:29 +08:00
|
|
|
=head2 Symmetric Ciphers
|
|
|
|
|
|
|
|
Not all of these symmetric cipher algorithms are enabled by default.
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2021-05-22 10:37:11 +08:00
|
|
|
=item Blowfish, see L<EVP_CIPHER-BLOWFISH(7)>
|
2021-05-07 23:16:29 +08:00
|
|
|
|
2021-05-22 10:37:11 +08:00
|
|
|
=item CAST, see L<EVP_CIPHER-CAST(7)>
|
2021-05-07 23:16:29 +08:00
|
|
|
|
2021-05-22 10:37:11 +08:00
|
|
|
=item DES, see L<EVP_CIPHER-DES(7)>
|
2021-05-07 23:16:29 +08:00
|
|
|
|
2021-03-28 15:22:40 +08:00
|
|
|
The algorithm names are: DES_ECB, DES_CBC, DES_OFB, DES_CFB, DES_CFB1, DES_CFB8
|
|
|
|
and DESX_CBC.
|
2021-05-07 23:16:29 +08:00
|
|
|
|
2021-05-22 10:37:11 +08:00
|
|
|
=item IDEA, see L<EVP_CIPHER-IDEA(7)>
|
2021-05-07 23:16:29 +08:00
|
|
|
|
2021-05-22 10:37:11 +08:00
|
|
|
=item RC2, see L<EVP_CIPHER-RC2(7)>
|
2021-05-07 23:16:29 +08:00
|
|
|
|
2021-05-22 10:37:11 +08:00
|
|
|
=item RC4, see L<EVP_CIPHER-RC4(7)>
|
|
|
|
|
|
|
|
=item RC5, see L<EVP_CIPHER-RC5(7)>
|
2021-05-07 23:16:29 +08:00
|
|
|
|
|
|
|
Disabled by default. Use I<enable-rc5> config option to enable.
|
|
|
|
|
2021-05-22 10:37:11 +08:00
|
|
|
=item SEED, see L<EVP_CIPHER-SEED(7)>
|
2021-05-07 23:16:29 +08:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
2021-02-26 13:21:47 +08:00
|
|
|
=head2 Key Derivation Function (KDF)
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item PBKDF1
|
|
|
|
|
2021-07-01 12:40:44 +08:00
|
|
|
=item PVKKDF
|
|
|
|
|
2021-02-26 13:21:47 +08:00
|
|
|
=back
|
|
|
|
|
2020-03-06 21:25:42 +08:00
|
|
|
=begin comment
|
|
|
|
|
|
|
|
When algorithms for other operations start appearing, the
|
|
|
|
following =head2 titles are appropriate to use:
|
|
|
|
|
|
|
|
- Message Authentication Code (MAC)
|
|
|
|
|
|
|
|
- Key Derivation Function (KDF)
|
|
|
|
|
|
|
|
- Key Exchange
|
|
|
|
|
|
|
|
- Signature
|
|
|
|
|
|
|
|
- Asymmetric Cipher
|
|
|
|
|
|
|
|
- Asymmetric Key Management
|
|
|
|
|
|
|
|
=end comment
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<OSSL_PARAM(3)>,
|
|
|
|
L<openssl-core.h(7)>,
|
2020-06-21 07:21:19 +08:00
|
|
|
L<openssl-core_dispatch.h(7)>,
|
2020-03-06 21:25:42 +08:00
|
|
|
L<provider(7)>
|
|
|
|
|
2022-11-17 05:26:06 +08:00
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
This functionality was added in OpenSSL 3.0.
|
|
|
|
|
2020-03-06 21:25:42 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2021-03-28 15:22:40 +08:00
|
|
|
Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
|
2020-03-06 21:25:42 +08:00
|
|
|
|
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|