From: couturie Date: Sun, 18 Feb 2018 14:36:30 +0000 (+0100) Subject: update of cmac X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/commitdiff_plain/4bcc3f81d0c19f0252e500cb67f0e94d9e2e4711?hp=94e90035b1b2f00c5862a03f69a0b23d9b53df51 update of cmac --- 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