#include <stdio.h>
#include "cryptlib.h"
#include "bn_lcl.h"
Go to the source code of this file.
|
BN_BLINDING * | BN_BLINDING_new (const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod) |
|
void | BN_BLINDING_free (BN_BLINDING *r) |
|
int | BN_BLINDING_update (BN_BLINDING *b, BN_CTX *ctx) |
|
int | BN_BLINDING_convert (BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) |
|
int | BN_BLINDING_convert_ex (BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) |
|
int | BN_BLINDING_invert (BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) |
|
int | BN_BLINDING_invert_ex (BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) |
|
unsigned long | BN_BLINDING_get_thread_id (const BN_BLINDING *b) |
|
void | BN_BLINDING_set_thread_id (BN_BLINDING *b, unsigned long n) |
|
CRYPTO_THREADID * | BN_BLINDING_thread_id (BN_BLINDING *b) |
|
unsigned long | BN_BLINDING_get_flags (const BN_BLINDING *b) |
|
void | BN_BLINDING_set_flags (BN_BLINDING *b, unsigned long flags) |
|
BN_BLINDING * | BN_BLINDING_create_param (BN_BLINDING *b, const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, int(*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx) |
|
#define BN_BLINDING_COUNTER 32 |
BN_BLINDING* BN_BLINDING_create_param |
( |
BN_BLINDING * |
b, |
|
|
const BIGNUM * |
e, |
|
|
BIGNUM * |
m, |
|
|
BN_CTX * |
ctx, |
|
|
int(*)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) |
bn_mod_exp, |
|
|
BN_MONT_CTX * |
m_ctx |
|
) |
| |
unsigned long BN_BLINDING_get_flags |
( |
const BN_BLINDING * |
b | ) |
|
unsigned long BN_BLINDING_get_thread_id |
( |
const BN_BLINDING * |
b | ) |
|