BitPunch McEliece  v0.0.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
_BPU_T_Code_Ctx Struct Reference

#include <codectx.h>

Data Fields

BPU_T_EN_Code_Types type
 
int(* _encode )(BPU_T_GF2_Vector *out, const BPU_T_GF2_Vector *in, const struct _BPU_T_Code_Ctx *ctx)
 This is reference to encode function. It will be set in BPU_codeInitCtx. More...
 
int(* _decode )(BPU_T_GF2_Vector *out, const BPU_T_GF2_Vector *in, const struct _BPU_T_Code_Ctx *ctx)
 This is reference to decode function. It will be set in BPU_codeInitCtx. More...
 
BPU_T_Math_Ctxmath_ctx
 Math context. More...
 
BPU_T_GF2_Vectore
 Error vector. More...
 
BPU_T_UN_Code_Speccode_spec
 Code specific structure, like generator matrix, control matrix, gen. poly ... More...
 
uint16_t code_len
 Code len. More...
 
uint16_t msg_len
 Code dimenzion. More...
 
uint8_t t
 Error code correction capability. More...
 

Detailed Description

Definition at line 53 of file codectx.h.

Field Documentation

int(* _decode)(BPU_T_GF2_Vector *out, const BPU_T_GF2_Vector *in, const struct _BPU_T_Code_Ctx *ctx)

This is reference to decode function. It will be set in BPU_codeInitCtx.

Definition at line 56 of file codectx.h.

int(* _encode)(BPU_T_GF2_Vector *out, const BPU_T_GF2_Vector *in, const struct _BPU_T_Code_Ctx *ctx)

This is reference to encode function. It will be set in BPU_codeInitCtx.

Definition at line 55 of file codectx.h.

uint16_t code_len

Code len.

Definition at line 61 of file codectx.h.

BPU_T_UN_Code_Spec* code_spec

Code specific structure, like generator matrix, control matrix, gen. poly ...

Definition at line 59 of file codectx.h.

Error vector.

Definition at line 58 of file codectx.h.

BPU_T_Math_Ctx* math_ctx

Math context.

Definition at line 57 of file codectx.h.

uint16_t msg_len

Code dimenzion.

Definition at line 62 of file codectx.h.

uint8_t t

Error code correction capability.

Definition at line 63 of file codectx.h.

Definition at line 54 of file codectx.h.


The documentation for this struct was generated from the following file: