inital commit for edwards25519

This commit is contained in:
2026-03-06 21:58:16 +00:00
commit add7f0df60
30 changed files with 7181 additions and 0 deletions

20
field/fe_amd64_noasm.go Normal file
View File

@@ -0,0 +1,20 @@
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Source: https://sources.truenas.cloud/code
// Import: sources.truenas.cloud/code/edwards25519/field
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2019 The Go Authors. All rights Reserved.
// Use of this source code is goverened by a BSD-style
// license that can be found in the LICENSE file.
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//go:build !amd64 || purego
package field
func feMul(v, x, y *Element) { feMulGeneric(v, x, y) }
func feSquare(v, x *Element) { feSquareGeneric(v, x) }