suites

package
v0.0.0-...-57993ae Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package suites allows callers to look up Kyber suites by name.

Currently, only the "ed25519" suite is available by default. To have access to "curve25519" and the NIST suites (i.e. "P256"), one needs to call the "go" tool with the tag "vartime", such as:

go build -tags vartime
go install -tags vartime
go test -tags vartime

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownSuite = errors.New("unknown suite")

ErrUnknownSuite indicates that the suite was not one of the registered suites.

Functions

This section is empty.

Types

type Suite

Suite is the sum of all suites mix-ins in Kyber.

func Find

func Find(name string) (Suite, error)

Find looks up a suite by name.

func MustFind

func MustFind(name string) Suite

MustFind looks up a suite by name and panics if it is not found.

Jump to

Keyboard shortcuts

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