diff options
Diffstat (limited to 'test/aes-detect_guest.c')
| -rw-r--r-- | test/aes-detect_guest.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |
