Botan
1.10.9
|
#include <blinding.h>
Public Member Functions | |
BigInt | blind (const BigInt &x) const |
Blinder () | |
Blinder (const BigInt &mask, const BigInt &inverse_mask, const BigInt &modulus) | |
bool | initialized () const |
BigInt | unblind (const BigInt &x) const |
Blinding Function Object
Definition at line 19 of file blinding.h.
|
inline |
Definition at line 27 of file blinding.h.
Botan::Blinder::Blinder | ( | const BigInt & | mask, |
const BigInt & | inverse_mask, | ||
const BigInt & | modulus | ||
) |
Construct a blinder
mask | the forward (blinding) mask |
inverse_mask | the inverse of mask (depends on algo) |
modulus | of the group operations are performed in |
Definition at line 16 of file blinding.cpp.
Definition at line 29 of file blinding.cpp.
References Botan::Modular_Reducer::initialized(), Botan::Modular_Reducer::multiply(), and Botan::Modular_Reducer::square().
Referenced by Botan::DH_KA_Operation::agree(), Botan::ElGamal_Decryption_Operation::decrypt(), Botan::RSA_Private_Operation::decrypt(), Botan::RW_Signature_Operation::sign(), and Botan::RSA_Private_Operation::sign().
|
inline |
Definition at line 25 of file blinding.h.
References reducer.
Referenced by Botan::RW_Signature_Operation::sign().
Definition at line 42 of file blinding.cpp.
References Botan::Modular_Reducer::initialized(), and Botan::Modular_Reducer::multiply().
Referenced by Botan::DH_KA_Operation::agree(), Botan::ElGamal_Decryption_Operation::decrypt(), Botan::RSA_Private_Operation::decrypt(), Botan::RW_Signature_Operation::sign(), and Botan::RSA_Private_Operation::sign().