Fix a bug in the result of manual assembly.

Reported by:	Stefan Grundmann <sg2342 googlemail com>
PR:	kern/155118
MFC after:	3 days
This commit is contained in:
kib 2011-03-02 14:56:58 +00:00
parent a8c9f18299
commit 3ba18a4657
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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