Home
last modified time | relevance | path

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

/third_party/openssl/test/
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()
/third_party/openssl/crypto/ec/
Dec_ameth.c400 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_SM2) { in ec_pkey_ctrl()
702 EVP_PKEY_SM2,
/third_party/openssl/crypto/evp/
Dp_lib.c724 case EVP_PKEY_SM2: in detect_foreign_key()
754 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign()
765 type = EVP_PKEY_SM2; in EVP_PKEY_assign()
766 else if(curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign()
1013 { EVP_PKEY_SM2, "SM2" },
/third_party/openssl/providers/implementations/encode_decode/
Ddecode_der2key.c411 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check()
477 # define sm2_evp_type EVP_PKEY_SM2
Dencode_key2any.c743 # define sm2_evp_type EVP_PKEY_SM2
/third_party/openssl/doc/man3/
DEVP_PKEY_CTX_new.pod86 B<EVP_PKEY_DH>, B<EVP_PKEY_EC>, B<EVP_PKEY_SM2>, B<EVP_PKEY_X25519>,
DEVP_PKEY_set1_RSA.pod168 type to B<EVP_PKEY_SM2> in that case, instead of B<EVP_PKEY_EC>.
/third_party/openssl/crypto/
Dcore_namemap.c444 case EVP_PKEY_SM2: in get_legacy_pkey_meth_names()
/third_party/openssl/crypto/x509/
Dx_pubkey.c780 if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2) in d2i_EC_PUBKEY()
/third_party/openssl/doc/man7/
Dmigration_guide.pod374 EVP_PKEY_SM2 rather than EVP_PKEY_EC.
377 call C<EVP_PKEY_set_alias_type(pkey, EVP_PKEY_SM2)> to get SM2 computations.
380 to generate EVP_PKEY_SM2 parameters and keys. Applications must now generate
/third_party/openssl/ohos_lite/include/openssl/
Devp.h53 # define EVP_PKEY_SM2 NID_sm2 macro
/third_party/openssl/include/openssl/
Devp.h70 # define EVP_PKEY_SM2 NID_sm2 macro
/third_party/openssl/apps/
Dspeed.c2817 st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL in speed_main()
/third_party/openssl/
DCHANGES.md1334 automatically become EVP_PKEY_SM2 rather than EVP_PKEY_EC.