forked from cerc-io/plugeth
bd6879ac51
* core/vm, crypto/bn256: switch over to cloudflare library * crypto/bn256: unmarshal constraint + start pure go impl * crypto/bn256: combo cloudflare and google lib * travis: drop 386 test job
16 lines
211 B
Go
16 lines
211 B
Go
// +build amd64,!appengine,!gccgo
|
|
|
|
package bn256
|
|
|
|
// 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)
|