avx

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Copyright 2018 (c) NSPCC

Package gf127 implements the GF(2^127) arithmetic modulo reduction polynomial x^127 + x^63 + 1 . This is rather straight-forward re-implementation of C library available here https://github.com/srijs/hwsl2-core . Interfaces are highly influenced by math/big .

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(a, b, c *GF127)

Add sets c to a+b.

func Mul

func Mul(a, b, c *GF127)

Mul sets c to a*b.

func Mul10

func Mul10(a, b *GF127)

Mul10 sets b to a*x.

func Mul11

func Mul11(a, b *GF127)

Mul11 sets b to a*(x+1).

Types

type GF127

type GF127 = gf127.GF127

GF127 is an alias for a main type.

Jump to

Keyboard shortcuts

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