From 4bcc3f81d0c19f0252e500cb67f0e94d9e2e4711 Mon Sep 17 00:00:00 2001 From: couturie Date: Sun, 18 Feb 2018 15:36:30 +0100 Subject: [PATCH] update of cmac --- OneRoundIoT/openssl/openssl_evp_cmac.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/OneRoundIoT/openssl/openssl_evp_cmac.c b/OneRoundIoT/openssl/openssl_evp_cmac.c index ae01f5c..5f0fa0d 100755 --- a/OneRoundIoT/openssl/openssl_evp_cmac.c +++ b/OneRoundIoT/openssl/openssl_evp_cmac.c @@ -34,6 +34,14 @@ double TimeStop(double t) } +void printBytes(unsigned char *buf, size_t len) { + for(int i=0; i