]> AND Private Git Repository - Cipher_code.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
update
authorRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Sun, 21 Jul 2019 18:09:39 +0000 (20:09 +0200)
committerRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Sun, 21 Jul 2019 18:09:39 +0000 (20:09 +0200)
OneRoundIoT/EnhancedOneRound/enhanced_oneround.cpp

index 7254d32584011f6f49b528594e6cbbad0a17af1d..d8e1cbe1e3958973f8d25f1fe5c52d470d0f8130 100644 (file)
@@ -1510,7 +1510,7 @@ int main(int argc, char** argv) {
   }
   else {
     width=height=size_buf;
-    imsize=width*height;
+    imsize=width*height*3;
     //cout<<"imsize "<<imsize<<endl;
     buffer=new uchar[imsize];
     for(int i=0;i<imsize;i++) {