Home
last modified time | relevance | path

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

/openssl/test/
H A Decdsatest.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()
/openssl/crypto/evp/
H A Dec_ctrl.c286 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; in EVP_PKEY_CTX_set_ec_paramgen_curve_nid()
H A Dctrl_params_translate.c2225 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2228 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2236 { NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2240 { NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2243 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2246 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2249 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2252 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2255 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2258 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
H A Dp_lib.c733 case EVP_PKEY_SM2: in detect_foreign_key()
764 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign()
775 type = EVP_PKEY_SM2; in EVP_PKEY_assign()
776 else if(curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign()
1023 { EVP_PKEY_SM2, "SM2" },
/openssl/crypto/ec/
H A Dec_ameth.c400 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_SM2) { in ec_pkey_ctrl()
704 EVP_PKEY_SM2,
/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c441 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check()
509 # define sm2_evp_type EVP_PKEY_SM2
/openssl/doc/man3/
H A DEVP_PKEY_CTX_new.pod86 B<EVP_PKEY_DH>, B<EVP_PKEY_EC>, B<EVP_PKEY_SM2>, B<EVP_PKEY_X25519>,
H A DEVP_PKEY_set1_RSA.pod174 type to B<EVP_PKEY_SM2> in that case, instead of B<EVP_PKEY_EC>.
/openssl/crypto/
H A Dcore_namemap.c449 case EVP_PKEY_SM2: in get_legacy_pkey_meth_names()
/openssl/crypto/x509/
H A Dx_pubkey.c808 if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2) in d2i_EC_PUBKEY()
/openssl/doc/man7/
H A Dossl-guide-migration.pod421 EVP_PKEY_SM2 rather than EVP_PKEY_EC.
424 call C<EVP_PKEY_set_alias_type(pkey, EVP_PKEY_SM2)> to get SM2 computations.
427 to generate EVP_PKEY_SM2 parameters and keys. Applications must now generate
/openssl/include/openssl/
H A Devp.h71 # define EVP_PKEY_SM2 NID_sm2 macro
/openssl/apps/
H A Dspeed.c3485 st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL in speed_main()
/openssl/
H A DCHANGES.md2517 automatically become EVP_PKEY_SM2 rather than EVP_PKEY_EC.

Completed in 147 milliseconds