1 | =pod
|
---|
2 |
|
---|
3 | =head1 NAME
|
---|
4 |
|
---|
5 | EVP_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 |
|
---|
16 | SM3 is a cryptographic hash function with a 256-bit output, defined in GB/T
|
---|
17 | 32905-2016.
|
---|
18 |
|
---|
19 | =over 4
|
---|
20 |
|
---|
21 | =item EVP_sm3()
|
---|
22 |
|
---|
23 | The SM3 hash function.
|
---|
24 |
|
---|
25 | =back
|
---|
26 |
|
---|
27 | =head1 NOTES
|
---|
28 |
|
---|
29 | Developers should be aware of the negative performance implications of
|
---|
30 | calling this function multiple times and should consider using
|
---|
31 | L<EVP_MD_fetch(3)> instead.
|
---|
32 | See L<crypto(7)/Performance> for further information.
|
---|
33 |
|
---|
34 | =head1 RETURN VALUES
|
---|
35 |
|
---|
36 | These functions return a B<EVP_MD> structure that contains the
|
---|
37 | implementation of the message digest. See L<EVP_MD_meth_new(3)> for
|
---|
38 | details of the B<EVP_MD> structure.
|
---|
39 |
|
---|
40 | =head1 CONFORMING TO
|
---|
41 |
|
---|
42 | GB/T 32905-2016 and GM/T 0004-2012.
|
---|
43 |
|
---|
44 | =head1 SEE ALSO
|
---|
45 |
|
---|
46 | L<evp(7)>,
|
---|
47 | L<EVP_DigestInit(3)>
|
---|
48 |
|
---|
49 | =head1 COPYRIGHT
|
---|
50 |
|
---|
51 | Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
|
---|
52 | Copyright 2017 Ribose Inc. All Rights Reserved.
|
---|
53 |
|
---|
54 | Licensed under the Apache License 2.0 (the "License"). You may not use
|
---|
55 | this file except in compliance with the License. You can obtain a copy
|
---|
56 | in the file LICENSE in the source distribution or at
|
---|
57 | L<https://www.openssl.org/source/license.html>.
|
---|
58 |
|
---|
59 | =cut
|
---|
60 |
|
---|