X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/4e82257884f5ab73a3add3a448bfc85caa8cbfa5..149268e31dcc62cf18eddd1b8ffa37cf81acbbca:/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};