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

#include <mecsctx.h>

Data Fields

BPU_T_EN_Mecs_Types type
 
int(* _encrypt )(BPU_T_GF2_Vector *out, const BPU_T_GF2_Vector *in, const struct _BPU_T_Mecs_Ctx *ctx)
 
int(* _decrypt )(BPU_T_GF2_Vector *out, const BPU_T_GF2_Vector *in, const struct _BPU_T_Mecs_Ctx *ctx)
 
int(* _genKeyPair )(struct _BPU_T_Code_Ctx *ctx)
 
BPU_T_Code_Ctxcode_ctx
 
uint16_t pt_len
 PT len in bits. More...
 
uint16_t ct_len
 CT len in bits. More...
 

Detailed Description

Definition at line 38 of file mecsctx.h.

Field Documentation

int(* _decrypt)(BPU_T_GF2_Vector *out, const BPU_T_GF2_Vector *in, const struct _BPU_T_Mecs_Ctx *ctx)

Definition at line 41 of file mecsctx.h.

int(* _encrypt)(BPU_T_GF2_Vector *out, const BPU_T_GF2_Vector *in, const struct _BPU_T_Mecs_Ctx *ctx)

Definition at line 40 of file mecsctx.h.

int(* _genKeyPair)(struct _BPU_T_Code_Ctx *ctx)

Definition at line 42 of file mecsctx.h.

BPU_T_Code_Ctx* code_ctx

Definition at line 44 of file mecsctx.h.

uint16_t ct_len

CT len in bits.

Definition at line 46 of file mecsctx.h.

uint16_t pt_len

PT len in bits.

Definition at line 45 of file mecsctx.h.

Definition at line 39 of file mecsctx.h.


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