Skip to content

GFNI as microkernel #36

@Malkovsky

Description

@Malkovsky

Few years ago Intel released Galois Field New Instructions mostly for something like Reed-Solomon codes and Rijndael encryption. Besides multiplication in GF(256) it also provides a GF2P8AFFINEQB instruction which technically computes A=BX+C in chunks of 2/4/8 for 128/256/512 registers where A, B, X being 8x8 binary matrices, C is binary vector of 8. This instruction can entirely replace M4R precomputed tables.

Here's an example
https://github.com/Malkovsky/galois/blob/main/src/field.cc#L187

I can contribute if you help me with the entry point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions