Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 | |
| bigint * | active_list | 
| Bigints currently used. | |
| bigint * | free_list | 
| Bigints not used. | |
| bigint * | bi_radix | 
| The radix used. | |
| bigint * | bi_mod [BIGINT_NUM_MODS] | 
| modulus | |
| bigint * | bi_RR_mod_m [BIGINT_NUM_MODS] | 
| R^2 mod m. | |
| bigint * | bi_R_mod_m [BIGINT_NUM_MODS] | 
| R mod m. | |
| bigint * | bi_mu [BIGINT_NUM_MODS] | 
| Storage for mu. | |
| bigint * | bi_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
| int active_count | 
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.
modulus
Definition at line 105 of file bigint_impl.h.
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.
| int free_count | 
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.
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.
Generated on Tue Jul 12 2022 16:40:22 by
 1.7.2
 1.7.2