Home
last modified time | relevance | path

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

12

/openssl/providers/
H A Dencoders.inc67 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 Ddecoders.inc72 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 Ddecode_der2key.c452 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 Dencode_key2any.c1325 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 Dencode_key2blob.c177 MAKE_BLOB_ENCODER(sm2, ec, PUBLIC_KEY);
H A Dencode_key2text.c871 MAKE_TEXT_ENCODER(sm2, ec);
/openssl/crypto/ec/
H A Dbuild.info34 IF[{- !$disabled{'sm2'} -}]
36 IF[{- !$disabled{'sm2-precomp'} -}]
138 IF[{- !$disabled{'sm2'} -}]
H A Dec_key.c311 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 Dbuild.info9 IF[{- !$disabled{"sm2"} -}]
/openssl/providers/common/der/
H A DSM2.asn114 sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
H A Dbuild.info86 IF[{- !$disabled{sm2} -}]
115 IF[{- !$disabled{sm2} -}]
/openssl/util/
H A 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…
/openssl/providers/implementations/signature/
H A Dbuild.info21 IF[{- !$disabled{sm2} -}]
/openssl/test/recipes/30-test_evp_data/
H A Devpmd_sm3.txt16 # From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
H A Devppkey_sm2.txt84 Ctrl = group:sm2
/openssl/crypto/objects/
H A Dobj_xref.txt72 SM2_with_SM3 sm3 sm2
H A Dobj_mac.num1172 sm2 1172
/openssl/doc/man7/
H A DEVP_PKEY-SM2.pod59 Currently, the only valid algorithm name is B<sm2>.
/openssl/.github/workflows/
H A Drun-checker-daily.yml108 no-sm2,
109 no-sm2-precomp,
/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c639 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 Dopenssl.ec39 L SM2 NONE crypto/sm2/sm2_err.c include/cry…
/openssl/crypto/
H A Dbuild.info7 seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \
/openssl/doc/man1/
H A Dopenssl-req.pod.in681 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 Dopenssl-pkeyutl.pod.in478 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 Dspeed.c112 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()

Completed in 58 milliseconds

12