xref: /freebsd/crypto/openssl/doc/man3/EVP_sha1.pod (revision e71b70530d95c4f34d8bdbd78d1242df1ba4a945)
1*e71b7053SJung-uk Kim=pod
2*e71b7053SJung-uk Kim
3*e71b7053SJung-uk Kim=head1 NAME
4*e71b7053SJung-uk Kim
5*e71b7053SJung-uk KimEVP_sha1
6*e71b7053SJung-uk Kim- SHA-1 For EVP
7*e71b7053SJung-uk Kim
8*e71b7053SJung-uk Kim=head1 SYNOPSIS
9*e71b7053SJung-uk Kim
10*e71b7053SJung-uk Kim #include <openssl/evp.h>
11*e71b7053SJung-uk Kim
12*e71b7053SJung-uk Kim const EVP_MD *EVP_sha1(void);
13*e71b7053SJung-uk Kim
14*e71b7053SJung-uk Kim=head1 DESCRIPTION
15*e71b7053SJung-uk Kim
16*e71b7053SJung-uk KimSHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function standardized
17*e71b7053SJung-uk Kimin NIST FIPS 180-4. The algorithm was designed by the United States National
18*e71b7053SJung-uk KimSecurity Agency and initially published in 1995.
19*e71b7053SJung-uk Kim
20*e71b7053SJung-uk Kim=over 4
21*e71b7053SJung-uk Kim
22*e71b7053SJung-uk Kim=item EVP_sha1()
23*e71b7053SJung-uk Kim
24*e71b7053SJung-uk KimThe SHA-1 algorithm which produces a 160-bit output from a given input.
25*e71b7053SJung-uk Kim
26*e71b7053SJung-uk Kim=back
27*e71b7053SJung-uk Kim
28*e71b7053SJung-uk Kim
29*e71b7053SJung-uk Kim=head1 RETURN VALUES
30*e71b7053SJung-uk Kim
31*e71b7053SJung-uk KimThese functions return a B<EVP_MD> structure that contains the
32*e71b7053SJung-uk Kimimplementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for
33*e71b7053SJung-uk Kimdetails of the B<EVP_MD> structure.
34*e71b7053SJung-uk Kim
35*e71b7053SJung-uk Kim=head1 CONFORMING TO
36*e71b7053SJung-uk Kim
37*e71b7053SJung-uk KimNIST FIPS 180-4.
38*e71b7053SJung-uk Kim
39*e71b7053SJung-uk Kim=head1 SEE ALSO
40*e71b7053SJung-uk Kim
41*e71b7053SJung-uk KimL<evp(7)>,
42*e71b7053SJung-uk KimL<EVP_DigestInit(3)>
43*e71b7053SJung-uk Kim
44*e71b7053SJung-uk Kim=head1 COPYRIGHT
45*e71b7053SJung-uk Kim
46*e71b7053SJung-uk KimCopyright 2017 The OpenSSL Project Authors. All Rights Reserved.
47*e71b7053SJung-uk Kim
48*e71b7053SJung-uk KimLicensed under the OpenSSL license (the "License").  You may not use
49*e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
50*e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
51*e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
52*e71b7053SJung-uk Kim
53*e71b7053SJung-uk Kim=cut
54*e71b7053SJung-uk Kim
55