Comments (6)
Speed up approx 70 %.
See #11 .
from gmsm.
the next step is to add support for _amd64.s
, optimize the core computation with assembly.
from gmsm.
thanks.
similar to DES, SM4 is slow compared with other block ciphers, especially AES.
Will keep this issue open and take some time to optimize this. And pull requests are welcome.
from gmsm.
#11 merged. thanks
from gmsm.
the speed is comparable to twofish now. 4x faster than 3des.
from gmsm.
performance improved in 1.1.0
from gmsm.
Related Issues (20)
- [BUG] GHASH逻辑错误造成GCM模式下tag错误 HOT 2
- sm2.Decompress方法的入残,该是什么格式的公钥? HOT 2
- 用node.js sm2加密,最新gmsm sm2无法解密 HOT 3
- 无法解析openssl和gmssl生成的sm2密钥,但是gmssl可以解析gmsm和openssl生成的 HOT 4
- 希望能支持ed25519和tls13
- 能否加一个zeroPadding,不知道咋写 HOT 1
- sm3 does not correctly implement hash.Hash
- 这个库还有人维护么?
- 兼容性问题
- 可以去掉conn.go第1304行的fmt.Println吗
- 请问 `gmtls/gmcredentials/testdata/` 路径下的证书、秘钥是如何生成的 HOT 1
- 握手失败
- 缺失方法导入公钥然后使用公钥加密
- 希望可以有tls的使用样例,以及一些问题反馈 HOT 2
- 压缩公钥方法第一位表示符和java的不一样 HOT 1
- 后端验签失败 HOT 1
- handshake error : remote error: tls: protocol version not supported
- Sm4GCM SM4 GCM 加解密模式gmsm/sm4/sm4_gcm与gmsm/gmtls中aead中gcm实现效果不一致 HOT 2
- sm2解密不会自动在密文前加04,别的库都会自动判断是否04开头,强烈库里自动封装好
- 关于Java调用 PKCS7信封+SM2实现的问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmsm.