EVP_sm3.pod 1.2 KB

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