mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-11 03:26:17 +08:00
Updated Armv8.2 SM3和SM4 (markdown)
parent
b90163f688
commit
e1050e4122
@ -26,6 +26,7 @@ AESE指令相当于:
|
|||||||
1. ShiftRows(State)
|
1. ShiftRows(State)
|
||||||
1. SubBytes(State)
|
1. SubBytes(State)
|
||||||
|
|
||||||
|
```
|
||||||
go test -v -short -bench . -run=^$ ./...
|
go test -v -short -bench . -run=^$ ./...
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
@ -38,7 +39,7 @@ AESE指令相当于:
|
|||||||
BenchmarkExpand-2 2059227 582.7 ns/op
|
BenchmarkExpand-2 2059227 582.7 ns/op
|
||||||
PASS
|
PASS
|
||||||
ok github.com/emmansun/gmsm/sm4 5.595s
|
ok github.com/emmansun/gmsm/sm4 5.595s
|
||||||
|
```
|
||||||
## Reference
|
## Reference
|
||||||
SM3和SM4 CPU指令实现,找不到相关CPU环境,mark先。
|
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)
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user