aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/galois.h
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/galois.h')
-rw-r--r--lpg/libqr/galois.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lpg/libqr/galois.h b/lpg/libqr/galois.h
new file mode 100644
index 0000000..1adeb88
--- /dev/null
+++ b/lpg/libqr/galois.h
@@ -0,0 +1,12 @@
+#ifndef QR_GALOIS_H
+#define QR_GALOIS_H
+
+unsigned long gf_residue(unsigned long a,
+ unsigned long m);
+
+struct qr_bitstream * rs_generate_words(struct qr_bitstream * data,
+ size_t data_words,
+ size_t rs_words);
+
+#endif
+