Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate addition chains for exponentiation by fixed value in Sqrt #97

Merged
merged 16 commits into from
Nov 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1
jobs:
build:
docker:
- image: cimg/go:1.17.1
- image: cimg/go:1.17.3
steps:
- checkout
- run: mkdir -p /tmp/test-results
Expand All @@ -11,8 +11,8 @@ jobs:
- go-mod-v1-{{ checksum "go.sum" }}
- run: if [[ -n $(gofmt -l .) ]]; then echo "Please run gofmt"; exit 1; fi
- run: go vet -v ./...
- run: go get golang.org/x/tools/cmd/goimports
- run: go get github.com/klauspost/asmfmt/cmd/asmfmt
- run: go install golang.org/x/tools/cmd/goimports@latest
- run: go install github.com/klauspost/asmfmt/cmd/asmfmt@latest
- run: go generate ./...
- run: git update-index --assume-unchanged go.mod
- run: git update-index --assume-unchanged go.sum
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: gosec
run: |
go install github.com/securego/gosec/cmd/gosec@latest
gosec -exclude G204 ./...
gosec -exclude="G204,G304" ./...
- name: generated files should not be modified
run: |
go generate ./...
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.dll
*.so
*.dylib
*.txt

# Test binary, build with `go test -c`
*.test
Expand All @@ -29,6 +30,7 @@ tasks.txt
internal/tests/integration/
field/internal/dev.go
field/internal/dev/**
field/generator/addchain/**

.vscode

Expand Down
15 changes: 2 additions & 13 deletions ecc/bls12-377/fp/element.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading