Home
last modified time | relevance | path

Searched refs:NID_sm2 (Results 1 – 18 of 18) sorted by relevance

/openssl/crypto/asn1/
H A Da_sign.c237 EVP_PKEY_get_id(pkey) == NID_sm2 ? NID_sm2 : in ASN1_item_sign_ctx()
/openssl/crypto/evp/
H A Dec_support.c115 {"SM2", NID_sm2 },
H A Dp_lib.c773 if (curve == NID_sm2 && pktype == EVP_PKEY_EC) in EVP_PKEY_assign()
775 else if(curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign()
/openssl/crypto/objects/
H A Dobj_xref.h86 {NID_SM2_with_SM3, NID_sm3, NID_sm2},
H A Dobj_dat.h2494 {"SM2", "sm2", NID_sm2, 8, &so[7617]},
/openssl/test/
H A Decdsatest.c211 if (nid == NID_sm2 && as == EVP_PKEY_EC) { in test_builtin()
215 } else if (nid != NID_sm2 && as == EVP_PKEY_SM2) { in test_builtin()
H A Dectest.c2833 if (nid == NID_sm2) in custom_params_test()
H A Devp_extra_test.c2406 if (!TEST_int_gt(EVP_PKEY_CTX_set_ec_paramgen_curve_nid(pctx, NID_sm2), 0)) in test_EVP_SM2()
/openssl/crypto/ec/
H A Dec_backend.c739 return OBJ_obj2nid((ASN1_OBJECT *)pval) == NID_sm2; in ossl_x509_algor_is_sm2()
751 ret = (EC_GROUP_get_curve_name(group) == NID_sm2); in ossl_x509_algor_is_sm2()
H A Dec_asn1.c975 if (EC_GROUP_get_curve_name(ret->group) == NID_sm2) in d2i_ECPrivateKey()
1122 if (EC_GROUP_get_curve_name(ret->group) == NID_sm2) in d2i_ECParameters()
H A Dec_curve.c3123 {NID_sm2, &_EC_sm2p256v1.h,
H A Dec_key.c778 if (key->group != NULL && EC_GROUP_get_curve_name(key->group) == NID_sm2) in EC_KEY_set_group()
/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c295 return EC_KEY_new_by_curve_name_ex(PROV_LIBCTX_OF(provctx), NULL, NID_sm2); in sm2_newdata()
387 || (sm2_wanted ^ (EC_GROUP_get_curve_name(ecg) == NID_sm2))) in common_check_sm2()
/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c515 if (EC_GROUP_get_curve_name(group) != NID_sm2) in ec_to_text()
H A Ddecode_der2key.c116 && ctx->desc->evp_type == NID_sm2))) in der2key_decode_p8()
/openssl/apps/
H A Dspeed.c1906 {"CurveSM2", NID_sm2, 256} in speed_main()
1935 OPENSSL_assert(sm2_curves[SM2_NUM - 1].nid == NID_sm2); in speed_main()
/openssl/include/openssl/
H A Devp.h71 # define EVP_PKEY_SM2 NID_sm2
H A Dobj_mac.h1232 #define NID_sm2 1172 macro

Completed in 188 milliseconds