mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-11 03:26:17 +08:00
Updated SM4性能优化 (markdown)
parent
5e817b98e8
commit
23a8fd397d
@ -157,7 +157,7 @@ XTS模式主要用于磁盘加密,不过基本没有用sm4直接作为磁盘
|
||||
BenchmarkSM4XTSEncrypt4K-6 59904 19820 ns/op 206.66 MB/s 64 B/op 1 allocs/op
|
||||
|
||||
# 和AES的比较
|
||||
相比而言,差距还是有点大,最大的是GCM seal/open, 有二十多倍(ARM64使用AVX2后,大概十倍多)。
|
||||
相比而言,差距还是有点大,最大的是GCM seal/open, 有二十多倍(AMD64使用AVX2后,大概十倍多)。
|
||||
|
||||
CPU: i5-8265U
|
||||
goos: windows
|
||||
|
Loading…
x
Reference in New Issue
Block a user