Struct std::BnMont
struct BnMont {
unsigned int m[BN_LIMBS_MAX];
unsigned int rr[BN_LIMBS_MAX];
unsigned int n0inv;
int n;
unsigned long bytes;
}Fields
the modulus
R^2 mod m, R = 2^(32 n)
-m^-1 mod 2^32
limbs in use
the modulus' length in bytes (no leading zeros)
Methods
From a big-endian modulus (leading zero bytes allowed). 0 if it is even, zero or wider than BN_LIMBS_MAX limbs.