Givaro
Namespaces | Functions
ruexp.h File Reference
#include "ruruint.h"
#include "rumanip.h"
#include "rutools.h"
#include "rucmp.h"
#include "rumul.h"
+ Include dependency graph for ruexp.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 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)