24 #ifndef LBCRYPTO_UTILS_INTTYPES_H 25 #define LBCRYPTO_UTILS_INTTYPES_H 34 typedef uint8_t uschar;
39 typedef uint16_t usshort;
44 typedef uint32_t usint;
46 typedef uint64_t PlaintextModulus;
52 enum Format { EVALUATION = 0, COEFFICIENT = 1 };
54 inline std::ostream &operator<<(std::ostream &s, Format f) {
72 enum PKESchemeFeature {
82 inline std::ostream &operator<<(std::ostream &s, PKESchemeFeature f) {
115 enum MODE { RLWE = 0, OPTIMIZED = 1, SPARSE = 2 };
117 inline std::ostream &operator<<(std::ostream &s, MODE m) {