From 5848bf2918dab49eafef2253177ac843452399df Mon Sep 17 00:00:00 2001 From: cool-developer <51834436+cool-develope@users.noreply.github.com> Date: Fri, 18 Mar 2022 14:06:18 -0400 Subject: [PATCH] Update element.go --- ffg/element.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/ffg/element.go b/ffg/element.go index 75fe2f8..9e9a503 100644 --- a/ffg/element.go +++ b/ffg/element.go @@ -228,7 +228,6 @@ func (z *Element) SetRandom() (*Element, error) { // if z > q --> z -= q // note: this is NOT constant time if !(z[0] < 18446744069414584321) { - // var b uint64 z[0], _ = bits.Sub64(z[0], 18446744069414584321, 0) } @@ -323,7 +322,6 @@ func _mulGeneric(z, x, y *Element) { if t[1] != 0 { // we need to reduce, we have a result on 2 words - // var b uint64 z[0], _ = bits.Sub64(t[0], 18446744069414584321, 0) return @@ -399,7 +397,6 @@ func _subGeneric(z, x, y *Element) { var b uint64 z[0], b = bits.Sub64(x[0], y[0], 0) if b != 0 { - // var c uint64 z[0], _ = bits.Add64(z[0], 18446744069414584321, 0) } }