go-randomx/asm/aes.go
DataHoarder 14a10f544f
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Support x86_64 aesenc/aesdec and roundtrip mode
2024-04-18 11:38:55 +02:00

12 lines
201 B
Go

//go:build amd64 && !purego
package asm
func AESRoundEncrypt(state *[4]uint32, key *[4]uint32) {
aesenc(state, key)
}
func AESRoundDecrypt(state *[4]uint32, key *[4]uint32) {
aesdec(state, key)
}