1EVP_SM3(3ossl)                      OpenSSL                     EVP_SM3(3ossl)
2
3
4

NAME

6       EVP_sm3 - SM3 for EVP
7

SYNOPSIS

9        #include <openssl/evp.h>
10
11        const EVP_MD *EVP_sm3(void);
12

DESCRIPTION

14       SM3 is a cryptographic hash function with a 256-bit output, defined in
15       GB/T 32905-2016.
16
17       EVP_sm3()
18           The SM3 hash function.
19

NOTES

21       Developers should be aware of the negative performance implications of
22       calling this function multiple times and should consider using
23       EVP_MD_fetch(3) instead.  See "Performance" in crypto(7) for further
24       information.
25

RETURN VALUES

27       These functions return a EVP_MD structure that contains the
28       implementation of the message digest. See EVP_MD_meth_new(3) for
29       details of the EVP_MD structure.
30

CONFORMING TO

32       GB/T 32905-2016 and GM/T 0004-2012.
33

SEE ALSO

35       evp(7), EVP_DigestInit(3)
36
38       Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
39       Copyright 2017 Ribose Inc. All Rights Reserved.
40
41       Licensed under the Apache License 2.0 (the "License").  You may not use
42       this file except in compliance with the License.  You can obtain a copy
43       in the file LICENSE in the source distribution or at
44       <https://www.openssl.org/source/license.html>.
45
46
47
483.0.9                             2023-07-27                    EVP_SM3(3ossl)
Impressum