X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/4e82257884f5ab73a3add3a448bfc85caa8cbfa5..121b99635da1e62a424bea25d9d54fb0845cba43:/OneRoundIoT/openssl/openssl_evp_hmac.c 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};