1. 25 Jan, 2020 2 commits
  2. 23 Jan, 2020 2 commits
  3. 16 Jan, 2020 2 commits
  4. 15 Jan, 2020 2 commits
  5. 10 Jan, 2020 4 commits
  6. 06 Jan, 2020 2 commits
  7. 03 Jan, 2020 1 commit
  8. 02 Jan, 2020 5 commits
  9. 01 Jan, 2020 2 commits
  10. 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
  11. 28 Dec, 2019 2 commits
  12. 25 Dec, 2019 5 commits
  13. 18 Dec, 2019 2 commits
  14. 17 Dec, 2019 1 commit
  15. 15 Dec, 2019 2 commits
  16. 14 Dec, 2019 3 commits
    • Niels Möller's avatar
      Comment fixes for ecc_add_ehh · e21efefa
      Niels Möller authored
      e21efefa
    • Niels Möller's avatar
      Comment fixes for ecc_add_eh · c87bd88c
      Niels Möller authored
      c87bd88c
    • 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
  17. 13 Dec, 2019 1 commit
  18. 09 Dec, 2019 1 commit
    • Niels Möller's avatar
      Revert itch macro changes. · a5e0d463
      Niels Möller authored
      We now have h_to_a_itch <= mul_itch, mul_g_itch. Add asserts at a few
      places relying on this.
      (ECC_ECDSA_KEYGEN_ITCH, ECC_MAX): Delete macros.
      (ECC_ECDSA_SIGN_ITCH): Revert previous change.
      a5e0d463