Searched refs:EVP_PKEY_SM2 (Results 1 – 14 of 14) sorted by relevance
/openssl/test/ |
H A D | ecdsatest.c | 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 && !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 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 | 2225 { 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 D | p_lib.c | 732 case EVP_PKEY_SM2: in detect_foreign_key() 763 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign() 774 type = EVP_PKEY_SM2; in EVP_PKEY_assign() 775 else if(curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign() 1022 { EVP_PKEY_SM2, "SM2" },
|
/openssl/providers/implementations/encode_decode/ |
H A D | decode_der2key.c | 455 ret = ctx->desc->evp_type == EVP_PKEY_SM2 in ec_check() 458 ret = ctx->desc->evp_type != EVP_PKEY_SM2; in ec_check() 528 # define sm2_evp_type EVP_PKEY_SM2
|
/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,
|
/openssl/doc/man3/ |
H A D | EVP_PKEY_CTX_new.pod | 86 B<EVP_PKEY_DH>, B<EVP_PKEY_EC>, B<EVP_PKEY_SM2>, B<EVP_PKEY_X25519>,
|
H A D | EVP_PKEY_set1_RSA.pod | 174 type to B<EVP_PKEY_SM2> in that case, instead of B<EVP_PKEY_EC>.
|
/openssl/crypto/ |
H A D | core_namemap.c | 448 case EVP_PKEY_SM2: in get_legacy_pkey_meth_names()
|
/openssl/crypto/x509/ |
H A D | x_pubkey.c | 808 if (type == EVP_PKEY_EC || type == EVP_PKEY_SM2) in d2i_EC_PUBKEY()
|
/openssl/doc/man7/ |
H A D | ossl-guide-migration.pod | 421 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 D | evp.h | 71 # define EVP_PKEY_SM2 NID_sm2 macro
|
/openssl/apps/ |
H A D | speed.c | 3517 st = !((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SM2, NULL)) == NULL in speed_main()
|
/openssl/ |
H A D | CHANGES.md | 2643 automatically become EVP_PKEY_SM2 rather than EVP_PKEY_EC.
|
Completed in 102 milliseconds