Skip to content

Commit

Permalink
sm9/bn256: ppc64x gfp mul
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Oct 5, 2024
1 parent fca2c5e commit 9477b78
Show file tree
Hide file tree
Showing 3 changed files with 543 additions and 6 deletions.
5 changes: 5 additions & 0 deletions sm9/bn256/gfp_ppc64x.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ func gfpTripleAsm(c, a *gfP)
//
//go:noescape
func gfpSubAsm(c, a, b *gfP)

// Montgomery multiplication. Sets res = in1 * in2 * R⁻¹ mod p.
//
//go:noescape
func gfpMulAsm(c, a, b *gfP)
Loading

0 comments on commit 9477b78

Please sign in to comment.