aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-12-19 17:03:19 +0900
committerMITSUNARI Shigeo <[email protected]>2023-12-19 17:03:19 +0900
commitd9c7c992f1fb4d68453f5d508e5a287c85075518 (patch)
tree08ddba74f04e98efae054e6ac7149aaa84d66807 /test
parentcd5231de096408cb82c747761e55d80188ac639b (diff)
downloadxbyak-d9c7c992f1fb4d68453f5d508e5a287c85075518.tar.gz
xbyak-d9c7c992f1fb4d68453f5d508e5a287c85075518.zip
add aesdecwide{128,256}kl
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);