xref: /freebsd/crypto/openssl/doc/man3/EVP_sm3.pod (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1=pod
2
3=head1 NAME
4
5EVP_sm3
6- SM3 for EVP
7
8=head1 SYNOPSIS
9
10 #include <openssl/evp.h>
11
12 const EVP_MD *EVP_sm3(void);
13
14=head1 DESCRIPTION
15
16SM3 is a cryptographic hash function with a 256-bit output, defined in GB/T
1732905-2016.
18
19=over 4
20
21=item EVP_sm3()
22
23The SM3 hash function.
24
25=back
26
27
28=head1 RETURN VALUES
29
30These functions return a B<EVP_MD> structure that contains the
31implementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for
32details of the B<EVP_MD> structure.
33
34=head1 CONFORMING TO
35
36GB/T 32905-2016 and GM/T 0004-2012.
37
38=head1 SEE ALSO
39
40L<evp(7)>,
41L<EVP_DigestInit(3)>
42
43=head1 COPYRIGHT
44
45Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
46Copyright 2017 Ribose Inc. All Rights Reserved.
47
48Licensed under the OpenSSL license (the "License").  You may not use
49this file except in compliance with the License.  You can obtain a copy
50in the file LICENSE in the source distribution or at
51L<https://www.openssl.org/source/license.html>.
52
53=cut
54
55