aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/apx.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/apx.cpp b/test/apx.cpp
index fc29653..ab3ca0a 100644
--- a/test/apx.cpp
+++ b/test/apx.cpp
@@ -1783,9 +1783,15 @@ CYBOZU_TEST_AUTO(aeskl)
aesdec128kl(xmm15, ptr[rax+rcx*4+0x12]);
aesdec128kl(xmm15, ptr[r30+r29*8+0x34]);
-
aesdec256kl(xmm15, ptr[rax+rcx*4+0x12]);
aesdec256kl(xmm15, ptr[r30+r29*8+0x34]);
+
+ aesdecwide128kl(ptr[rax+rcx*4+0x12]);
+ aesdecwide128kl(ptr[r30+r29*8+0x34]);
+
+ aesdecwide256kl(ptr[rax+rcx*4+0x12]);
+ aesdecwide256kl(ptr[r30+r29*8+0x34]);
+
}
} c;
const uint8_t tbl[] = {
@@ -1795,6 +1801,12 @@ CYBOZU_TEST_AUTO(aeskl)
// aesdec256kl
0xf3, 0x44, 0x0f, 0x38, 0xdf, 0x7c, 0x88, 0x12,
0x62, 0x1c, 0x7a, 0x08, 0xdf, 0x7c, 0xee, 0x34,
+ // aesdecwide128kl
+ 0xf3, 0x0f, 0x38, 0xd8, 0x4c, 0x88, 0x12,
+ 0x62, 0x9c, 0x7a, 0x08, 0xd8, 0x4c, 0xee, 0x34, 0xf3,
+ // aesdecwide256kl
+ 0x0f, 0x38, 0xd8, 0x5c, 0x88, 0x12,
+ 0x62, 0x9c, 0x7a, 0x08, 0xd8, 0x5c, 0xee, 0x34,
};
const size_t n = sizeof(tbl);
CYBOZU_TEST_EQUAL(c.getSize(), n);