Author: kib
Date: Sat Mar  5 09:42:00 2011
New Revision: 219303
URL: http://svn.freebsd.org/changeset/base/219303

Log:
  MFC r219178:
  Fix a bug in the result of manual assembly.
  
  PR:   kern/155118

Modified:
  stable/8/sys/crypto/aesni/aeskeys_amd64.S
  stable/8/sys/crypto/aesni/aeskeys_i386.S
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/crypto/aesni/aeskeys_amd64.S
==============================================================================
--- stable/8/sys/crypto/aesni/aeskeys_amd64.S   Sat Mar  5 08:56:42 2011        
(r219302)
+++ stable/8/sys/crypto/aesni/aeskeys_amd64.S   Sat Mar  5 09:42:00 2011        
(r219303)
@@ -162,7 +162,7 @@ ENTRY(aesni_set_enckey)
        .byte   0x66,0x0f,0x3a,0xdf,0xc8,0x20
        call    _key_expansion_256b
 //     aeskeygenassist $0x40,%xmm2,%xmm1       # round 7
-       .byte   0x66,0x0f,0x3a,0xdf,0xca,0x20
+       .byte   0x66,0x0f,0x3a,0xdf,0xca,0x40
        call    _key_expansion_256a
        retq
 .Lenc_key192:

Modified: stable/8/sys/crypto/aesni/aeskeys_i386.S
==============================================================================
--- stable/8/sys/crypto/aesni/aeskeys_i386.S    Sat Mar  5 08:56:42 2011        
(r219302)
+++ stable/8/sys/crypto/aesni/aeskeys_i386.S    Sat Mar  5 09:42:00 2011        
(r219303)
@@ -167,7 +167,7 @@ ENTRY(aesni_set_enckey)
        .byte   0x66,0x0f,0x3a,0xdf,0xc8,0x20
        call    _key_expansion_256b
 //     aeskeygenassist $0x40,%xmm2,%xmm1       # round 7
-       .byte   0x66,0x0f,0x3a,0xdf,0xca,0x20
+       .byte   0x66,0x0f,0x3a,0xdf,0xca,0x40
        call    _key_expansion_256a
        .cfi_adjust_cfa_offset -4
        leave
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to