Symbol: EVP_PKEY_SM2
crypto/openssl/apps/speed.c
3825
st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL
crypto/openssl/crypto/core_namemap.c
459
case EVP_PKEY_SM2:
crypto/openssl/crypto/ec/ec_ameth.c
401
if (EVP_PKEY_get_id(pkey) == EVP_PKEY_SM2) {
crypto/openssl/crypto/ec/ec_ameth.c
703
EVP_PKEY_SM2,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2214
{ OSSL_ACTION_SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2217
{ OSSL_ACTION_SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2225
{ OSSL_ACTION_NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2229
{ OSSL_ACTION_NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2232
{ OSSL_ACTION_SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2235
{ OSSL_ACTION_GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2238
{ OSSL_ACTION_SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2241
{ OSSL_ACTION_GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2244
{ OSSL_ACTION_SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2247
{ OSSL_ACTION_GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
crypto/openssl/crypto/evp/ec_ctrl.c
285
int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC;
crypto/openssl/crypto/evp/p_lib.c
1064
{ EVP_PKEY_SM2, "SM2" },
crypto/openssl/crypto/evp/p_lib.c
761
case EVP_PKEY_SM2:
crypto/openssl/crypto/evp/p_lib.c
792
if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) {
crypto/openssl/crypto/evp/p_lib.c
803
type = EVP_PKEY_SM2;
crypto/openssl/crypto/evp/p_lib.c
804
else if (curve != NID_sm2 && pktype == EVP_PKEY_SM2)
crypto/openssl/crypto/x509/x_pubkey.c
808
if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2)
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
487
ret = ctx->desc->evp_type == EVP_PKEY_SM2
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
490
ret = ctx->desc->evp_type != EVP_PKEY_SM2;
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
561
#define sm2_evp_type EVP_PKEY_SM2
crypto/openssl/test/ecdsatest.c
215
} else if (nid != NID_sm2 && as == EVP_PKEY_SM2) {
crypto/openssl/test/ecdsatest.c
250
|| (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey))
crypto/openssl/test/ecdsatest.c
256
|| (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey_neg))
crypto/openssl/test/ecdsatest.c
261
|| (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey))
crypto/openssl/test/ecdsatest.c
266
|| (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey))
crypto/openssl/test/ecdsatest.c
274
|| (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey))
crypto/openssl/test/ecdsatest.c
281
|| (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey))
crypto/openssl/test/ecdsatest.c
316
|| (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey))
crypto/openssl/test/ecdsatest.c
323
|| (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey))
crypto/openssl/test/ecdsatest.c
346
return test_builtin(n, EVP_PKEY_SM2);