summaryrefslogtreecommitdiffstats
path: root/crypto/aes
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-05-18 17:05:24 +0000
committerAndy Polyakov <appro@openssl.org>2011-05-18 17:05:24 +0000
commitfb2f3411eae3918c6beffb4b810656df963091e3 (patch)
tree29495db3cbce6b60e025cae741c8072fcbe748f7 /crypto/aes
parentc30a2505e27eb7dd8108e749a8d32032e0c0475c (diff)
aesni-x86_64.pl: make it compile on MacOS X.
Diffstat (limited to 'crypto/aes')
-rw-r--r--crypto/aes/asm/aesni-x86_64.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/aes/asm/aesni-x86_64.pl b/crypto/aes/asm/aesni-x86_64.pl
index 8689ad99b7..4602068ffc 100644
--- a/crypto/aes/asm/aesni-x86_64.pl
+++ b/crypto/aes/asm/aesni-x86_64.pl
@@ -975,7 +975,7 @@ $code.=<<___;
.align 16
${PREFIX}_set_decrypt_key:
.byte 0x48,0x83,0xEC,0x08 # sub rsp,8
- call _aesni_set_encrypt_key
+ call __aesni_set_encrypt_key
shl \$4,$bits # rounds-1 after _aesni_set_encrypt_key
test %eax,%eax
jnz .Ldec_key_ret
@@ -1024,7 +1024,7 @@ $code.=<<___;
.type ${PREFIX}_set_encrypt_key,\@abi-omnipotent
.align 16
${PREFIX}_set_encrypt_key:
-_aesni_set_encrypt_key:
+__aesni_set_encrypt_key:
.byte 0x48,0x83,0xEC,0x08 # sub rsp,8
mov \$-1,%rax
test $inp,$inp