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