66 #endif // GOPPATYPES_H
uint16_t t
error capability of code
BPU_T_GF2_Matrix * g_mat
Generator matrix.
void BPU_goppaFreeParams(BPU_T_Goppa_Params **params)
BPU_goppaFreeParams Free goppa code params.
uint16_t m
degree of mod polynomial
BPU_T_Perm_Vector * permutation
permutation "matrix"
BPU_T_GF2_16x_Matrix * h_mat
Control matrix H.
uint16_t support_len
number of elements in support
void BPU_goppaFreeSpec(BPU_T_Goppa_Spec *spec)
BPU_goppaFreeSpec Free Goppa code internal structure.
struct _BPU_T_Goppa_Spec BPU_T_Goppa_Spec
int BPU_goppaInitParams(BPU_T_Goppa_Params **params, const uint16_t m, const uint16_t t, const BPU_T_GF2_16x mod)
BPU_goppaInitParams Initi Goppa code params.
BPU_T_GF2_16x mod
Galois field polynomial.
struct _BPU_T_Goppa_Params BPU_T_Goppa_Params
BPU_T_GF2_16x_Poly * g
gen. polynomial