Browse Source

add aes generic aliases

pull/4268/head
leongross 7 months ago
committed by Ron Evans
parent
commit
30c4df16f2
  1. 4
      compiler/alias.go

4
compiler/alias.go

@ -24,6 +24,10 @@ var stdlibAliases = map[string]string{
"crypto/sha256.block": "crypto/sha256.blockGeneric",
"crypto/sha512.blockAMD64": "crypto/sha512.blockGeneric",
// AES
"crypto/aes.decryptBlockAsm": "crypto/aes.decryptBlock",
"crypto/aes.encryptBlockAsm": "crypto/aes.encryptBlock",
// math package
"math.archHypot": "math.hypot",
"math.archMax": "math.max",

Loading…
Cancel
Save