PALISADE Lattice Crypto Library  1.11.9
A lattice crypto library for software engineers by software engineers.
Classes | Typedefs | Functions | Variables
bigintnat Namespace Reference

Classes

struct  DoubleDataType
 Struct to determine a datatype that is twice as big(bitwise) as utype. sets T as of type void for default case. More...
 
struct  DoubleDataType< uint32_t >
 Struct to determine a datatype that is twice as big(bitwise) as utype. sets T as of type unsigned integer 64 bit if integral datatype is 32bit. More...
 
struct  DoubleDataType< uint64_t >
 Struct to determine a datatype that is twice as big(bitwise) as utype. sets T as of type unsigned integer 128 bit if integral datatype is 64bit. More...
 
struct  DoubleDataType< unsigned __int128 >
 
struct  NAlloc
 The class for representing vectors of native integers. More...
 
class  NativeIntegerT
 Main class for big integers represented as an array of native (primitive) unsigned integers. More...
 
class  NativeVector
 

Typedefs

using BasicInteger = unsigned __int128
 
typedef NativeIntegerT< unsigned __int128 > NativeInteger
 
typedef NativeIntegerT< unsigned __int128 > NativeInteger128
 
typedef NativeIntegerT< uint64_t > NativeInteger64
 
typedef NativeIntegerT< uint32_t > NativeInteger32
 

Functions

template<class T , class U >
bool operator== (const NAlloc< T > &, const NAlloc< U > &)
 
template<class T , class U >
bool operator!= (const NAlloc< T > &, const NAlloc< U > &)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const std::vector< T > &v)
 
template std::ostream & operator<<<uint64_t > (std::ostream &os, const std::vector< uint64_t > &v)
 

Variables

const double LOG2_10
 A pre-computed constant of Log base 2 of 10. More...
 
const usint BARRETT_LEVELS = 8
 The number of levels (precomputed values) used in the Barrett reductions.
 

Detailed Description

The namespace of bigintnat

Variable Documentation

◆ LOG2_10

const double bigintnat::LOG2_10
Initial value:
=
3.32192809

A pre-computed constant of Log base 2 of 10.