Apocrypha

gf2x

C/C++ routines for fast arithmetic in GF(2)[x]

gf2x is a C/C++ software package containing routines for fast arithmetic in GF(2)[x] (multiplication, squaring, GCD) and searching for irreducible/primitive trinomials.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 1.3.0-r1 1 16 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvloongppc Committed
1.3.0-r1 gentoo amd64 stable arm64 stable x86 stable ppc64 testing riscv testing loong testing ppc stable view · download · history ↗

Use flags of 1.3.0-r1

  • fft Build an FFT API for multiplication of 2 polynomials over GF(2)
  • static-libs Build static versions of dynamic libraries as well
  • custom-tune Extra long compile time for tuning hardware specific low-level routines
5 expansion flags (python targets, ABIs, cpu flags…)
  • cpu_flags_x86_pclmul
  • cpu_flags_x86_sse2
  • cpu_flags_x86_sse3
  • cpu_flags_x86_sse4_1
  • cpu_flags_x86_ssse3