Skip to content

Commit

Permalink
add aes generic aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
leongross authored and deadprogram committed May 14, 2024
1 parent fe27b67 commit 30c4df1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 30c4df1

Please sign in to comment.