Browse Source

Less ambitious first test for simplepir

Carlos Aguilar 8 years ago
parent
commit
d639a94784
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/simplepir/simplePIR.cpp

+ 2 - 2
apps/simplepir/simplePIR.cpp

@@ -204,10 +204,10 @@ int main(int argc, char * argv[]) {
 
 
   // Simple test
   // Simple test
   std::cout << "======================================================================" << std::endl;
   std::cout << "======================================================================" << std::endl;
-  std::cout << "Test 1/7: database_size = 1ULL<<31; nb_files = 20;" << std::endl;
+  std::cout << "Test 1/7: database_size = 1ULL<<30; nb_files = 20;" << std::endl;
   std::cout << "params.alpha = 1; params.d = 1; crypto_params = LWE:80:2048:120;" << std::endl; 
   std::cout << "params.alpha = 1; params.d = 1; crypto_params = LWE:80:2048:120;" << std::endl; 
   std::cout << "======================================================================" << std::endl;
   std::cout << "======================================================================" << std::endl;
-  database_size = 1ULL<<31; nb_files = 20; maxFileBytesize = database_size/nb_files;
+  database_size = 1ULL<<30; nb_files = 20; maxFileBytesize = database_size/nb_files;
   DBGenerator db(nb_files, maxFileBytesize, /*bool silent*/ false); 
   DBGenerator db(nb_files, maxFileBytesize, /*bool silent*/ false); 
   chosen_element = 3;
   chosen_element = 3;
   params.alpha = 1; params.d = 1; params.n[0] = nb_files; 
   params.alpha = 1; params.d = 1; params.n[0] = nb_files;