Debian Codegraph @

travis/test/keylocker.asm

raw
1 ;Testname=keylocker; Arguments=-fbin -okeylocker.bin -O0 -DSRC; Files=stdout stderr keylocker.bin
2
3 %macro testcase 2
4 %ifdef BIN
5 db %1
6 %endif
7 %ifdef SRC
8 %2
9 %endif
10 %endmacro
11
12
13 bits 64
14
15 testcase { 0xf3, 0x0f, 0x38, 0xdd, 0x08 }, { AESDEC128KL xmm1, [rax] }
16 testcase { 0xf3, 0x0f, 0x38, 0xdf, 0x08 }, { AESDEC256KL xmm1, zword [rax] }
17 testcase { 0xf3, 0x42, 0x0f, 0x38, 0xdf, 0x0c, 0xf0 }, { AESDEC256KL xmm1, zword [rax+r14*8] }
18 testcase { 0xf3, 0x0f, 0x38, 0xdc, 0x08 }, { AESENC128KL xmm1, [rax] }
19 testcase { 0xf3, 0x0f, 0x38, 0xde, 0x08 }, { AESENC256KL xmm1, zword [rax] }
20 testcase { 0xf3, 0x42, 0x0f, 0x38, 0xde, 0x0c, 0xf0 }, { AESENC256KL xmm1, zword [rax+r14*8] }
21 testcase { 0xf3, 0x0f, 0x38, 0xfa, 0xc0 }, { ENCODEKEY128 eax, eax }
22 testcase { 0xf3, 0x0f, 0x38, 0xfb, 0xc0 }, { ENCODEKEY256 eax, eax }
23 testcase { 0xf3, 0x0f, 0x38, 0xdc, 0xc9 }, { LOADIWKEY xmm1, xmm1 }