Galois Field implementation
This reference provides specific implementations for three error correcting BCH generators with a minimum hamming distance of 7

BCH codes

Note, also refer to Peterson's Table of Irreducible Polynomials which lists all primitive and irreducible polynomials over GF(2):