EVP_SM3(3)
π EVP_SM3(3) π
okay so welcome to the Library Functions Manual entry for EVP_sm3, and bestie it's literally the SM3 hash function for EVP. π
πΈ NAME πΈ
EVP_sm3 β SM3 hash function for EVP
β¨ SYNOPSIS β¨
library βlibcryptoβ #include <openssl/evp.h>
const EVP_MD *
EVP_sm3(void);
π DESCRIPTION π
SM3 is a cryptographic hash function with a 256-bit output. It's part of the Chinese βCommercial Cryptographyβ suite of algorithms, which is required for certain commercial applications in China. That's the whole vibe: 256 bits, Chinese commercial crypto suite, required for certain commercial apps in China. No cap. π₯
π«Ά RETURN VALUES π«Ά
EVP_sm3() returns a pointer to a static EVP_MD object implementing the SM3 hash function. It's giving βhere's your static EVP_MD object, go off.β β¨
π SEE ALSO π
π STANDARDS π
GB/T 32905-2016 and GM/T 0004-2012 β yes bestie, those exact standards. π
π¦ HISTORY π¦
EVP_sm3() first appeared in OpenSSL 1.1.1 and has been available since OpenBSD 6.5. Periodt. π
xoxo, your Debian bestie π β this page is from Debian, dated June 8, 2025. mwah π
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2017 The OpenSSL Project. All rights reserved
- Copyright (c) 2017 Ribose Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms