Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
wnaf.hpp File Reference
#include <vector>
#include <libff/algebra/fields/bigint.hpp>
#include <libff/algebra/scalar_multiplication/wnaf.tcc>
Include dependency graph for wnaf.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  libff
 

Functions

template<mp_size_t n>
std::vector< long > libff::find_wnaf (const size_t window_size, const bigint< n > &scalar)
 
template<typename T , mp_size_t n>
T libff::fixed_window_wnaf_exp (const size_t window_size, const T &base, const bigint< n > &scalar)
 
template<typename T , mp_size_t n>
T libff::opt_window_wnaf_exp (const T &base, const bigint< n > &scalar, const size_t scalar_bits)
 

Detailed Description

Declaration of interfaces for wNAF ("width-w Non-Adjacent Form") exponentiation routines.

Author
This file is part of libff, developed by SCIPR Lab and contributors (see AUTHORS).

Definition in file wnaf.hpp.