gfp_decl.go 365 B

12345678910111213141516171819
  1. // +build amd64,!generic arm64,!generic
  2. package bn256
  3. // This file contains forward declarations for the architecture-specific
  4. // assembly implementations of these functions, provided that they exist.
  5. // go:noescape
  6. func gfpNeg(c, a *gfP)
  7. //go:noescape
  8. func gfpAdd(c, a, b *gfP)
  9. //go:noescape
  10. func gfpSub(c, a, b *gfP)
  11. //go:noescape
  12. func gfpMul(c, a, b *gfP)