1// Copyright 2022 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5// Package nistec implements the NIST P elliptic curves from FIPS 186-4. 6// 7// This package uses fiat-crypto or specialized assembly and Go code for its 8// backend field arithmetic (not math/big) and exposes constant-time, heap 9// allocation-free, byte slice-based safe APIs. Group operations use modern and 10// safe complete addition formulas where possible. The point at infinity is 11// handled and encoded according to SEC 1, Version 2.0, and invalid curve points 12// can't be represented. 13package nistec 14 15//go:generate go run generate.go 16