goff

command
v0.0.0-...-6c19a75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package goff (go finite field) is a library that generates fast field arithmetic code for a given modulus.

Generated code is optimized for x86 (amd64) targets, and most methods do not allocate memory on the heap.

Example usage:

goff -m 0xffffffff00000001 -o ./goldilocks/ -p goldilocks -e Element

Warning

The generated code has not been audited for all moduli (only bn254 and bls12-381) and is provided as-is. In particular, there is no security guarantees such as constant time implementation or side-channel attack resistance.

Directories

Path Synopsis
Package cmd is the CLI interface for goff
Package cmd is the CLI interface for goff

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL