}
- cout<<size_buf<<endl;
+ // cout<<size_buf<<endl;
int seed=12;//time(NULL);
- cout<<seed<<endl;
+ //cout<<seed<<endl;
srand48(seed);
uchar Secretkey[key_size];
}
}
- printf("seq 4 %d\n",seq[4]);
+ //printf("seq 4 %d\n",seq[4]);
if(change==1) {
seq[4]++;
seq[9]++;
}
- printf("seq 4 %d\n",seq[4]);
+ // printf("seq 4 %d\n",seq[4]);
int total_len=imsize;
int rp=1;
int len= total_len/h;
- cout<<len<<endl;
+ //cout<<len<<endl;
uchar *mix=new uchar[256];
rc4keyperm(&DK[24], h, rp, PboxRM, 8);
time+=TimeStop(t);
- cout<<"Time initializaton "<<time<<endl;
+ //cout<<"Time initializaton "<<time<<endl;
RM2[i]=RM1[i];
}
- cout<<"imsize "<<imsize<<endl;
+ //cout<<"imsize "<<imsize<<endl;
/* for(int i=0;i<imsize;i++){
cout<<(int)seq[i]<<" ";
time+=TimeStop(t);
- cout<<"Hash Time "<<time<<endl;
+ //cout<<"Hash Time "<<time<<endl;
cout<<(double)imsize*nb_test/time<<"\t";
- for(int i=0;i<h;i++){
+ /*for(int i=0;i<h;i++){
cout<<(int)RM1[i]<<" ";
- }
- cout<<endl;
+ }*/
+ // cout<<endl;