/third_party/openssl/test/ |
H A D | ecdsatest.c | 209 * 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 D | ec_ctrl.c | 286 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; in EVP_PKEY_CTX_set_ec_paramgen_curve_nid()
|
H A D | ctrl_params_translate.c | 2169 { 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 D | p_lib.c | 725 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 D | ec_ctrl.c | 286 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; in EVP_PKEY_CTX_set_ec_paramgen_curve_nid()
|
H A D | ctrl_params_translate.c | 2160 { 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 D | p_lib.c | 724 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 D | eng_pkey.c | 92 case EVP_PKEY_SM2: in ENGINE_load_private_key()
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ec_ameth.c | 400 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_SM2) { in ec_pkey_ctrl() 704 EVP_PKEY_SM2,
|
/third_party/openssl/crypto/ec/ |
H A D | ec_ameth.c | 400 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 D | decode_der2key.c | 415 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 D | decode_der2key.c | 411 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check() 477 # define sm2_evp_type EVP_PKEY_SM2
|
H A D | encode_key2any.c | 743 # define sm2_evp_type EVP_PKEY_SM2
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | pkey.rs | 89 pub const SM2: Id = Id(ffi::EVP_PKEY_SM2);
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
H A D | evp.rs | 14 pub const EVP_PKEY_SM2: c_int = NID_sm2; consts
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | core_namemap.c | 447 case EVP_PKEY_SM2: in get_legacy_pkey_meth_names()
|
/third_party/openssl/crypto/ |
H A D | core_namemap.c | 444 case EVP_PKEY_SM2: in get_legacy_pkey_meth_names()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x_pubkey.c | 804 if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2) in d2i_EC_PUBKEY()
|
/third_party/openssl/crypto/x509/ |
H A D | x_pubkey.c | 804 if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2) in d2i_EC_PUBKEY()
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | evp.h | 53 # define EVP_PKEY_SM2 NID_sm2 macro
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | evp.h | 70 # define EVP_PKEY_SM2 NID_sm2 macro
|
/third_party/openssl/include/openssl/ |
H A D | evp.h | 70 # define EVP_PKEY_SM2 NID_sm2 macro
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | speed.c | 2831 st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL in speed_main()
|
/third_party/openssl/apps/ |
H A D | speed.c | 2817 st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL in speed_main()
|