MPHELL
5.0.0
|
Define a field. More...
#include <mphell-field.h>
Data Fields | |
void * | param |
field_type | type |
uint8_t | size |
uint16_t | bit_size |
field_elt | pool_1 [POOL_SIZE_FIELD] |
uint8_t | i_1 |
char | id [20] |
Define a field.
Definition at line 66 of file mphell-field.h.
uint16_t bit_size |
Size in bit
Definition at line 71 of file mphell-field.h.
uint8_t i_1 |
Index for pool 1
Definition at line 73 of file mphell-field.h.
char id[20] |
Field name
Definition at line 78 of file mphell-field.h.
void* param |
Pointer to a field information structure: fp_param_t for FP, fp2_param_t for FP2 and fp3_param_t for FP3
Definition at line 68 of file mphell-field.h.
field_elt pool_1[POOL_SIZE_FIELD] |
Pool of already initialised field element to accelerate field operations, use when STACK_1 is specified
Definition at line 72 of file mphell-field.h.
uint8_t size |
Size in blocks of the base prime field (ex: 4 for a 4 * 64 = 256 bits prime field on a 64 bits architecture)
Definition at line 70 of file mphell-field.h.
field_type type |
Type of field, FP, FP2 or FP3
Definition at line 69 of file mphell-field.h.