Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/asn1/
H A Da_sign.c241 EVP_PKEY_get_id(pkey) == NID_sm2 ? NID_sm2 : in ASN1_item_sign_ctx()
/freebsd/crypto/openssl/crypto/evp/
H A Dec_support.c115 {"SM2", NID_sm2 },
H A Dp_lib.c766 if (curve == NID_sm2 && pktype == EVP_PKEY_EC) in EVP_PKEY_assign()
768 else if(curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign()
/freebsd/crypto/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.c2721 if (nid == NID_sm2) in custom_params_test()
H A Devp_extra_test.c2051 if (!TEST_int_gt(EVP_PKEY_CTX_set_ec_paramgen_curve_nid(pctx, NID_sm2), 0)) in test_EVP_SM2()
/freebsd/crypto/openssl/crypto/objects/
H A Dobj_xref.h82 {NID_SM2_with_SM3, NID_sm3, NID_sm2},
H A Dobj_dat.h2294 {"SM2", "sm2", NID_sm2, 8, &so[7617]},
/freebsd/crypto/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.c979 if (EC_GROUP_get_curve_name(ret->group) == NID_sm2) in d2i_ECPrivateKey()
1127 if (EC_GROUP_get_curve_name(ret->group) == NID_sm2) in d2i_ECParameters()
H A Dec_curve.c3111 {NID_sm2, &_EC_sm2p256v1.h, 0,
H A Dec_key.c683 if (key->group != NULL && EC_GROUP_get_curve_name(key->group) == NID_sm2) in EC_KEY_set_group()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c292 return EC_KEY_new_by_curve_name_ex(PROV_LIBCTX_OF(provctx), NULL, NID_sm2); in sm2_newdata()
384 || (sm2_wanted ^ (EC_GROUP_get_curve_name(ecg) == NID_sm2))) in common_check_sm2()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c114 && ctx->desc->evp_type == NID_sm2))) in der2key_decode_p8()
/freebsd/crypto/openssl/apps/
H A Dspeed.c1570 {"CurveSM2", NID_sm2, 256} in speed_main()
1589 OPENSSL_assert(sm2_curves[SM2_NUM - 1].nid == NID_sm2); in speed_main()
/freebsd/crypto/openssl/include/openssl/
H A Devp.h70 # define EVP_PKEY_SM2 NID_sm2
H A Dobj_mac.h1202 #define NID_sm2 1172 macro