Remove field package which is no longer used

This commit is contained in:
arnaucube
2020-03-05 17:39:51 +01:00
parent 16a8a18a6d
commit 4750e9c83c
5 changed files with 3 additions and 197 deletions

View File

@@ -36,7 +36,7 @@ func generateConstantsData() constantsData {
func getConstants(seed string, nRounds int) []*ff.Element {
cts := make([]*ff.Element, nRounds)
cts[0] = ff.NewElement().SetZero()
cts[0] = ff.NewElement()
c := new(big.Int).SetBytes(crypto.Keccak256([]byte(SEED)))
for i := 1; i < nRounds; i++ {
c = new(big.Int).SetBytes(crypto.Keccak256(c.Bytes()))