1. 01 Apr, 2020 2 commits
  2. 31 Mar, 2020 1 commit
    • Niels Möller's avatar
      Rework setting of LD_LIBRARY_PATH for tests. · b3474802
      Niels Möller authored
      * testsuite/Makefile.in (check): Pass only TEST_SHLIB_DIR
      to the run-tests script, and leave setting of LD_LIBRARY_PATH and
      related variables to that script.
      * examples/Makefile.in (check): Likewise.
      
      * run-tests: Check TEST_SHLIB_DIR, and set up LD_LIBRARY_PATH and
      related member variables.
      
      * config.make.in (abs_top_builddir, TEST_SHLIB_DIR): New variables.
      b3474802
  3. 26 Mar, 2020 1 commit
  4. 14 Mar, 2020 1 commit
  5. 09 Mar, 2020 1 commit
  6. 08 Mar, 2020 1 commit
  7. 15 Feb, 2020 1 commit
  8. 09 Feb, 2020 4 commits
  9. 06 Feb, 2020 1 commit
  10. 05 Feb, 2020 1 commit
  11. 26 Jan, 2020 4 commits
  12. 25 Jan, 2020 1 commit
  13. 15 Jan, 2020 2 commits
  14. 10 Jan, 2020 1 commit
  15. 03 Jan, 2020 1 commit
  16. 02 Jan, 2020 4 commits
  17. 01 Jan, 2020 2 commits
  18. 30 Dec, 2019 1 commit
    • Niels Möller's avatar
      Reorganize eddsa, based on patch by Daiki Ueno. · 1a85646b
      Niels Möller authored
      * eddsa-internal.h (struct ecc_eddsa): New struct for eddsa
      parameters.
      * ed25519-sha512.c (_nettle_ed25519_sha512): New parameter struct.
      * eddsa-expand.c (_eddsa_expand_key): Replace input
      struct nettle_hash with struct ecc_eddsa, and generalize for
      ed448. Update all callers.
      * eddsa-sign.c (_eddsa_sign): Likewise.
      * eddsa-verify.c (_eddsa_verify): Likewise.
      * eddsa-compress.c (_eddsa_compress): Store sign bit in most
      significant bit of last byte, as specified by RFC 8032.
      * eddsa-decompress.c (_eddsa_decompress): Corresponding update.
      Also generalize to support ed448, and make validity checks
      stricter.
      * testsuite/eddsa-sign-test.c (test_ed25519_sign): New function.
      (test_main): Use it.
      * testsuite/eddsa-verify-test.c (test_ed25519): New function.
      (test_main): Use it.
      1a85646b
  19. 28 Dec, 2019 1 commit
  20. 25 Dec, 2019 4 commits
  21. 18 Dec, 2019 2 commits
  22. 17 Dec, 2019 1 commit
  23. 15 Dec, 2019 1 commit
  24. 14 Dec, 2019 1 commit
    • Niels Möller's avatar
      New function ecc_mul_m. · b33eea3b
      Niels Möller authored
      * curve25519-mul.c (curve25519_mul): Use ecc_mul_m.
      * curve448-mul.c (curve448_mul): Likewise.
      
      * ecc-mul-m.c (ecc_mul_m): New file and function. Implements
      multipliction for curves in Montgomery representation, as used for
      curve25519 and curve448. Extracted from curve25519_mul.
      * ecc-internal.h (ecc_mul_m): Declare.
      (ECC_MUL_M_ITCH): New macro.
      * Makefile.in (hogweed_SOURCES): Add ecc-mul-m.c.
      b33eea3b