EVP_SM3(3ossl)
β¨ NAME β¨
okay bestie, this is the EVP_SM3(3ossl) page from the OpenSSL manual, and it's all about EVP_sm3 β SM3, but for EVP π
πΈ SYNOPSIS πΈ
#include <openssl/evp.h>
const EVP_MD *EVP_sm3(void);
π¦ DESCRIPTION π¦
SM3 is a cryptographic hash function with a 256-bit output, defined in GB/T 32905-2016. she's giving secure, she's giving standardized, no cap π
EVP_sm3()β the SM3 hash function. that's it, that's the girl. literally the whole vibe β¨
π NOTES π
okay so real talk, bestie β the devs need to know about the negative performance implications of calling this function multiple times π like, don't just keep hitting it in a loop, that's not the move.
instead, consider using EVP_MD_fetch(3) with EVP_MD-SM3(7). and if you wanna know more, go read "Performance" in crypto(7). iykyk π«Ά
π RETURN VALUES π
these functions return a EVP_MD structure that contains the implementation of the message digest. if you want the deets on what that EVP_MD structure actually is, check EVP_MD_meth_new(3). periodt π
π CONFORMING TO π
GB/T 32905-2016 and GM/T 0004-2012. she's certified, she's compliant, she's iconic πβ
π§ SEE ALSO π§
π COPYRIGHT π
Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved. Copyright 2017 Ribose Inc. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
okay that's the whole page bestie, tysm for reading π₯° this was version 3.5.9, dated 2026-09-29, and yeah β that's the EVP_SM3(3ossl) manual page, done and dusted, slay π
β¨
π¦ where this page comes from
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms