add aes generic aliases

This commit is contained in:
leongross
2024-04-23 15:55:06 +02:00
committed by Ron Evans
parent fe27b674cd
commit 30c4df16f2
+4
View File
@@ -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",