if(1 != CMAC_Final(ctx, mact, &mactlen)) handleErrors();
ciphertext_len += len;
- printBytes(mact, mactlen);
+ // printBytes(mact, mactlen);
/* Clean up */
CMAC_CTX_free(ctx);
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<oneD;i++) {
data_R[i]=ciphertext[i];
}
store_RGB_pixmap("lena2.ppm", data_R, data_G, data_B, width, height);
}
-
+ */
/*
t=0;
t=TimeStart();