Name Description Size
info.txt 190
zfec.cpp Tables for arithetic in GF(2^8) using 1+x^2+x^3+x^4+x^8 See Lin & Costello, Appendix A, and Lee & Messerschmitt, p. 453. Generate GF(2**m) from the irreducible polynomial p(X) in p[0]..p[m] Lookup tables: index->polynomial form gf_exp[] contains j= \alpha^i; polynomial form -> index form gf_log[ j = \alpha^i ] = i \alpha=x is the primitive element of GF(2^m) 18569
zfec.h A forward error correction code compatible with the zfec library (https://github.com/tahoe-lafs/zfec) This algorithm is *not constant time* and is likely succeptible to side channels. Do not use this class to encode information that should be kept secret. (If nothing else, because the first K shares are simply the original input!) 2599
zfec_sse2
zfec_vperm