1
0
mirror of https://github.com/biergaizi/codecrypt synced 2024-06-28 09:53:46 +00:00
codecrypt/lib/decoding.h

24 lines
722 B
C
Raw Normal View History

2012-04-06 12:49:40 +00:00
#ifndef _decoding_h_
#define _decoding_h_
#include "codecrypt.h"
using namespace ccr;
2012-06-03 21:28:18 +00:00
2012-11-05 20:30:08 +00:00
void compute_goppa_error_locator (polynomial&syndrome,
gf2m&fld,
polynomial&goppa,
std::vector<polynomial>& sqInv,
polynomial&loc);
void compute_alternant_error_locator (polynomial&syndrome,
gf2m&fld,
uint tt,
polynomial&loc);
2012-06-03 21:28:18 +00:00
bool evaluate_error_locator_dumb (polynomial&el, bvector&ev, gf2m&fld);
bool evaluate_error_locator_trace (polynomial&el, bvector&ev, gf2m&fld);
2012-04-06 12:49:40 +00:00
#endif