EVP_ASYM_CIPHER-SM2 - SM2 Asymmetric Cipher algorithm support
| Use Case | Command | Description |
|---|---|---|
| 🔐 Set SM2 digest algorithm | EVP_PKEY_CTX_set_params(ctx, "digest", "SM3") |
Configure the SM2 asymmetric cipher to use SM3 digest |
| ⚙️ Set digest properties | EVP_PKEY_CTX_set_params(ctx, "digest-props", "provider=default") |
Specify digest provider properties for SM2 |
Asymmetric Cipher support for the SM2 key type.
"digest" (OSSL_ASYM_CIPHER_PARAM_DIGEST) <UTF8 string>"digest-props" (OSSL_ASYM_CIPHER_PARAM_DIGEST_PROPS) <UTF8 string>Copyright 2020 The OpenSSL Project Authors. 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.
3.0.2 2026-06-02 EVP_ASYM_CIPHER-SM2(7SSL)
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-04 11:49 @216.73.216.183
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format