From df27a3513753ece98b0dc52d5a9055727e13d10c Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 17 Mar 2012 16:06:31 +0000 Subject: [PATCH] vpaes-x86_64.pl: out-of-date Apple assembler fails to calculate distance between local labels. PR: 2762 --- crypto/aes/asm/vpaes-x86_64.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/aes/asm/vpaes-x86_64.pl b/crypto/aes/asm/vpaes-x86_64.pl index 0254702230..a6d8d02e75 100644 --- a/crypto/aes/asm/vpaes-x86_64.pl +++ b/crypto/aes/asm/vpaes-x86_64.pl @@ -263,7 +263,7 @@ _vpaes_decrypt_core: pshufb %xmm2, %xmm4 # 4 = sbou pxor %xmm0, %xmm4 # 4 = sb1u + k movdqa 0x70(%r10), %xmm0 # 0 : sbot - movdqa .Lk_sr-.Lk_dsbd(%r11), %xmm2 + movdqa -0x160(%r11), %xmm2 # .Lk_sr-.Lk_dsbd=-0x160 pshufb %xmm3, %xmm0 # 0 = sb1t pxor %xmm4, %xmm0 # 0 = A pshufb %xmm2, %xmm0 -- 2.25.1