-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译已通过,但没有发现sm2 与 sm4的命令 #6
Comments
现在支持sm2 的加解密吗?能稍微说明下使用吗? |
test文件夹下有相关的测试程序sm2test可以参考
|
通过以下语句 |
感谢支持!
|
关于SM2、SM4命令:GmSSL命令行的pkey、genpkey、pkeyutl、dgst、enc等命令将sm2、sm3、sms4等算法名称作为参数,因此不会有独立的sm2、sm3、sms4命令出现。目前sm3、sms4可以通过dgst和enc命令调用,pkey系列命令在后面的更新中会支持SM2。 |
非常感谢!借助您开源的GMSSL已经实现了SM2所需的加解密功能。谢谢! |
Fix a segfault for test case #6 (cms)
您好,编译通过了。但是并没有发现sm2 与 sm4的命令,请问有稍微详细的使用说明吗?十分感谢!
GmSSL> ?
openssl:Error: '?' is an invalid command.
Standard commands
asn1parse ca ciphers cms
crl crl2pkcs7 dgst dh
dhparam dsa dsaparam ec
ecparam enc engine errstr
gendh gendsa genpkey genrsa
nseq ocsp passwd pkcs12
pkcs7 pkcs8 pkey pkeyparam
pkeyutl prime rand req
rsa rsautl s_client s_server
s_time sess_id smime speed
spkac srp ts verify
version x509
Message Digest commands (see the `dgst' command for more details)
md4 md5 mdc2 rmd160
sha sha1 sm3
Cipher commands (see the `enc' command for more details)
aes-128-cbc aes-128-ecb aes-192-cbc aes-192-ecb
aes-256-cbc aes-256-ecb base64 bf
bf-cbc bf-cfb bf-ecb bf-ofb
camellia-128-cbc camellia-128-ecb camellia-192-cbc camellia-192-ecb
camellia-256-cbc camellia-256-ecb cast cast-cbc
cast5-cbc cast5-cfb cast5-ecb cast5-ofb
des des-cbc des-cfb des-ecb
des-ede des-ede-cbc des-ede-cfb des-ede-ofb
des-ede3 des-ede3-cbc des-ede3-cfb des-ede3-ofb
des-ofb des3 desx idea
idea-cbc idea-cfb idea-ecb idea-ofb
rc2 rc2-40-cbc rc2-64-cbc rc2-cbc
rc2-cfb rc2-ecb rc2-ofb rc4
rc4-40 seed seed-cbc seed-cfb
seed-ecb seed-ofb sms4 sms4-cbc
sms4-cfb sms4-ecb sms4-ofb zuc
The text was updated successfully, but these errors were encountered: