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_sha1
      6      1.1  christos - SHA-1 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_sha1(void);
     13      1.1  christos 
     14      1.1  christos =head1 DESCRIPTION
     15      1.1  christos 
     16      1.1  christos SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function standardized
     17      1.1  christos in NIST FIPS 180-4. The algorithm was designed by the United States National
     18      1.1  christos Security Agency and initially published in 1995.
     19      1.1  christos 
     20      1.1  christos =over 4
     21      1.1  christos 
     22      1.1  christos =item EVP_sha1()
     23      1.1  christos 
     24      1.1  christos The SHA-1 algorithm which produces a 160-bit output from a given input.
     25      1.1  christos 
     26      1.1  christos =back
     27      1.1  christos 
     28  1.1.1.3  christos =head1 NOTES
     29  1.1.1.3  christos 
     30  1.1.1.3  christos Developers should be aware of the negative performance implications of
     31  1.1.1.3  christos calling this function multiple times and should consider using
     32  1.1.1.4  christos L<EVP_MD_fetch(3)> with L<EVP_MD-SHA1(7)> instead.
     33  1.1.1.3  christos See L<crypto(7)/Performance> for further information.
     34      1.1  christos 
     35      1.1  christos =head1 RETURN VALUES
     36      1.1  christos 
     37      1.1  christos These functions return a B<EVP_MD> structure that contains the
     38  1.1.1.2  christos implementation of the message digest. See L<EVP_MD_meth_new(3)> for
     39      1.1  christos details of the B<EVP_MD> structure.
     40      1.1  christos 
     41      1.1  christos =head1 CONFORMING TO
     42      1.1  christos 
     43      1.1  christos NIST FIPS 180-4.
     44      1.1  christos 
     45      1.1  christos =head1 SEE ALSO
     46      1.1  christos 
     47      1.1  christos L<evp(7)>,
     48      1.1  christos L<EVP_DigestInit(3)>
     49      1.1  christos 
     50      1.1  christos =head1 COPYRIGHT
     51      1.1  christos 
     52  1.1.1.3  christos Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
     53      1.1  christos 
     54  1.1.1.2  christos Licensed under the Apache License 2.0 (the "License").  You may not use
     55      1.1  christos this file except in compliance with the License.  You can obtain a copy
     56      1.1  christos in the file LICENSE in the source distribution or at
     57      1.1  christos L<https://www.openssl.org/source/license.html>.
     58      1.1  christos 
     59      1.1  christos =cut
     60      1.1  christos 
     61