Givaro 4.2.1
ruexp.h File Reference
#include "ruruint.h"
#include "rumanip.h"
#include "rutools.h"
#include "rucmp.h"
#include "rumul.h"

Namespaces

namespace  RecInt
 NOTE : For this common file, either basic/reduc.h or mg/reduc.h has to be pre-included.
 

Functions

template<size_t K>
void exp_mod (ruint< K > &a, const ruint< K > &b, const ruint< K > &c, const ruint< K > &n)
 
template<size_t K, typename T>
std::enable_if< std::is_unsigned< T >::value, void >::type exp_mod (ruint< K > &a, const ruint< K > &b, const T &c, const ruint< K > &n)