summaryrefslogtreecommitdiff
path: root/controller/fw/src/rslib.h
blob: 3ef6d19a16f57b200b6e2a153e49899c58085369 (plain)
1
2
3
4
5
6
7
8
9
#ifndef __RSLIB_H__
#define __RSLIB_H__

void rslib_encode(int nbits, size_t msglen, char msg[static msglen], char out[msglen + NPAR]);
int rslib_decode(int nbits, size_t msglen, char msg_inout[static msglen]);
int rslib_gexp(int z, int nbits);
size_t rslib_npar();

#endif /* __RSLIB_H__ */