xref: /freebsd/crypto/openssl/doc/man3/EVP_sm3.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_sm3
6*e71b7053SJung-uk Kim- SM3 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_sm3(void);
13*e71b7053SJung-uk Kim
14*e71b7053SJung-uk Kim=head1 DESCRIPTION
15*e71b7053SJung-uk Kim
16*e71b7053SJung-uk KimSM3 is a cryptographic hash function with a 256-bit output, defined in GB/T
17*e71b7053SJung-uk Kim32905-2016.
18*e71b7053SJung-uk Kim
19*e71b7053SJung-uk Kim=over 4
20*e71b7053SJung-uk Kim
21*e71b7053SJung-uk Kim=item EVP_sm3()
22*e71b7053SJung-uk Kim
23*e71b7053SJung-uk KimThe SM3 hash function.
24*e71b7053SJung-uk Kim
25*e71b7053SJung-uk Kim=back
26*e71b7053SJung-uk Kim
27*e71b7053SJung-uk Kim
28*e71b7053SJung-uk Kim=head1 RETURN VALUES
29*e71b7053SJung-uk Kim
30*e71b7053SJung-uk KimThese functions return a B<EVP_MD> structure that contains the
31*e71b7053SJung-uk Kimimplementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for
32*e71b7053SJung-uk Kimdetails of the B<EVP_MD> structure.
33*e71b7053SJung-uk Kim
34*e71b7053SJung-uk Kim=head1 CONFORMING TO
35*e71b7053SJung-uk Kim
36*e71b7053SJung-uk KimGB/T 32905-2016 and GM/T 0004-2012.
37*e71b7053SJung-uk Kim
38*e71b7053SJung-uk Kim=head1 SEE ALSO
39*e71b7053SJung-uk Kim
40*e71b7053SJung-uk KimL<evp(7)>,
41*e71b7053SJung-uk KimL<EVP_DigestInit(3)>
42*e71b7053SJung-uk Kim
43*e71b7053SJung-uk Kim=head1 COPYRIGHT
44*e71b7053SJung-uk Kim
45*e71b7053SJung-uk KimCopyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
46*e71b7053SJung-uk KimCopyright 2017 Ribose Inc. 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