1*b077aed3SPierre Pronchery=pod 2*b077aed3SPierre Pronchery 3*b077aed3SPierre Pronchery=head1 NAME 4*b077aed3SPierre Pronchery 5*b077aed3SPierre ProncheryEVP_MD-MDC2 - The MDC2 EVP_MD implementation 6*b077aed3SPierre Pronchery 7*b077aed3SPierre Pronchery=head1 DESCRIPTION 8*b077aed3SPierre Pronchery 9*b077aed3SPierre ProncherySupport for computing MDC2 digests through the B<EVP_MD> API. 10*b077aed3SPierre Pronchery 11*b077aed3SPierre Pronchery=head2 Identity 12*b077aed3SPierre Pronchery 13*b077aed3SPierre ProncheryThis implementation is only available with the legacy provider, and is 14*b077aed3SPierre Proncheryidentified with the name "MDC2". 15*b077aed3SPierre Pronchery 16*b077aed3SPierre Pronchery=head2 Gettable Parameters 17*b077aed3SPierre Pronchery 18*b077aed3SPierre ProncheryThis implementation supports the common gettable parameters described 19*b077aed3SPierre Proncheryin L<EVP_MD-common(7)>. 20*b077aed3SPierre Pronchery 21*b077aed3SPierre Pronchery=head2 Settable Context Parameters 22*b077aed3SPierre Pronchery 23*b077aed3SPierre ProncheryThis implementation supports the following L<OSSL_PARAM(3)> entries, 24*b077aed3SPierre Proncherysettable for an B<EVP_MD_CTX> with L<EVP_MD_CTX_set_params(3)>: 25*b077aed3SPierre Pronchery 26*b077aed3SPierre Pronchery=over 4 27*b077aed3SPierre Pronchery 28*b077aed3SPierre Pronchery=item "pad-type" (B<OSSL_DIGEST_PARAM_PAD_TYPE>) <unsigned integer> 29*b077aed3SPierre Pronchery 30*b077aed3SPierre ProncherySets the padding type to be used. 31*b077aed3SPierre ProncheryNormally the final MDC2 block is padded with zeros. 32*b077aed3SPierre ProncheryIf the pad type is set to 2 then the final block is padded with 0x80 followed by 33*b077aed3SPierre Proncheryzeros. 34*b077aed3SPierre Pronchery 35*b077aed3SPierre Pronchery=back 36*b077aed3SPierre Pronchery 37*b077aed3SPierre Pronchery=head1 SEE ALSO 38*b077aed3SPierre Pronchery 39*b077aed3SPierre ProncheryL<EVP_MD_CTX_set_params(3)>, L<provider-digest(7)>, L<OSSL_PROVIDER-legacy(7)> 40*b077aed3SPierre Pronchery 41*b077aed3SPierre Pronchery=head1 COPYRIGHT 42*b077aed3SPierre Pronchery 43*b077aed3SPierre ProncheryCopyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 44*b077aed3SPierre Pronchery 45*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License"). You may not use 46*b077aed3SPierre Proncherythis file except in compliance with the License. You can obtain a copy 47*b077aed3SPierre Proncheryin the file LICENSE in the source distribution or at 48*b077aed3SPierre ProncheryL<https://www.openssl.org/source/license.html>. 49*b077aed3SPierre Pronchery 50*b077aed3SPierre Pronchery=cut 51