From 30c4df16f27afa66e561f82914f0fee1acce7b9e Mon Sep 17 00:00:00 2001 From: leongross Date: Tue, 23 Apr 2024 15:55:06 +0200 Subject: [PATCH] add aes generic aliases --- compiler/alias.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/alias.go b/compiler/alias.go index 9490d84d9a..b0191a7a11 100644 --- a/compiler/alias.go +++ b/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",