Home
last modified time | relevance | path

Searched refs:EVP_PKEY_SM2 (Results 1 – 14 of 14) sorted by relevance

/freebsd-head/crypto/openssl/test/
HDecdsatest.c215 } else if (nid != NID_sm2 && as == EVP_PKEY_SM2) { in test_builtin()
250 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
256 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey_neg)) in test_builtin()
261 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
266 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
274 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
281 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
316 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
323 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin()
346 return test_builtin(n, EVP_PKEY_SM2); in test_builtin_as_sm2()
/freebsd-head/crypto/openssl/crypto/evp/
HDec_ctrl.c286 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; in EVP_PKEY_CTX_set_ec_paramgen_curve_nid()
HDctrl_params_translate.c2173 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2176 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2184 { NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2188 { NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2191 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2194 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2197 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2200 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2203 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2206 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
HDp_lib.c725 case EVP_PKEY_SM2: in detect_foreign_key()
756 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign()
767 type = EVP_PKEY_SM2; in EVP_PKEY_assign()
768 else if(curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign()
1015 { EVP_PKEY_SM2, "SM2" },
/freebsd-head/crypto/openssl/providers/implementations/encode_decode/
HDdecode_der2key.c429 ret = ctx->desc->evp_type == EVP_PKEY_SM2 in ec_check()
432 ret = ctx->desc->evp_type != EVP_PKEY_SM2; in ec_check()
500 # define sm2_evp_type EVP_PKEY_SM2
/freebsd-head/crypto/openssl/crypto/ec/
HDec_ameth.c400 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_SM2) { in ec_pkey_ctrl()
704 EVP_PKEY_SM2,
/freebsd-head/crypto/openssl/doc/man3/
HDEVP_PKEY_CTX_new.pod86 B<EVP_PKEY_DH>, B<EVP_PKEY_EC>, B<EVP_PKEY_SM2>, B<EVP_PKEY_X25519>,
HDEVP_PKEY_set1_RSA.pod174 type to B<EVP_PKEY_SM2> in that case, instead of B<EVP_PKEY_EC>.
/freebsd-head/crypto/openssl/crypto/
HDcore_namemap.c447 case EVP_PKEY_SM2: in get_legacy_pkey_meth_names()
/freebsd-head/crypto/openssl/crypto/x509/
HDx_pubkey.c804 if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2) in d2i_EC_PUBKEY()
/freebsd-head/crypto/openssl/doc/man7/
HDmigration_guide.pod400 EVP_PKEY_SM2 rather than EVP_PKEY_EC.
403 call C<EVP_PKEY_set_alias_type(pkey, EVP_PKEY_SM2)> to get SM2 computations.
406 to generate EVP_PKEY_SM2 parameters and keys. Applications must now generate
/freebsd-head/crypto/openssl/include/openssl/
HDevp.h70 # define EVP_PKEY_SM2 NID_sm2 macro
/freebsd-head/crypto/openssl/apps/
HDspeed.c3049 st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL in speed_main()
/freebsd-head/crypto/openssl/
HDCHANGES.md1734 automatically become EVP_PKEY_SM2 rather than EVP_PKEY_EC.