Corrects a buffer overflow in PrimitivePolynomialField::new
. Please update
immediately!
PrimitivePolynomialField::new
no longer writes one byte past its allocatedvec
(thanks to @thejohncrafter for finding and fixing the issue).
Documentation fix only: functionality is identical to the 0.1.0 release.
galois_2p8
documentation:- changed line: "is reduced by a factor of
2^(log(a) - 1)
" to "is reduced by a factor of2^(x - 5)
" for space savings arising from the usage ofPrimitivePolynomialField
.
- changed line: "is reduced by a factor of
galois_2p8::field
documentation:- changed line: "ensures that all
2^(n-1)
values from0
to2^(n-1) - 1
are represented" to "ensures that all2^n
values from0
to2^n - 1
". This fixes an off-by-one error in the definition of a degreen
polynomial. - Added monospace formatting to
"simd"
feature.
- changed line: "ensures that all
Initial release.
- Enumeration
IrreducablePolynomial
containing all valid irreducable polynomials forGF(2^8)
- Arithmetic implementations for both general
GF(2^8)
fields (GeneralField
) and fields over primitive polynomials (PrimitivePolynomialField
) - (Optional) SIMD-accelerated vector operations in
both field implementations if compiled with the
"simd"
feature