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:
parent
a8c9f18299
commit
3ba18a4657
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user