X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/f1db4350eede84fe1dddead262a32becc1306fda..d42def9d0be17813b2bedc52ae7bc4ac6a356c5d:/OneRoundIoT/openssl/openssl_evp_gcm.c?ds=inline diff --git a/OneRoundIoT/openssl/openssl_evp_gcm.c b/OneRoundIoT/openssl/openssl_evp_gcm.c index 889d9f5..54a998f 100644 --- a/OneRoundIoT/openssl/openssl_evp_gcm.c +++ b/OneRoundIoT/openssl/openssl_evp_gcm.c @@ -149,7 +149,7 @@ int decryptgcm(unsigned char *ciphertext, int ciphertext_len, unsigned char *aad * anything else is a failure - the plaintext is not trustworthy. */ ret = EVP_DecryptFinal_ex(ctx, plaintext + len, &len); -CPU } + } /* Clean up */ @@ -435,7 +435,7 @@ int main (int argc, char** argv) time_encrypt+=TimeStop(t); // printf("Time encrypt %f\n",time); - printf("%f\t",(double)imsize*nb_test/time_encrypt); + printf("%e\t",(double)imsize*nb_test/time_encrypt); if(lena) { for(int i=0;i