]> AND Private Git Repository - Cipher_code.git/blobdiff - OneRoundIoT/EnhancedOneRound/enhanced_oneround.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
update
[Cipher_code.git] / 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;
   }
   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++) {
     //cout<<"imsize "<<imsize<<endl;
     buffer=new uchar[imsize];
     for(int i=0;i<imsize;i++) {