OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
bn_recp.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include "bn_lcl.h"

Go to the source code of this file.

Functions

void BN_RECP_CTX_init (BN_RECP_CTX *recp)
 
BN_RECP_CTXBN_RECP_CTX_new (void)
 
void BN_RECP_CTX_free (BN_RECP_CTX *recp)
 
int BN_RECP_CTX_set (BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx)
 
int BN_mod_mul_reciprocal (BIGNUM *r, const BIGNUM *x, const BIGNUM *y, BN_RECP_CTX *recp, BN_CTX *ctx)
 
int BN_div_recp (BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, BN_CTX *ctx)
 
int BN_reciprocal (BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx)
 

Function Documentation

int BN_div_recp ( BIGNUM dv,
BIGNUM rem,
const BIGNUM m,
BN_RECP_CTX recp,
BN_CTX ctx 
)

Definition at line 130 of file bn_recp.c.

int BN_mod_mul_reciprocal ( BIGNUM r,
const BIGNUM x,
const BIGNUM y,
BN_RECP_CTX recp,
BN_CTX ctx 
)

Definition at line 103 of file bn_recp.c.

int BN_reciprocal ( BIGNUM r,
const BIGNUM m,
int  len,
BN_CTX ctx 
)

Definition at line 217 of file bn_recp.c.

void BN_RECP_CTX_free ( BN_RECP_CTX recp)

Definition at line 83 of file bn_recp.c.

void BN_RECP_CTX_init ( BN_RECP_CTX recp)

Definition at line 63 of file bn_recp.c.

BN_RECP_CTX* BN_RECP_CTX_new ( void  )

Definition at line 71 of file bn_recp.c.

int BN_RECP_CTX_set ( BN_RECP_CTX recp,
const BIGNUM d,
BN_CTX ctx 
)

Definition at line 94 of file bn_recp.c.