joey shelton / LED_Demo2

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by joey shelton

Embed: (wiki syntax)

« Back to documentation index

BI_CTX Struct Reference

BI_CTX Struct Reference

Maintains the state of the cache, and a number of variables used in reduction. More...

#include <bigint_impl.h>

Data Fields

bigintactive_list
 Bigints currently used.
bigintfree_list
 Bigints not used.
bigintbi_radix
 The radix used.
bigintbi_mod [BIGINT_NUM_MODS]
 modulus
bigintbi_RR_mod_m [BIGINT_NUM_MODS]
 R^2 mod m.
bigintbi_R_mod_m [BIGINT_NUM_MODS]
 R mod m.
bigintbi_mu [BIGINT_NUM_MODS]
 Storage for mu.
bigintbi_normalised_mod [BIGINT_NUM_MODS]
 Normalised mod storage.
bigint ** g
 Used by sliding-window.
int window
 The size of the sliding window.
int active_count
 Number of active bigints.
int free_count
 Number of free bigints.
uint8_t use_classical
 Use classical reduction.
uint8_t mod_offset
 The mod offset we are using.

Detailed Description

Maintains the state of the cache, and a number of variables used in reduction.

Definition at line 100 of file bigint_impl.h.


Field Documentation

Number of active bigints.

Definition at line 117 of file bigint_impl.h.

Bigints currently used.

Definition at line 102 of file bigint_impl.h.

bigint* bi_mod[BIGINT_NUM_MODS]

modulus

Definition at line 105 of file bigint_impl.h.

bigint* bi_mu[BIGINT_NUM_MODS]

Storage for mu.

Definition at line 112 of file bigint_impl.h.

bigint* bi_normalised_mod[BIGINT_NUM_MODS]

Normalised mod storage.

Definition at line 114 of file bigint_impl.h.

bigint* bi_R_mod_m[BIGINT_NUM_MODS]

R mod m.

Definition at line 109 of file bigint_impl.h.

The radix used.

Definition at line 104 of file bigint_impl.h.

bigint* bi_RR_mod_m[BIGINT_NUM_MODS]

R^2 mod m.

Definition at line 108 of file bigint_impl.h.

Number of free bigints.

Definition at line 118 of file bigint_impl.h.

Bigints not used.

Definition at line 103 of file bigint_impl.h.

bigint** g

Used by sliding-window.

Definition at line 115 of file bigint_impl.h.

uint8_t mod_offset

The mod offset we are using.

Definition at line 123 of file bigint_impl.h.

uint8_t use_classical

Use classical reduction.

Definition at line 121 of file bigint_impl.h.

int window

The size of the sliding window.

Definition at line 116 of file bigint_impl.h.