1. 15 Dec, 2020 1 commit
    • Antoine Rondelet's avatar
      Develop cleanup (#90) · 59292c16
      Antoine Rondelet authored
      * Removed local compilation files
      
      * Added missing newline
      
      * Fixed contribution instructions
      
      * Removed duplicated Testing title in README
      
      * Removed duplicated and erroneous lines for param init of edward curve
      59292c16
  2. 08 Dec, 2020 2 commits
  3. 02 Dec, 2020 1 commit
    • Alexander Wu's avatar
      Add binary fields and their tests (#86) · acccb179
      Alexander Wu authored
      * Add binary fields and their tests (all fields test fails because some functions aren't implemented yet)
      
      * Implement to/from_words() and ceil/floor_size_in_bits() for binary fields and update tests
      
      * Update changelog and test documentation
      acccb179
  4. 17 Nov, 2020 1 commit
  5. 16 Nov, 2020 1 commit
  6. 14 Nov, 2020 1 commit
  7. 13 Nov, 2020 1 commit
  8. 26 Oct, 2020 1 commit
  9. 24 Oct, 2020 1 commit
    • Alexander Wu's avatar
      Add implementation of methods for F_p^n consistent with new API (#76) · 847b0a4a
      Alexander Wu authored
      * Update fpn field implementations to match API and reorganize file structure
      
      * Add extra methods from PR#58 to Fp: ceil/floor_size_in_bits, to/from_words
      
      * Change from_words to return a bool and zero out leftmost bits
      
      * Add extra methods from PR#58 to rest of prime extension fields Fp^n: ceil/floor_size_in_bits, to/from_words
      
      * Remove Tonelli-Shanks parameters runtime initialization
      847b0a4a
  10. 20 Oct, 2020 3 commits
  11. 19 Oct, 2020 3 commits
  12. 25 Sep, 2020 15 commits
  13. 28 Apr, 2020 2 commits
  14. 27 Apr, 2020 1 commit
  15. 03 Apr, 2020 1 commit
  16. 01 Apr, 2020 3 commits
  17. 30 Mar, 2020 1 commit
  18. 27 Mar, 2020 1 commit
    • Madars Virza's avatar
      Clean up -Werror=uninitialized in curve public parameters. · 2e35bbbc
      Madars Virza authored
      Default constructor of all our curves returns the corresponding point
      at infinity via a code similar to:
      
      G()
      {
         this->X = G::G_zero.X;
         this->Y = G::G_zero.Y;
         this->Z = G::G_zero.Z;
      }
      
      This gives a compile-time warning as, of course, G_zero is a complex
      object (containing field elements in Montgomery form, for example) and
      has not been initialized (as init_public_params() is meant to be
      called at runtime).
      
      This commit suppresses this warning by introducing a sentinel variable
      G::initialized which we statically initialize to false, and set to
      true in init_public_params(). We then wrap code of the default
      constructor in a "if (G::initialized) { ... }" block.
      
      Note that this commit does _not_ introduce additional error checking
      for the scenarion when init_public_params is not called (no
      operations, apart from the default constructor access ::initialized).
      It is still user's responsibility to use init_public_params.
      2e35bbbc