bn_mont_ctx_st

Used for montgomery multiplication

Members

Variables

N
libressl_d.openssl.ossl_typ.BIGNUM N;

The modulus

Ni
libressl_d.openssl.ossl_typ.BIGNUM Ni;

R*(1/R mod N) - N*Ni = 1 (Ni is only stored for bignum algorithm)

RR
libressl_d.openssl.ossl_typ.BIGNUM RR;

used to convert to montgomery form

flags
int flags;
Undocumented in source.
n0
.BN_ULONG[2] n0;

least significant word(s) of Ni; (type changed with 0.9.9, was "BN_ULONG n0;" before)

ri
int ri;

number of bits in R

Meta