|  | 
|  | ZZ_pParams (dbsize_t num_blocks, dbsize_t block_size, dbsize_t word_size, ZZ modulus, nservers_t tau=0, char *pcparams_file=NULL, bool do_spir=false, dbsize_t virtual_block_size=1) | 
|  | 
|  | ZZ_pParams (dbsize_t num_blocks, dbsize_t block_size, dbsize_t word_size, unsigned long modulus_bits, nservers_t tau=0, dbsize_t virtual_block_size=1) | 
|  | 
|  | ZZ_pParams (dbsize_t num_blocks, dbsize_t block_size, dbsize_t word_size, ZZ p, ZZ q, nservers_t tau=0, dbsize_t virtual_block_size=1) | 
|  | 
| unsigned long | modulus_bytes () const | 
|  | 
| unsigned long | modulussq_bytes () const | 
|  | 
| void | mod_modulus () const | 
|  | 
| void | mod_modulussq () const | 
|  | 
| const ZZ & | get_modulus () const | 
|  | 
| const ZZ_p & | get_g () const | 
|  | 
| bool | hybrid () const | 
|  | 
| bool | spir () const | 
|  | 
| bool | modulus_match (ZZ testmod) const | 
|  | 
| char * | get_pcparams_filename () const | 
|  | 
| virtual dbsize_t | server_block_size () const | 
|  | Get the size of each block in the database that the datastore will actually use.  More... 
 | 
|  | 
| ZZ_p | encrypt (ZZ plaintext) const | 
|  | 
| ZZ_p | decrypt (ZZ_p ciphertext) const | 
|  | 
| ZZ | get_p1 () const | 
|  | 
| ZZ | get_p2 () const | 
|  | 
| virtual dbsize_t | request_size (nqueries_t num_queries=1) const | 
|  | Get the size of a client to server request.  More... 
 | 
|  | 
| virtual dbsize_t | response_size (nqueries_t num_queries=1) const | 
|  | Get the size of a server to client response.  More... 
 | 
|  | 
| virtual std::vector< const PercyParams * >
 | create_worker_params (std::vector< Dimension > worker_dims) const | 
|  | Create protocol parameters for threads/workers.  More... 
 | 
|  | 
|  | PercyParams (dbsize_t num_blocks, dbsize_t block_size, dbsize_t word_size, PercyMode mode, nservers_t tau=0, dbsize_t virtual_block_size=1) | 
|  | Constructor.  More... 
 | 
|  | 
| virtual | ~PercyParams () | 
|  | Destructor.  More... 
 | 
|  | 
| dbsize_t | num_blocks () const | 
|  | Get the number of blocks in the database.  More... 
 | 
|  | 
| dbsize_t | block_size () const | 
|  | Get the size of each block in the database in bytes.  More... 
 | 
|  | 
| dbsize_t | word_size () const | 
|  | Get the word size used to split blocks.  More... 
 | 
|  | 
| dbsize_t | words_per_block () const | 
|  | Get the number of words per database block.  More... 
 | 
|  | 
| PercyMode | get_mode () const | 
|  | Get the protocol being used.  More... 
 | 
|  | 
| nservers_t | tau () const | 
|  | Get the level of tau-independence.  More... 
 | 
|  | 
| dbsize_t | num_virtual_blocks () const | 
|  | Get the number of virtual blocks when being used as one iteration of a recursive protocol.  More... 
 | 
|  | 
| dbsize_t | virtual_block_size () const | 
|  | Get the number of actual blocks in a virtual block when being used as one iteration of a recursive protocol.  More... 
 | 
|  | 
| void | print (std::ostream &os) const | 
|  | Prints the parameters in CSV form.  More... 
 | 
|  | 
| virtual void | print_mode_specific (std::ostream &os) const | 
|  | Print mode-specific parameters.  More... 
 | 
|  | 
| virtual bool | is_recursive () const | 
|  | Check if the protocol is recursive.  More... 
 | 
|  |