From 52ef56d5b2cf7ad696ac8f88eb08da039eb3406f Mon Sep 17 00:00:00 2001 From: elenago Date: Thu, 14 Sep 2017 20:01:43 +0200 Subject: [PATCH] print values VMK --- OpenCL_version/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenCL_version/utils.c b/OpenCL_version/utils.c index bdade60..76292f4 100755 --- a/OpenCL_version/utils.c +++ b/OpenCL_version/utils.c @@ -130,15 +130,15 @@ int readData(char * encryptedImagePath, unsigned char ** salt, unsigned char ** fillBuffer(encryptedImage, *encryptedVMK, VMK_SIZE); fprintf(stdout, "Nonce:\n"); - print_hex(nonce, NONCE_SIZE); + print_hex(*nonce, NONCE_SIZE); fprintf(stdout, "\n"); fprintf(stdout, "MAC:\n"); - print_hex(mac, MAC_SIZE); + print_hex(*mac, MAC_SIZE); fprintf(stdout, "\n"); fprintf(stdout, "VMK:\n"); - print_hex(encryptedVMK, VMK_SIZE); + print_hex(*encryptedVMK, VMK_SIZE); fprintf(stdout, "\n"); break; }