Home
last modified time | relevance | path

Searched refs:sm2 (Results 1 - 15 of 15) sorted by relevance

/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c1327 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, der);
1346 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, pem);
1400 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, der);
1401 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, pem);
1402 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, PrivateKeyInfo, der);
1403 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, PrivateKeyInfo, pem);
1404 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, der);
1405 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, pem);
1457 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SM2, der);
1458 MAKE_ENCODER(sm2, e
[all...]
H A Ddecode_der2key.c413 int sm2 = (EC_KEY_get_flags(key) & EC_FLAG_SM2_RANGE) != 0; in ec_check() local
415 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check()
788 MAKE_DECODER("SM2", sm2, ec, PrivateKeyInfo);
789 MAKE_DECODER("SM2", sm2, ec, SubjectPublicKeyInfo);
H A Dencode_key2blob.c177 MAKE_BLOB_ENCODER(sm2, ec, PUBLIC_KEY);
H A Dencode_key2text.c868 MAKE_TEXT_ENCODER(sm2, ec);
/third_party/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c1316 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, der);
1335 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, pem);
1389 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, der);
1390 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, pem);
1391 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, PrivateKeyInfo, der);
1392 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, PrivateKeyInfo, pem);
1393 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, der);
1394 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, pem);
1446 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SM2, der);
1447 MAKE_ENCODER(sm2, e
[all...]
H A Ddecode_der2key.c409 int sm2 = (EC_KEY_get_flags(key) & EC_FLAG_SM2_RANGE) != 0; in ec_check() local
411 return sm2 == (ctx->desc->evp_type == EVP_PKEY_SM2); in ec_check()
784 MAKE_DECODER("SM2", sm2, ec, PrivateKeyInfo);
785 MAKE_DECODER("SM2", sm2, ec, SubjectPublicKeyInfo);
H A Dencode_key2blob.c177 MAKE_BLOB_ENCODER(sm2, ec, PUBLIC_KEY);
H A Dencode_key2text.c881 MAKE_TEXT_ENCODER(sm2, ec);
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_eu.h1487 brw_mdc_sm2_exec_size(uint32_t sm2) in brw_mdc_sm2_exec_size() argument
1489 assert(sm2 <= 1); in brw_mdc_sm2_exec_size()
1490 return 8 << sm2; in brw_mdc_sm2_exec_size()
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c32 # include "crypto/sm2.h"
636 int common_get_params(void *key, OSSL_PARAM params[], int sm2) in common_get_params() argument
715 if (!sm2) { in common_get_params()
726 if (!sm2) { in common_get_params()
1025 if ((gctx->group_name = OPENSSL_strdup("sm2")) != NULL) in sm2_gen_init()
/third_party/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c32 # include "crypto/sm2.h"
636 int common_get_params(void *key, OSSL_PARAM params[], int sm2) in common_get_params() argument
715 if (!sm2) { in common_get_params()
726 if (!sm2) { in common_get_params()
1025 if ((gctx->group_name = OPENSSL_strdup("sm2")) != NULL) in sm2_gen_init()
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_key.c260 int sm2 = EC_KEY_get_flags(eckey) & EC_FLAG_SM2_RANGE ? 1 : 0; in ec_generate_key() local
292 if (sm2) { in ec_generate_key()
/third_party/openssl/crypto/ec/
H A Dec_key.c260 int sm2 = EC_KEY_get_flags(eckey) & EC_FLAG_SM2_RANGE ? 1 : 0; in ec_generate_key() local
292 if (sm2) { in ec_generate_key()
/third_party/node/deps/openssl/openssl/apps/
H A Dspeed.c96 int sm2; member
1621 = seconds.sm2 = seconds.ffdh = atoi(opt_arg()); in speed_main()
1729 if (strcmp(algo, "sm2") == 0) { in speed_main()
2893 sm2_curves[testnum].bits, seconds.sm2); in speed_main()
2923 sm2_curves[testnum].bits, seconds.sm2); in speed_main()
/third_party/openssl/apps/
H A Dspeed.c96 int sm2; member
1607 = seconds.sm2 = seconds.ffdh = atoi(opt_arg()); in speed_main()
1715 if (strcmp(algo, "sm2") == 0) { in speed_main()
2879 sm2_curves[testnum].bits, seconds.sm2); in speed_main()
2909 sm2_curves[testnum].bits, seconds.sm2); in speed_main()

Completed in 30 milliseconds