EVP_sm3.pod 972 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 RETURN VALUES
  16. These functions return a B<EVP_MD> structure that contains the
  17. implementation of the message digest. See L<EVP_MD_meth_new(3)> for
  18. details of the B<EVP_MD> structure.
  19. =head1 CONFORMING TO
  20. GB/T 32905-2016 and GM/T 0004-2012.
  21. =head1 SEE ALSO
  22. L<evp(7)>,
  23. L<EVP_DigestInit(3)>
  24. =head1 COPYRIGHT
  25. Copyright 2017-2022 The OpenSSL Project Authors. All Rights Reserved.
  26. Copyright 2017 Ribose Inc. All Rights Reserved.
  27. Licensed under the Apache License 2.0 (the "License"). You may not use
  28. this file except in compliance with the License. You can obtain a copy
  29. in the file LICENSE in the source distribution or at
  30. L<https://www.openssl.org/source/license.html>.
  31. =cut