mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 20:17:17 +00:00
1203c6a237
* crypto/bn256: full switchover to cloudflare's code * crypto/bn256: only use cloudflare for optimized architectures * crypto/bn256: upstream fallback for non-optimized code * .travis, build: drop support for Go 1.8 (need type aliases) * crypto/bn256/cloudflare: enable curve mul lattice optimization
19 lines
365 B
Go
19 lines
365 B
Go
// +build amd64,!generic arm64,!generic
|
|
|
|
package bn256
|
|
|
|
// This file contains forward declarations for the architecture-specific
|
|
// assembly implementations of these functions, provided that they exist.
|
|
|
|
// go:noescape
|
|
func gfpNeg(c, a *gfP)
|
|
|
|
//go:noescape
|
|
func gfpAdd(c, a, b *gfP)
|
|
|
|
//go:noescape
|
|
func gfpSub(c, a, b *gfP)
|
|
|
|
//go:noescape
|
|
func gfpMul(c, a, b *gfP)
|