/openssl/providers/ |
H A D | encoders.inc | 67 ENCODER_TEXT("SM2", sm2, no), 116 ENCODER_w_structure("SM2", sm2, no, der, type_specific_no_pub), 117 ENCODER_w_structure("SM2", sm2, no, pem, type_specific_no_pub), 118 ENCODER("SM2", sm2, no, blob), 217 ENCODER_w_structure("SM2", sm2, no, der, EncryptedPrivateKeyInfo), 218 ENCODER_w_structure("SM2", sm2, no, pem, EncryptedPrivateKeyInfo), 219 ENCODER_w_structure("SM2", sm2, no, der, PrivateKeyInfo), 220 ENCODER_w_structure("SM2", sm2, no, pem, PrivateKeyInfo), 221 ENCODER_w_structure("SM2", sm2, no, der, SubjectPublicKeyInfo), 222 ENCODER_w_structure("SM2", sm2, no, pem, SubjectPublicKeyInfo),
|
H A D | decoders.inc | 72 DECODER_w_structure("SM2", der, PrivateKeyInfo, sm2, no), 73 DECODER_w_structure("SM2", der, SubjectPublicKeyInfo, sm2, no), 74 DECODER_w_structure("SM2", der, type_specific_no_pub, sm2, no),
|
/openssl/providers/implementations/encode_decode/ |
H A D | decode_der2key.c | 452 int sm2 = (EC_KEY_get_flags(key) & EC_FLAG_SM2_RANGE) != 0; in ec_check() local 454 if (sm2) in ec_check() 849 MAKE_DECODER("SM2", sm2, ec, PrivateKeyInfo); 850 MAKE_DECODER("SM2", sm2, ec, SubjectPublicKeyInfo); 851 MAKE_DECODER("SM2", sm2, sm2, type_specific_no_pub);
|
H A D | encode_key2any.c | 1325 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, der); 1344 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, type_specific_no_pub, pem); 1398 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, der); 1399 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, EncryptedPrivateKeyInfo, pem); 1400 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, PrivateKeyInfo, der); 1401 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, PrivateKeyInfo, pem); 1402 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, der); 1403 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SubjectPublicKeyInfo, pem); 1457 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SM2, der); 1458 MAKE_ENCODER(sm2, ec, EVP_PKEY_EC, SM2, pem);
|
H A D | encode_key2blob.c | 177 MAKE_BLOB_ENCODER(sm2, ec, PUBLIC_KEY);
|
H A D | encode_key2text.c | 871 MAKE_TEXT_ENCODER(sm2, ec);
|
/openssl/crypto/ec/ |
H A D | build.info | 34 IF[{- !$disabled{'sm2'} -}] 36 IF[{- !$disabled{'sm2-precomp'} -}] 138 IF[{- !$disabled{'sm2'} -}]
|
H A D | ec_key.c | 311 int sm2 = EC_KEY_get_flags(eckey) & EC_FLAG_SM2_RANGE ? 1 : 0; in ec_generate_key() local 343 if (sm2) { in ec_generate_key()
|
/openssl/providers/implementations/asymciphers/ |
H A D | build.info | 9 IF[{- !$disabled{"sm2"} -}]
|
/openssl/providers/common/der/ |
H A D | SM2.asn1 | 14 sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
|
H A D | build.info | 86 IF[{- !$disabled{sm2} -}] 115 IF[{- !$disabled{sm2} -}]
|
/openssl/util/ |
H A D | fix-includes.sed | 2 …gine.h|lhash.h|md32_common.h|objects.h|poly1305.h|sha.h|siphash.h|sm2err.h|sm2.h|sm4.h|sparse_arra…
|
/openssl/providers/implementations/signature/ |
H A D | build.info | 21 IF[{- !$disabled{sm2} -}]
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evpmd_sm3.txt | 16 # From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
|
H A D | evppkey_sm2.txt | 84 Ctrl = group:sm2
|
/openssl/crypto/objects/ |
H A D | obj_xref.txt | 72 SM2_with_SM3 sm3 sm2
|
H A D | obj_mac.num | 1172 sm2 1172
|
/openssl/doc/man7/ |
H A D | EVP_PKEY-SM2.pod | 59 Currently, the only valid algorithm name is B<sm2>.
|
/openssl/.github/workflows/ |
H A D | run-checker-daily.yml | 108 no-sm2, 109 no-sm2-precomp,
|
/openssl/providers/implementations/keymgmt/ |
H A D | ec_kmgmt.c | 639 int common_get_params(void *key, OSSL_PARAM params[], int sm2) in common_get_params() argument 718 if (!sm2) { in common_get_params() 729 if (!sm2) { in common_get_params()
|
/openssl/crypto/err/ |
H A D | openssl.ec | 39 L SM2 NONE crypto/sm2/sm2_err.c include/cry…
|
/openssl/crypto/ |
H A D | build.info | 7 seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \
|
/openssl/doc/man1/ |
H A D | openssl-req.pod.in | 681 openssl ecparam -genkey -name SM2 -out sm2.key 682 openssl req -new -key sm2.key -out sm2.csr -sm3 -sigopt "distid:1234567812345678" 686 openssl req -verify -in sm2.csr -sm3 -vfyopt "distid:1234567812345678"
|
H A D | openssl-pkeyutl.pod.in | 478 openssl pkeyutl -sign -in file -inkey sm2.key -out sig -rawin -digest sm3 \ 483 openssl pkeyutl -verify -certin -in file -inkey sm2.cert -sigfile sig \
|
/openssl/apps/ |
H A D | speed.c | 112 int sm2; member 2172 = seconds.sm2 = seconds.ffdh in speed_main() 3817 sm2_curves[testnum].bits, seconds.sm2); in speed_main() 3846 sm2_curves[testnum].bits, seconds.sm2); in speed_main()
|