8#ifndef BOTAN_BLINDER_H_
9#define BOTAN_BLINDER_H_
11#include <botan/bigint.h>
12#include <botan/reducer.h>
17class RandomNumberGenerator;
63 BigInt blinding_nonce()
const;
69 size_t m_modulus_bits = 0;
72 mutable size_t m_counter = 0;
Blinder & operator=(const Blinder &)=delete
BigInt blind(const BigInt &x) const
Blinder(const Blinder &)=delete
Blinder(const BigInt &modulus, RandomNumberGenerator &rng, std::function< BigInt(const BigInt &)> fwd_func, std::function< BigInt(const BigInt &)> inv_func)
RandomNumberGenerator & rng() const
BigInt unblind(const BigInt &x) const
int(* final)(unsigned char *, CTX *)