Go to the source code of this file.
Macros | |
#define | MONT_WORD /* use the faster word-based algorithm */ |
#define | BRANCH_FREE 1 |
Functions | |
int | BN_mod_mul_montgomery (BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_MONT_CTX *mont, BN_CTX *ctx) |
int | BN_from_montgomery (BIGNUM *ret, const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx) |
BN_MONT_CTX * | BN_MONT_CTX_new (void) |
void | BN_MONT_CTX_init (BN_MONT_CTX *ctx) |
void | BN_MONT_CTX_free (BN_MONT_CTX *mont) |
int | BN_MONT_CTX_set (BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) |
BN_MONT_CTX * | BN_MONT_CTX_copy (BN_MONT_CTX *to, BN_MONT_CTX *from) |
BN_MONT_CTX * | BN_MONT_CTX_set_locked (BN_MONT_CTX **pmont, int lock, const BIGNUM *mod, BN_CTX *ctx) |
#define BRANCH_FREE 1 |
#define MONT_WORD /* use the faster word-based algorithm */ |
int BN_from_montgomery | ( | BIGNUM * | ret, |
const BIGNUM * | a, | ||
BN_MONT_CTX * | mont, | ||
BN_CTX * | ctx | ||
) |
int BN_mod_mul_montgomery | ( | BIGNUM * | r, |
const BIGNUM * | a, | ||
const BIGNUM * | b, | ||
BN_MONT_CTX * | mont, | ||
BN_CTX * | ctx | ||
) |
BN_MONT_CTX* BN_MONT_CTX_copy | ( | BN_MONT_CTX * | to, |
BN_MONT_CTX * | from | ||
) |
void BN_MONT_CTX_free | ( | BN_MONT_CTX * | mont | ) |
void BN_MONT_CTX_init | ( | BN_MONT_CTX * | ctx | ) |
BN_MONT_CTX* BN_MONT_CTX_new | ( | void | ) |
int BN_MONT_CTX_set | ( | BN_MONT_CTX * | mont, |
const BIGNUM * | mod, | ||
BN_CTX * | ctx | ||
) |
BN_MONT_CTX* BN_MONT_CTX_set_locked | ( | BN_MONT_CTX ** | pmont, |
int | lock, | ||
const BIGNUM * | mod, | ||
BN_CTX * | ctx | ||
) |