diff --git a/x86/aes-decrypt.asm b/x86/aes-decrypt.asm
index c9ac6109b914e1a5fad8c5e87b9f1268de587a6c..d36134d209b75d582776825eae3593b82e695f6c 100644
--- a/x86/aes-decrypt.asm
+++ b/x86/aes-decrypt.asm
@@ -24,9 +24,9 @@ C MA 02111-1307, USA.
 	C 	      uint8_t *src)
 	.text
 	.align 16
-	.globl aes_decrypt
-	.type	aes_decrypt,@function
-aes_decrypt:
+	.globl nettle_aes_decrypt
+	.type  nettle_aes_decrypt,@function
+nettle_aes_decrypt:
 	C save all registers that need to be saved
 	pushl	%ebx		C  16(%esp)
 	pushl	%ebp		C  12(%esp)
diff --git a/x86/aes-encrypt.asm b/x86/aes-encrypt.asm
index 347318ee1f64be8cdfb6c1af70815718e93efc38..3bd171e8dc63c9836446a19d9ebd5b0f4fde478a 100644
--- a/x86/aes-encrypt.asm
+++ b/x86/aes-encrypt.asm
@@ -35,9 +35,9 @@ C %edi is a temporary, often used as an accumulator.
 	C 	      uint8_t *src)
 	.text
 	.align 16
-	.globl aes_encrypt
-	.type	aes_encrypt,@function
-aes_encrypt:
+	.globl nettle_aes_encrypt
+	.type  nettle_aes_encrypt,@function
+nettle_aes_encrypt:
 	C save all registers that need to be saved
 	pushl	%ebx		C  16(%esp)
 	pushl	%ebp		C  12(%esp)