Home | History | Annotate | Line # | Download | only in man3
      1      1.1  christos =pod
      2      1.1  christos 
      3      1.1  christos =head1 NAME
      4      1.1  christos 
      5      1.1  christos EVP_mdc2
      6      1.1  christos - MDC-2 For EVP
      7      1.1  christos 
      8      1.1  christos =head1 SYNOPSIS
      9      1.1  christos 
     10      1.1  christos  #include <openssl/evp.h>
     11      1.1  christos 
     12      1.1  christos  const EVP_MD *EVP_mdc2(void);
     13      1.1  christos 
     14      1.1  christos =head1 DESCRIPTION
     15      1.1  christos 
     16      1.1  christos MDC-2 (Modification Detection Code 2 or Meyer-Schilling) is a cryptographic
     17  1.1.1.2  christos hash function based on a block cipher. This implementation is only available
     18  1.1.1.2  christos with the legacy provider.
     19      1.1  christos 
     20      1.1  christos =over 4
     21      1.1  christos 
     22      1.1  christos =item EVP_mdc2()
     23      1.1  christos 
     24      1.1  christos The MDC-2DES algorithm of using MDC-2 with the DES block cipher. It produces a
     25      1.1  christos 128-bit output from a given input.
     26      1.1  christos 
     27      1.1  christos =back
     28      1.1  christos 
     29  1.1.1.3  christos =head1 NOTES
     30  1.1.1.3  christos 
     31  1.1.1.3  christos Developers should be aware of the negative performance implications of
     32  1.1.1.3  christos calling this function multiple times and should consider using
     33  1.1.1.4  christos L<EVP_MD_fetch(3)> with L<EVP_MD-MDC2(7)> instead.
     34  1.1.1.3  christos See L<crypto(7)/Performance> for further information.
     35  1.1.1.3  christos 
     36      1.1  christos =head1 RETURN VALUES
     37      1.1  christos 
     38      1.1  christos These functions return a B<EVP_MD> structure that contains the
     39  1.1.1.2  christos implementation of the message digest. See L<EVP_MD_meth_new(3)> for
     40      1.1  christos details of the B<EVP_MD> structure.
     41      1.1  christos 
     42      1.1  christos =head1 CONFORMING TO
     43      1.1  christos 
     44      1.1  christos ISO/IEC 10118-2:2000 Hash-Function 2, with DES as the underlying block cipher.
     45      1.1  christos 
     46      1.1  christos =head1 SEE ALSO
     47      1.1  christos 
     48      1.1  christos L<evp(7)>,
     49  1.1.1.2  christos L<provider(7)>,
     50      1.1  christos L<EVP_DigestInit(3)>
     51      1.1  christos 
     52      1.1  christos =head1 COPYRIGHT
     53      1.1  christos 
     54  1.1.1.3  christos Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
     55      1.1  christos 
     56  1.1.1.2  christos Licensed under the Apache License 2.0 (the "License").  You may not use
     57      1.1  christos this file except in compliance with the License.  You can obtain a copy
     58      1.1  christos in the file LICENSE in the source distribution or at
     59      1.1  christos L<https://www.openssl.org/source/license.html>.
     60      1.1  christos 
     61      1.1  christos =cut
     62      1.1  christos 
     63