summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/aes-detect_guestbin1007376 -> 1007048 bytes
-rw-r--r--test/aes-detect_guest.c8
2 files changed, 4 insertions, 4 deletions
diff --git a/test/aes-detect_guest b/test/aes-detect_guest
index b80d3d1..de1ec2f 100755
--- a/test/aes-detect_guest
+++ b/test/aes-detect_guest
Binary files differ
diff --git a/test/aes-detect_guest.c b/test/aes-detect_guest.c
index f720c1d..4012b74 100644
--- a/test/aes-detect_guest.c
+++ b/test/aes-detect_guest.c
@@ -11,7 +11,7 @@
#include <stdint.h>
#include <stdlib.h>
-#include "aes-detect.c"
+// #include "aes-detect.c"
static uint8_t key[16];
@@ -48,14 +48,14 @@ main(int argc, const char **argv)
memset(block, 0, sizeof(block));
strncpy((char *) block, "Hello world", sizeof(block));
- DO_ACCESS_PATTERN();
+ // DO_ACCESS_PATTERN();
- // printhex(block, sizeof(block));
+ printhex(block, sizeof(block));
n = kcapi_cipher_encrypt(kcapi, block, sizeof(block), NULL,
block, sizeof(block), KCAPI_ACCESS_HEURISTIC);
if (n != sizeof(block))
err(1, "encrypt");
- // printhex(block, sizeof(block));
+ printhex(block, sizeof(block));
sleep(1);
}