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