mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
Merge branch 'main' of https://github.com/emmansun/gmsm into main
This commit is contained in:
commit
97898da5e0
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[](https://travis-ci.org/emmansun/gmsm) [](https://godoc.org/github.com/emmansun/gmsm) [](https://github.com/emmansun/gmsm/releases)
|
[](https://travis-ci.org/emmansun/gmsm) [](https://godoc.org/github.com/emmansun/gmsm) [](https://github.com/emmansun/gmsm/releases)
|
||||||
|
|
||||||
This is a **SM2 sm2p256v1** implementation whose performance is similar like golang native NIST P256 under **amd64**, for implementation detail, please refer https://github.com/emmansun/gmsm/wiki.
|
This is a **SM2 sm2p256v1** implementation whose performance is similar like golang native NIST P256 under **amd64**, for implementation detail, please refer [SM2实现细节](https://github.com/emmansun/gmsm/wiki/SM2%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96).
|
||||||
|
|
||||||
This is also a **SM3** implementation whose performance is similar like golang native SHA 256 under **amd64**, for implementation detail, please refer [SM3性能优化](https://github.com/emmansun/gmsm/wiki/SM3%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96).
|
This is also a **SM3** implementation whose performance is similar like golang native SHA 256 under **amd64**, for implementation detail, please refer [SM3性能优化](https://github.com/emmansun/gmsm/wiki/SM3%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96).
|
||||||
|
|
||||||
@ -96,6 +96,6 @@ For **SM4** implementation, AES-NI is used under **amd64**, for detail please re
|
|||||||
pkg: github.com/emmansun/gmsm/sm4
|
pkg: github.com/emmansun/gmsm/sm4
|
||||||
BenchmarkEncrypt-6 5881989 206 ns/op 77.75 MB/s 0 B/op 0 allocs/op
|
BenchmarkEncrypt-6 5881989 206 ns/op 77.75 MB/s 0 B/op 0 allocs/op
|
||||||
BenchmarkDecrypt-6 5853994 204 ns/op 78.45 MB/s 0 B/op 0 allocs/op
|
BenchmarkDecrypt-6 5853994 204 ns/op 78.45 MB/s 0 B/op 0 allocs/op
|
||||||
BenchmarkExpand-6 2583012 469 ns/op 16 B/op 1 allocs/op
|
BenchmarkExpand-6 5985129 200 ns/op 0 B/op 0 allocs/op
|
||||||
PASS
|
PASS
|
||||||
ok github.com/emmansun/gmsm/sm4 6.193s
|
ok github.com/emmansun/gmsm/sm4 6.193s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user