yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | =pod |
| 2 | |
| 3 | =head1 NAME |
| 4 | |
| 5 | EVP_sha1 |
| 6 | - SHA-1 For EVP |
| 7 | |
| 8 | =head1 SYNOPSIS |
| 9 | |
| 10 | #include <openssl/evp.h> |
| 11 | |
| 12 | const EVP_MD *EVP_sha1(void); |
| 13 | |
| 14 | =head1 DESCRIPTION |
| 15 | |
| 16 | SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function standardized |
| 17 | in NIST FIPS 180-4. The algorithm was designed by the United States National |
| 18 | Security Agency and initially published in 1995. |
| 19 | |
| 20 | =over 4 |
| 21 | |
| 22 | =item EVP_sha1() |
| 23 | |
| 24 | The SHA-1 algorithm which produces a 160-bit output from a given input. |
| 25 | |
| 26 | =back |
| 27 | |
| 28 | |
| 29 | =head1 RETURN VALUES |
| 30 | |
| 31 | These functions return a B<EVP_MD> structure that contains the |
| 32 | implementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for |
| 33 | details of the B<EVP_MD> structure. |
| 34 | |
| 35 | =head1 CONFORMING TO |
| 36 | |
| 37 | NIST FIPS 180-4. |
| 38 | |
| 39 | =head1 SEE ALSO |
| 40 | |
| 41 | L<evp(7)>, |
| 42 | L<EVP_DigestInit(3)> |
| 43 | |
| 44 | =head1 COPYRIGHT |
| 45 | |
| 46 | Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. |
| 47 | |
| 48 | Licensed under the OpenSSL license (the "License"). You may not use |
| 49 | this file except in compliance with the License. You can obtain a copy |
| 50 | in the file LICENSE in the source distribution or at |
| 51 | L<https://www.openssl.org/source/license.html>. |
| 52 | |
| 53 | =cut |
| 54 | |