#include <stdio.h>
#include "bn/bn_lcl.h"
Go to the source code of this file.
|
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 MONT_WORD /* use the faster word-based algorithm */ |