Home
last modified time | relevance | path

Searched refs:EVP_PKEY_SM2 (Results 1 - 24 of 24) sorted by relevance

/third_party/openssl/test/
H A Decdsatest.c209 * except SM2 curve if 'as' is equal to EVP_PKEY_SM2 in test_builtin()
215 } 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 in test_builtin()
[all...]
/third_party/node/deps/openssl/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.c2169 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2172 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2180 { NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2184 { NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2187 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2190 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2193 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2196 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2199 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2202 { GET, EVP_PKEY_SM2,
[all...]
H A Dp_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()
1003 * On a similar topic, EVP_PKEY_type(EVP_PKEY_SM2) will result in
1015 { EVP_PKEY_SM2, "SM2" },
/third_party/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.c2160 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2163 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2171 { NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2175 { NONE, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2178 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2181 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2184 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2187 { GET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2190 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2193 { GET, EVP_PKEY_SM2,
[all...]
H A 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()
1001 * On a similar topic, EVP_PKEY_type(EVP_PKEY_SM2) will result in
1013 { EVP_PKEY_SM2, "SM2" },
/third_party/node/deps/openssl/openssl/crypto/engine/
H A Deng_pkey.c92 case EVP_PKEY_SM2: in ENGINE_load_private_key()
/third_party/node/deps/openssl/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,
/third_party/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,
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c415 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check()
481 # define sm2_evp_type EVP_PKEY_SM2
/third_party/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c411 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check()
477 # define sm2_evp_type EVP_PKEY_SM2
H A Dencode_key2any.c743 # define sm2_evp_type EVP_PKEY_SM2
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dpkey.rs89 pub const SM2: Id = Id(ffi::EVP_PKEY_SM2);
/third_party/rust/crates/rust-openssl/openssl-sys/src/
H A Devp.rs14 pub const EVP_PKEY_SM2: c_int = NID_sm2; consts
/third_party/node/deps/openssl/openssl/crypto/
H A Dcore_namemap.c447 case EVP_PKEY_SM2: in get_legacy_pkey_meth_names()
/third_party/openssl/crypto/
H A Dcore_namemap.c444 case EVP_PKEY_SM2: in get_legacy_pkey_meth_names()
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx_pubkey.c804 if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2) in d2i_EC_PUBKEY()
/third_party/openssl/crypto/x509/
H A Dx_pubkey.c804 if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2) in d2i_EC_PUBKEY()
/third_party/openssl/ohos_lite/include/openssl/
H A Devp.h53 # define EVP_PKEY_SM2 NID_sm2 macro
/third_party/node/deps/openssl/openssl/include/openssl/
H A Devp.h70 # define EVP_PKEY_SM2 NID_sm2 macro
/third_party/openssl/include/openssl/
H A Devp.h70 # define EVP_PKEY_SM2 NID_sm2 macro
/third_party/node/deps/openssl/openssl/apps/
H A Dspeed.c2831 st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL in speed_main()
/third_party/openssl/apps/
H A Dspeed.c2817 st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL in speed_main()

Completed in 55 milliseconds