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

Go to the source code of this file.

Classes

struct  bignum_pool_item
 
struct  bignum_pool
 
struct  bignum_ctx_stack
 
struct  bignum_ctx
 

Macros

#define NDEBUG
 
#define BN_CTX_POOL_SIZE   16
 
#define BN_CTX_START_FRAMES   32
 
#define CTXDBG_ENTRY(str, ctx)
 
#define CTXDBG_EXIT(ctx)
 
#define CTXDBG_RET(ctx, ret)
 

Typedefs

typedef struct bignum_pool_item BN_POOL_ITEM
 
typedef struct bignum_pool BN_POOL
 
typedef struct bignum_ctx_stack BN_STACK
 

Functions

void BN_CTX_init (BN_CTX *ctx)
 
BN_CTXBN_CTX_new (void)
 
void BN_CTX_free (BN_CTX *ctx)
 
void BN_CTX_start (BN_CTX *ctx)
 
void BN_CTX_end (BN_CTX *ctx)
 
BIGNUMBN_CTX_get (BN_CTX *ctx)
 

Macro Definition Documentation

#define BN_CTX_POOL_SIZE   16

Definition at line 82 of file bn_ctx.c.

#define BN_CTX_START_FRAMES   32

Definition at line 84 of file bn_ctx.c.

#define CTXDBG_ENTRY (   str,
  ctx 
)

Definition at line 192 of file bn_ctx.c.

#define CTXDBG_EXIT (   ctx)

Definition at line 193 of file bn_ctx.c.

#define CTXDBG_RET (   ctx,
  ret 
)

Definition at line 194 of file bn_ctx.c.

#define NDEBUG

Definition at line 59 of file bn_ctx.c.

Typedef Documentation

typedef struct bignum_pool BN_POOL
typedef struct bignum_ctx_stack BN_STACK

Function Documentation

void BN_CTX_end ( BN_CTX ctx)

Definition at line 270 of file bn_ctx.c.

void BN_CTX_free ( BN_CTX ctx)

Definition at line 231 of file bn_ctx.c.

BIGNUM* BN_CTX_get ( BN_CTX ctx)

Definition at line 288 of file bn_ctx.c.

void BN_CTX_init ( BN_CTX ctx)

Definition at line 200 of file bn_ctx.c.

BN_CTX* BN_CTX_new ( void  )

Definition at line 214 of file bn_ctx.c.

void BN_CTX_start ( BN_CTX ctx)

Definition at line 255 of file bn_ctx.c.