Percy++
A C++ implementation of Private Information Retrieval (PIR) protocols
|
Defines the basic structure of protocol parameters (PercyParams), client parameters (PercyClientParams), and server parameters (PercyServerParams). More...
#include <iostream>
#include <vector>
#include <utility>
#include "version.h"
#include "percytypes.h"
Go to the source code of this file.
Classes | |
class | PercyParams |
An abstract base class for a protocol's parameters. More... | |
class | PercyClientParams |
Client parameters. More... | |
struct | serverinfo |
Information needed to connect to a server. More... | |
class | PercyServerParams |
Server parameters. More... | |
Typedefs | |
typedef std::pair< dbsize_t, dbsize_t > | Dimension |
A 2-dimensional coordinate. More... | |
Enumerations | |
enum | PercyMode { MODE_NONE = 0, MODE_ZZ_P, MODE_GF28, MODE_GF216, MODE_CHOR, MODE_AG, MODE_RECURSIVE_AG, MODE_HYBRID } |
A PIR protocol. More... | |
enum | DistSplit { DIST_SPLIT_QUERIES, DIST_SPLIT_RECORDS, DIST_SPLIT_RECORD_BYTES } |
The method used to partition work between threads/workers. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, PercyMode mode) |
Prints a PercyMode string to a stream. More... | |
std::ostream & | operator<< (std::ostream &os, DistSplit mode) |
Prints a DistSplit string to a stream. More... | |
Variables | |
const char * | PercyModeStrings [] |
Strings associated with PercyMode values. More... | |
const char * | DistSplitStrings [] |
Strings associated with DistSplit values. More... | |
Defines the basic structure of protocol parameters (PercyParams), client parameters (PercyClientParams), and server parameters (PercyServerParams).
typedef std::pair<dbsize_t, dbsize_t> Dimension |
A 2-dimensional coordinate.
enum DistSplit |
enum PercyMode |
A PIR protocol.
std::ostream& operator<< | ( | std::ostream & | os, |
PercyMode | mode | ||
) |
Prints a PercyMode string to a stream.
std::ostream& operator<< | ( | std::ostream & | os, |
DistSplit | mode | ||
) |
Prints a DistSplit string to a stream.
const char* DistSplitStrings[] |
Strings associated with DistSplit values.
const char* PercyModeStrings[] |
Strings associated with PercyMode values.