diff --git a/sys/crypto/aesni/aeskeys_amd64.S b/sys/crypto/aesni/aeskeys_amd64.S index 5a7605af62bd..23a4d3dc1fba 100644 --- a/sys/crypto/aesni/aeskeys_amd64.S +++ b/sys/crypto/aesni/aeskeys_amd64.S @@ -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: diff --git a/sys/crypto/aesni/aeskeys_i386.S b/sys/crypto/aesni/aeskeys_i386.S index f575512cc988..f9be26d2197c 100644 --- a/sys/crypto/aesni/aeskeys_i386.S +++ b/sys/crypto/aesni/aeskeys_i386.S @@ -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