Skip to content

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

Merged
gbotrel merged 21 commits intodevelopfrom
feat/setrandom
May 25, 2022
Merged

clean: replace modulus generated by constants, add zero-alloc SetRandom#194
gbotrel merged 21 commits intodevelopfrom
feat/setrandom

Conversation

@gbotrel
Copy link
Copy Markdown
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