FreeBSD Bugzilla – Attachment 116959 Details for
Bug 158994
Fix security/libgcrypt 1.5.0 build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.06 KB, created by
Dimitry Andric
on 2011-07-17 13:10:10 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2011-07-17 13:10:10 UTC
Size:
3.06 KB
patch
obsolete
>Index: security/libgcrypt/files/patch-cipher-rijndael.c >=================================================================== >RCS file: security/libgcrypt/files/patch-cipher-rijndael.c >diff -N security/libgcrypt/files/patch-cipher-rijndael.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ security/libgcrypt/files/patch-cipher-rijndael.c 16 Jul 2011 20:31:25 -0000 >@@ -0,0 +1,61 @@ >+--- cipher/rijndael.c.orig 2011-02-22 15:57:59.000000000 +0100 >++++ cipher/rijndael.c 2011-07-16 22:26:35.000000000 +0200 >+@@ -844,13 +844,13 @@ do_aesni_cfb (const RIJNDAEL_context *ct >+ "movdqa 0x90(%%esi), %%xmm1\n\t" >+ aesenc_xmm1_xmm0 >+ "movdqa 0xa0(%%esi), %%xmm1\n\t" >+- "cmp $10, %[rounds]\n\t" >++ "cmpq $10, %[rounds]\n\t" >+ "jz .Lenclast%=\n\t" >+ aesenc_xmm1_xmm0 >+ "movdqa 0xb0(%%esi), %%xmm1\n\t" >+ aesenc_xmm1_xmm0 >+ "movdqa 0xc0(%%esi), %%xmm1\n\t" >+- "cmp $12, %[rounds]\n\t" >++ "cmpq $12, %[rounds]\n\t" >+ "jz .Lenclast%=\n\t" >+ aesenc_xmm1_xmm0 >+ "movdqa 0xd0(%%esi), %%xmm1\n\t" >+@@ -862,7 +862,7 @@ do_aesni_cfb (const RIJNDAEL_context *ct >+ "movdqu %[src], %%xmm1\n\t" /* Save input. */ >+ "pxor %%xmm1, %%xmm0\n\t" /* xmm0 = input ^ IV */ >+ >+- "cmp $1, %[decrypt]\n\t" >++ "cmpq $1, %[decrypt]\n\t" >+ "jz .Ldecrypt_%=\n\t" >+ "movdqa %%xmm0, %[iv]\n\t" /* [encrypt] Store IV. */ >+ "jmp .Lleave_%=\n" >+@@ -923,13 +923,13 @@ do_aesni_ctr (const RIJNDAEL_context *ct >+ "movdqa 0x90(%%esi), %%xmm1\n\t" >+ aesenc_xmm1_xmm0 >+ "movdqa 0xa0(%%esi), %%xmm1\n\t" >+- "cmp $10, %[rounds]\n\t" >++ "cmpq $10, %[rounds]\n\t" >+ "jz .Lenclast%=\n\t" >+ aesenc_xmm1_xmm0 >+ "movdqa 0xb0(%%esi), %%xmm1\n\t" >+ aesenc_xmm1_xmm0 >+ "movdqa 0xc0(%%esi), %%xmm1\n\t" >+- "cmp $12, %[rounds]\n\t" >++ "cmpq $12, %[rounds]\n\t" >+ "jz .Lenclast%=\n\t" >+ aesenc_xmm1_xmm0 >+ "movdqa 0xd0(%%esi), %%xmm1\n\t" >+@@ -1050,7 +1050,7 @@ do_aesni_ctr_4 (const RIJNDAEL_context * >+ aesenc_xmm1_xmm3 >+ aesenc_xmm1_xmm4 >+ "movdqa 0xa0(%%esi), %%xmm1\n\t" >+- "cmp $10, %[rounds]\n\t" >++ "cmpq $10, %[rounds]\n\t" >+ "jz .Lenclast%=\n\t" >+ aesenc_xmm1_xmm0 >+ aesenc_xmm1_xmm2 >+@@ -1062,7 +1062,7 @@ do_aesni_ctr_4 (const RIJNDAEL_context * >+ aesenc_xmm1_xmm3 >+ aesenc_xmm1_xmm4 >+ "movdqa 0xc0(%%esi), %%xmm1\n\t" >+- "cmp $12, %[rounds]\n\t" >++ "cmpq $12, %[rounds]\n\t" >+ "jz .Lenclast%=\n\t" >+ aesenc_xmm1_xmm0 >+ aesenc_xmm1_xmm2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 158994
: 116959