mirror of
https://github.com/pseXperiments/icicle.git
synced 2026-01-08 23:17:54 -05:00
go fmt
This commit is contained in:
@@ -41,7 +41,6 @@ func (p *Projective) FromLimbs(x, y, z []uint32) Projective {
|
||||
|
||||
func (p *Projective) FromAffine(a Affine) Projective {
|
||||
|
||||
|
||||
cA := (*C.affine_t)(unsafe.Pointer(&a))
|
||||
cP := (*C.projective_t)(unsafe.Pointer(p))
|
||||
C.bls12_377_from_affine(cA, cP)
|
||||
@@ -106,7 +105,7 @@ func (a *Affine) FromLimbs(x, y []uint32) Affine {
|
||||
|
||||
func (a Affine) ToProjective() Projective {
|
||||
var p Projective
|
||||
|
||||
|
||||
cA := (*C.affine_t)(unsafe.Pointer(&a))
|
||||
cP := (*C.projective_t)(unsafe.Pointer(&p))
|
||||
C.bls12_377_from_affine(cA, cP)
|
||||
|
||||
@@ -41,7 +41,6 @@ func (p *Projective) FromLimbs(x, y, z []uint32) Projective {
|
||||
|
||||
func (p *Projective) FromAffine(a Affine) Projective {
|
||||
|
||||
|
||||
cA := (*C.affine_t)(unsafe.Pointer(&a))
|
||||
cP := (*C.projective_t)(unsafe.Pointer(p))
|
||||
C.bn254_from_affine(cA, cP)
|
||||
|
||||
@@ -41,7 +41,6 @@ func (p *Projective) FromLimbs(x, y, z []uint32) Projective {
|
||||
|
||||
func (p *Projective) FromAffine(a Affine) Projective {
|
||||
|
||||
|
||||
cA := (*C.affine_t)(unsafe.Pointer(&a))
|
||||
cP := (*C.projective_t)(unsafe.Pointer(p))
|
||||
C.bw6_761_from_affine(cA, cP)
|
||||
|
||||
@@ -41,7 +41,6 @@ func (p *Projective) FromLimbs(x, y, z []uint32) Projective {
|
||||
|
||||
func (p *Projective) FromAffine(a Affine) Projective {
|
||||
|
||||
|
||||
cA := (*C.affine_t)(unsafe.Pointer(&a))
|
||||
cP := (*C.projective_t)(unsafe.Pointer(p))
|
||||
C.grumpkin_from_affine(cA, cP)
|
||||
|
||||
Reference in New Issue
Block a user