Clearmatics Libff
0.1
C++ library for Finite Fields and Elliptic Curves
libff
algebra
exponentiation
exponentiation.hpp
Go to the documentation of this file.
1
12
#ifndef EXPONENTIATION_HPP_
13
#define EXPONENTIATION_HPP_
14
15
#include <cstdint>
16
#include <
libff/algebra/fields/bigint.hpp
>
17
18
namespace
libff
19
{
20
21
template
<
typename
FieldT, mp_
size_t
m>
22
FieldT
power
(
const
FieldT &base,
const
bigint<m> &exponent);
23
24
template
<
typename
FieldT>
25
FieldT
power
(
const
FieldT &base,
const
unsigned
long
exponent);
26
27
}
// namespace libff
28
29
#include <
libff/algebra/exponentiation/exponentiation.tcc
>
30
31
#endif // EXPONENTIATION_HPP_
libff
Definition:
ffi.cpp:8
bigint.hpp
exponentiation.tcc
libff::power
FieldT power(const FieldT &base, const bigint< m > &exponent)
Generated on Thu Aug 18 2022 12:42:19 for Clearmatics Libff by
1.8.17