X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/4e82257884f5ab73a3add3a448bfc85caa8cbfa5..fb12494aee99738f9daab81fad888d1a45b5cb34:/OneRoundIoT/openssl/openssl_evp_hmac.c?ds=inline diff --git a/OneRoundIoT/openssl/openssl_evp_hmac.c b/OneRoundIoT/openssl/openssl_evp_hmac.c index eae5d01..59f5f8a 100644 --- a/OneRoundIoT/openssl/openssl_evp_hmac.c +++ b/OneRoundIoT/openssl/openssl_evp_hmac.c @@ -79,6 +79,9 @@ int encrypt(unsigned char *plaintext, int plaintext_len, unsigned char *key, //avant ecb if(1 != HMAC_Init_ex(ctx, key, 32, EVP_sha256(), NULL)) handleErrors(); + + + // size_t mactlen; //unsigned char mact[16] = {0};