Updated Armv8.2 SM3和SM4 (markdown)

Sun Yimin 2022-01-01 21:23:38 +08:00
parent b90163f688
commit e1050e4122

@ -26,6 +26,7 @@ AESE指令相当于
1. ShiftRows(State)
1. SubBytes(State)
```
go test -v -short -bench . -run=^$ ./...
goos: linux
goarch: arm64
@ -38,7 +39,7 @@ AESE指令相当于
BenchmarkExpand-2 2059227 582.7 ns/op
PASS
ok github.com/emmansun/gmsm/sm4 5.595s
```
## Reference
SM3和SM4 CPU指令实现找不到相关CPU环境mark先。
1. [Summary of A64 cryptographic instructions](https://developer.arm.com/documentation/100076/0100/a64-instruction-set-reference/a64-cryptographic-algorithms/a64-cryptographic-instructions?lang=en)