Symbol: NID_sm2
crypto/openssl/apps/speed.c
2086
{ "CurveSM2", NID_sm2, 256 }
crypto/openssl/apps/speed.c
2115
OPENSSL_assert(sm2_curves[SM2_NUM - 1].nid == NID_sm2);
crypto/openssl/crypto/asn1/a_sign.c
235
EVP_PKEY_get_id(pkey) == NID_sm2 ? NID_sm2 :
crypto/openssl/crypto/ec/ec_asn1.c
1110
if (EC_GROUP_get_curve_name(ret->group) == NID_sm2)
crypto/openssl/crypto/ec/ec_asn1.c
964
if (EC_GROUP_get_curve_name(ret->group) == NID_sm2)
crypto/openssl/crypto/ec/ec_backend.c
738
return OBJ_obj2nid((ASN1_OBJECT *)pval) == NID_sm2;
crypto/openssl/crypto/ec/ec_backend.c
750
ret = (EC_GROUP_get_curve_name(group) == NID_sm2);
crypto/openssl/crypto/ec/ec_curve.c
2999
{ NID_sm2, &_EC_sm2p256v1.h,
crypto/openssl/crypto/ec/ec_key.c
774
if (key->group != NULL && EC_GROUP_get_curve_name(key->group) == NID_sm2)
crypto/openssl/crypto/evp/ec_support.c
115
{ "SM2", NID_sm2 },
crypto/openssl/crypto/evp/p_lib.c
802
if (curve == NID_sm2 && pktype == EVP_PKEY_EC)
crypto/openssl/crypto/evp/p_lib.c
804
else if (curve != NID_sm2 && pktype == EVP_PKEY_SM2)
crypto/openssl/crypto/objects/obj_dat.h
2527
{"SM2", "sm2", NID_sm2, 8, &so[7617]},
crypto/openssl/crypto/objects/obj_xref.h
86
{NID_SM2_with_SM3, NID_sm3, NID_sm2},
crypto/openssl/include/openssl/evp.h
74
#define EVP_PKEY_SM2 NID_sm2
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
145
&& ctx->desc->evp_type == NID_sm2)))
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
337
if (EC_GROUP_get_curve_name(group) != NID_sm2)
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
290
return EC_KEY_new_by_curve_name_ex(PROV_LIBCTX_OF(provctx), NULL, NID_sm2);
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
380
|| (sm2_wanted ^ (EC_GROUP_get_curve_name(ecg) == NID_sm2)))
crypto/openssl/test/ecdsatest.c
211
if (nid == NID_sm2 && as == EVP_PKEY_EC) {
crypto/openssl/test/ecdsatest.c
215
} else if (nid != NID_sm2 && as == EVP_PKEY_SM2) {
crypto/openssl/test/ectest.c
3215
if (nid == NID_sm2)
crypto/openssl/test/evp_extra_test.c
2613
if (!TEST_int_gt(EVP_PKEY_CTX_set_ec_paramgen_curve_nid(pctx, NID_sm2), 0))