Home
last modified time | relevance | path

Searched refs:sm2 (Results 1 – 25 of 30) sorted by relevance

12

/third_party/openssl/providers/
Dencoders.inc65 ENCODER_TEXT("SM2", sm2, no),
114 ENCODER_w_structure("SM2", sm2, no, der, type_specific_no_pub),
115 ENCODER_w_structure("SM2", sm2, no, pem, type_specific_no_pub),
116 ENCODER("SM2", sm2, no, blob),
213 ENCODER_w_structure("SM2", sm2, no, der, EncryptedPrivateKeyInfo),
214 ENCODER_w_structure("SM2", sm2, no, pem, EncryptedPrivateKeyInfo),
215 ENCODER_w_structure("SM2", sm2, no, der, PrivateKeyInfo),
216 ENCODER_w_structure("SM2", sm2, no, pem, PrivateKeyInfo),
217 ENCODER_w_structure("SM2", sm2, no, der, SubjectPublicKeyInfo),
218 ENCODER_w_structure("SM2", sm2, no, pem, SubjectPublicKeyInfo),
Ddecoders.inc70 DECODER_w_structure("SM2", der, PrivateKeyInfo, sm2, no),
71 DECODER_w_structure("SM2", der, SubjectPublicKeyInfo, sm2, no),
/third_party/openssl/providers/implementations/encode_decode/
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, ec, EVP_PKEY_EC, SM2, pem);
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);
Dencode_key2blob.c177 MAKE_BLOB_ENCODER(sm2, ec, PUBLIC_KEY);
Dencode_key2text.c881 MAKE_TEXT_ENCODER(sm2, ec);
/third_party/openssl/providers/common/der/
Dbuild.info86 IF[{- !$disabled{sm2} -}]
113 IF[{- !$disabled{sm2} -}]
DSM2.asn114 sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
/third_party/openssl/providers/implementations/asymciphers/
Dbuild.info9 IF[{- !$disabled{"sm2"} -}]
/third_party/openssl/util/
Dfix-includes.sed2 …gine.h|lhash.h|md32_common.h|objects.h|poly1305.h|sha.h|siphash.h|sm2err.h|sm2.h|sm4.h|sparse_arra…
/third_party/openssl/providers/implementations/signature/
Dbuild.info18 IF[{- !$disabled{sm2} -}]
/third_party/openssl/test/recipes/30-test_evp_data/
Devpmd_sm3.txt16 # From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
Devppkey_sm2.txt84 Ctrl = group:sm2
/third_party/openssl/crypto/objects/
Dobj_xref.txt68 SM2_with_SM3 sm3 sm2
Dobj_mac.num1172 sm2 1172
/third_party/openssl/doc/man7/
DEVP_PKEY-SM2.pod56 Currently, the only valid algorithm name is B<sm2>.
/third_party/openssl/providers/implementations/keymgmt/
Dec_kmgmt.c628 int common_get_params(void *key, OSSL_PARAM params[], int sm2) in common_get_params() argument
707 if (!sm2) { in common_get_params()
718 if (!sm2) { in common_get_params()
/third_party/openssl/crypto/
Dbuild.info7 seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \
/third_party/openssl/crypto/ec/
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/mesa3d/src/intel/compiler/
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/openssl/crypto/err/
Dopenssl.ec39 L SM2 NONE crypto/sm2/sm2_err.c include/cry…
/third_party/openssl/doc/man1/
Dopenssl-req.pod.in601 openssl ecparam -genkey -name SM2 -out sm2.key
602 openssl req -new -key sm2.key -out sm2.csr -sm3 -sigopt "distid:1234567812345678"
606 openssl req -verify -in sm2.csr -sm3 -vfyopt "distid:1234567812345678"
Dopenssl-pkeyutl.pod.in391 openssl pkeyutl -sign -in file -inkey sm2.key -out sig -rawin -digest sm3 \
396 openssl pkeyutl -verify -certin -in file -inkey sm2.cert -sigfile sig \
/third_party/openssl/apps/
Dspeed.c96 int sm2; member
1607 = seconds.sm2 = seconds.ffdh = atoi(opt_arg()); in speed_main()
2879 sm2_curves[testnum].bits, seconds.sm2); in speed_main()
2909 sm2_curves[testnum].bits, seconds.sm2); in speed_main()
/third_party/openssl/
DBUILD.gn1318 "crypto/sm2/sm2_crypt.c",
1319 "crypto/sm2/sm2_err.c",
1320 "crypto/sm2/sm2_key.c",
1321 "crypto/sm2/sm2_sign.c",

12