Searched refs:NID_sm2 (Results 1 – 17 of 17) sorted by relevance
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_sign.c | 241 EVP_PKEY_get_id(pkey) == NID_sm2 ? NID_sm2 : in ASN1_item_sign_ctx()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | ec_support.c | 115 {"SM2", NID_sm2 },
|
H A D | p_lib.c | 766 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 D | ecdsatest.c | 211 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 D | ectest.c | 2721 if (nid == NID_sm2) in custom_params_test()
|
H A D | evp_extra_test.c | 2051 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 D | obj_xref.h | 82 {NID_SM2_with_SM3, NID_sm3, NID_sm2},
|
H A D | obj_dat.h | 2294 {"SM2", "sm2", NID_sm2, 8, &so[7617]},
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_backend.c | 739 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 D | ec_asn1.c | 979 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 D | ec_curve.c | 3111 {NID_sm2, &_EC_sm2p256v1.h, 0,
|
H A D | ec_key.c | 683 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 D | ec_kmgmt.c | 292 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 D | decode_der2key.c | 114 && ctx->desc->evp_type == NID_sm2))) in der2key_decode_p8()
|
/freebsd/crypto/openssl/apps/ |
H A D | speed.c | 1570 {"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 D | evp.h | 70 # define EVP_PKEY_SM2 NID_sm2
|
H A D | obj_mac.h | 1202 #define NID_sm2 1172 macro
|