Skip to content

Commit 30c4df1

Browse files
leongrossdeadprogram
authored andcommitted
add aes generic aliases
1 parent fe27b67 commit 30c4df1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compiler/alias.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ var stdlibAliases = map[string]string{
2424
"crypto/sha256.block": "crypto/sha256.blockGeneric",
2525
"crypto/sha512.blockAMD64": "crypto/sha512.blockGeneric",
2626

27+
// AES
28+
"crypto/aes.decryptBlockAsm": "crypto/aes.decryptBlock",
29+
"crypto/aes.encryptBlockAsm": "crypto/aes.encryptBlock",
30+
2731
// math package
2832
"math.archHypot": "math.hypot",
2933
"math.archMax": "math.max",

0 commit comments

Comments
 (0)