| Botan
    1.10.16
    | 
#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::RSA_Private_Operation::decrypt(), and Botan::RSA_Private_Operation::sign().
| 
 | inline | 
Definition at line 25 of file blinding.h.
Definition at line 42 of file blinding.cpp.
References Botan::Modular_Reducer::initialized(), and Botan::Modular_Reducer::multiply().
Referenced by Botan::RSA_Private_Operation::decrypt(), and Botan::RSA_Private_Operation::sign().
 1.8.13
 1.8.13