go-randomx/asm/aes.go
DataHoarder 9728a1073b
All checks were successful
continuous-integration/drone/push Build is passing
Support x86_64 aesenc/aesdec
2024-04-18 10:53:57 +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)
}