|  | @@ -127,7 +127,7 @@ void PIRServer::set_galois_key(std::uint32_t client_id, seal::GaloisKeys galkey)
 | 
	
		
			
				|  |  |      galoisKeys_[client_id] = galkey;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -PirReply PIRServer::generate_reply(PirQuery query, uint32_t client_id, PIRClient &client) {
 | 
	
		
			
				|  |  | +PirReply PIRServer::generate_reply(PirQuery query, uint32_t client_id) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      vector<uint64_t> nvec = pir_params_.nvec;
 | 
	
		
			
				|  |  |      uint64_t product = 1;
 | 
	
	
		
			
				|  | @@ -164,7 +164,7 @@ PirReply PIRServer::generate_reply(PirQuery query, uint32_t client_id, PIRClient
 | 
	
		
			
				|  |  |                  total = n_i % N; 
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              cout << "-- expanding one query ctxt into " << total  << " ctxts "<< endl;
 | 
	
		
			
				|  |  | -            vector<Ciphertext> expanded_query_part = expand_query(query[i][j], total, client_id, client);
 | 
	
		
			
				|  |  | +            vector<Ciphertext> expanded_query_part = expand_query(query[i][j], total, client_id);
 | 
	
		
			
				|  |  |              expanded_query.insert(expanded_query.end(), std::make_move_iterator(expanded_query_part.begin()), 
 | 
	
		
			
				|  |  |                      std::make_move_iterator(expanded_query_part.end()));
 | 
	
		
			
				|  |  |              expanded_query_part.clear(); 
 | 
	
	
		
			
				|  | @@ -258,7 +258,7 @@ PirReply PIRServer::generate_reply(PirQuery query, uint32_t client_id, PIRClient
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  inline vector<Ciphertext> PIRServer::expand_query(const Ciphertext &encrypted, uint32_t m,
 | 
	
		
			
				|  |  | -                                           uint32_t client_id, PIRClient &client) {
 | 
	
		
			
				|  |  | +                                           uint32_t client_id) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  #ifdef DEBUG
 | 
	
		
			
				|  |  |      uint64_t plainMod = params_.plain_modulus().value();
 | 
	
	
		
			
				|  | @@ -301,7 +301,6 @@ inline vector<Ciphertext> PIRServer::expand_query(const Ciphertext &encrypted, u
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              //cout << "rotate " << client.decryptor_->invariant_noise_budget(tempctxt_rotated) << ", "; 
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |              evaluator_->add(temp[a], tempctxt_rotated, newtemp[a]);
 | 
	
		
			
				|  |  |              multiply_power_of_X(temp[a], tempctxt_shifted, index_raw);
 | 
	
		
			
				|  |  |  
 |