mirror of
https://github.com/emmansun/gmsm.git
synced 2025-07-07 12:16:19 +08:00
Updated SM4性能优化 (markdown)
parent
c3323ef4ce
commit
93e9994f01
@ -55,4 +55,9 @@ Go语言的对称加密实现分离了加密模式和Block级别的加密,同
|
|||||||
PASS
|
PASS
|
||||||
ok github.com/emmansun/gmsm/sm4_test 18.863s
|
ok github.com/emmansun/gmsm/sm4_test 18.863s
|
||||||
|
|
||||||
接下来按模式进行多block并行优化。
|
接下来按模式进行多block并行优化。
|
||||||
|
|
||||||
|
# CBC模式解密并行优化
|
||||||
|
没有写一个单独的asm函数,偷懒。
|
||||||
|
|
||||||
|
BenchmarkSM4CBCDecrypt1K-6 292531 4103 ns/op 249.56 MB/s 0 B/op 0 allocs/op
|
Loading…
x
Reference in New Issue
Block a user