提交 fb2f3411 编写于 作者: A Andy Polyakov

aesni-x86_64.pl: make it compile on MacOS X.

上级 c30a2505
...@@ -975,7 +975,7 @@ $code.=<<___; ...@@ -975,7 +975,7 @@ $code.=<<___;
.align 16 .align 16
${PREFIX}_set_decrypt_key: ${PREFIX}_set_decrypt_key:
.byte 0x48,0x83,0xEC,0x08 # sub rsp,8 .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 shl \$4,$bits # rounds-1 after _aesni_set_encrypt_key
test %eax,%eax test %eax,%eax
jnz .Ldec_key_ret jnz .Ldec_key_ret
...@@ -1024,7 +1024,7 @@ $code.=<<___; ...@@ -1024,7 +1024,7 @@ $code.=<<___;
.type ${PREFIX}_set_encrypt_key,\@abi-omnipotent .type ${PREFIX}_set_encrypt_key,\@abi-omnipotent
.align 16 .align 16
${PREFIX}_set_encrypt_key: ${PREFIX}_set_encrypt_key:
_aesni_set_encrypt_key: __aesni_set_encrypt_key:
.byte 0x48,0x83,0xEC,0x08 # sub rsp,8 .byte 0x48,0x83,0xEC,0x08 # sub rsp,8
mov \$-1,%rax mov \$-1,%rax
test $inp,$inp test $inp,$inp
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册