MOTION  0.01
Framework for mixed-protocol multi-party computation
Namespaces | Enumerations | Functions
typedefs.h File Reference
#include <fmt/format.h>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <tuple>
#include <type_traits>
Include dependency graph for typedefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 encrypto
 
 encrypto::motion
 

Enumerations

enum  encrypto::motion::PrimitiveOperationType : std::uint8_t {
  encrypto::motion::PrimitiveOperationType::kIn, encrypto::motion::PrimitiveOperationType::kOut, encrypto::motion::PrimitiveOperationType::kXor, encrypto::motion::PrimitiveOperationType::kAnd,
  encrypto::motion::PrimitiveOperationType::kMux, encrypto::motion::PrimitiveOperationType::kInv, encrypto::motion::PrimitiveOperationType::kOr, encrypto::motion::PrimitiveOperationType::kAdd,
  encrypto::motion::PrimitiveOperationType::kMul, encrypto::motion::PrimitiveOperationType::kSqr, encrypto::motion::PrimitiveOperationType::kA2B, encrypto::motion::PrimitiveOperationType::kA2Y,
  encrypto::motion::PrimitiveOperationType::kB2A, encrypto::motion::PrimitiveOperationType::kB2Y, encrypto::motion::PrimitiveOperationType::kY2A, encrypto::motion::PrimitiveOperationType::kY2B,
  encrypto::motion::PrimitiveOperationType::kInvalid
}
 
enum  encrypto::motion::IntegerOperationType : unsigned int {
  encrypto::motion::IntegerOperationType::kAdd, encrypto::motion::IntegerOperationType::kDiv, encrypto::motion::IntegerOperationType::kGt, encrypto::motion::IntegerOperationType::kEq,
  encrypto::motion::IntegerOperationType::kMul, encrypto::motion::IntegerOperationType::kSub, encrypto::motion::IntegerOperationType::kInvalid
}
 
enum  encrypto::motion::MpcProtocol : unsigned int {
  encrypto::motion::MpcProtocol::kArithmeticGmw, encrypto::motion::MpcProtocol::kBooleanGmw, encrypto::motion::MpcProtocol::kBmr, encrypto::motion::MpcProtocol::kArithmeticConstant,
  encrypto::motion::MpcProtocol::kBooleanConstant, encrypto::motion::MpcProtocol::kInvalid
}
 
enum  encrypto::motion::CircuitType : unsigned int { encrypto::motion::CircuitType::kArithmetic, encrypto::motion::CircuitType::kBoolean, encrypto::motion::CircuitType::kInvalid }
 
enum  encrypto::motion::Role : unsigned int { encrypto::motion::Role::kServer, encrypto::motion::Role::kClient, encrypto::motion::Role::kInvalid }
 
enum  encrypto::motion::GateType : unsigned int { encrypto::motion::GateType::kInput = 0, encrypto::motion::GateType::kInteractive = 1, encrypto::motion::GateType::kNonInteractive = 2, encrypto::motion::GateType::kInvalid = 3 }
 

Functions

std::string encrypto::motion::to_string (PrimitiveOperationType t)
 
std::string encrypto::motion::to_string (IntegerOperationType p)
 
std::string encrypto::motion::to_string (MpcProtocol p)