if(strncmp(argv[i],"lena",4)==0) lena = atoi(&(argv[i][4])); //Use Lena or buffer
}
- printf("nb times %d\n",nb_test);
+/* printf("nb times %d\n",nb_test);
printf("cbcrm %d\n",cbcrm);
printf("cbcprng %d\n",cbcprng);
printf("ecbrm %d\n",ecbrm);
printf("h %d\n",h);
printf("lena %d\n",lena);
printf("size_buf %d\n",size_buf);
-
+*/
else {
width=height=size_buf;
imsize=width*height;
- cout<<"imsize "<<imsize<<endl;
+ //cout<<"imsize "<<imsize<<endl;
buffer=new uchar[imsize];
for(int i=0;i<imsize;i++) {
buffer[i]=lrand48();
equal=false;
}
}
- cout<<"RESULT CORRECT: "<<equal<<endl;
+ //cout<<"RESULT CORRECT: "<<equal<<endl;
}