Home
last modified time | relevance | path

Searched refs:sm2_id (Results 1 – 3 of 3) sorted by relevance

/openssl/test/
H A Decdsatest.c179 static const char sm2_id[] = { 1, 2, 3, 4, 'l', 'e', 't', 't', 'e', 'r' }; in set_sm2_id() local
183 || !TEST_int_gt(EVP_PKEY_CTX_set1_id(pctx, sm2_id, sizeof(sm2_id)), 0)) in set_sm2_id()
H A Devp_extra_test.c2392 uint8_t sm2_id[] = {1, 2, 3, 4, 'l', 'e', 't', 't', 'e', 'r'}; in test_EVP_SM2() local
2440 if (!TEST_int_gt(EVP_PKEY_CTX_set1_id(sctx, sm2_id, sizeof(sm2_id)), 0)) in test_EVP_SM2()
2462 if (!TEST_int_gt(EVP_PKEY_CTX_set1_id(sctx, sm2_id, sizeof(sm2_id)), 0)) in test_EVP_SM2()
/openssl/crypto/encode_decode/
H A Ddecoder_pkey.c212 int sm2_id; /* if keytype_resolved is set and EC, SM2 name_id; else 0 */ member
329 data->sm2_id = ossl_namemap_name2num(namemap, "SM2"); in check_keymgmt()
344 && keymgmt->name_id != data->sm2_id) in check_keymgmt()

Completed in 21 milliseconds