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

clean: replace modulus generated by constants, add zero-alloc SetRandom #194

Merged
merged 21 commits into from
May 25, 2022

Conversation

gbotrel
Copy link
Collaborator

@gbotrel gbotrel commented May 25, 2022

  • clean: remove unused fuzz test files
  • refactor: remove Add Sub Double x86 asm impl
  • refactor: remove neg x86 impl
  • fix: no carry field generation path
  • docs: clean up and cosmetics
  • fix: fix previous commit
  • docs: cosmetics changes
  • style: simplyfing inverse in field element
  • style: cosmetics changes in field element
  • fix: ensure SetInterface(nil) doesn't panic
  • test: added IsUint64 test in field element
  • feat: use crypto/rand.Int for field.SetRandom
  • fix: remove dead code
  • test: use SetRandom instead of rand.read
  • style: cosmetics
  • build: restore golangci config
  • feat: added zero alloc SetRandom and replace hardcoded modulus words with constants
  • fix: correct endianess in SetRandom

@gbotrel gbotrel merged commit b6caa5f into develop May 25, 2022
@gbotrel gbotrel deleted the feat/setrandom branch May 25, 2022 19:52
@gbotrel gbotrel mentioned this pull request Aug 3, 2022
ivokub pushed a commit to ivokub/gnark-crypto that referenced this pull request Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant