1. 29 Sep, 2022 1 commit
  2. 28 Sep, 2022 3 commits
  3. 14 Sep, 2022 2 commits
    • Niels Möller's avatar
      Fix ECDSA verify corner case · 4eb5868c
      Niels Möller authored
      * ecc-ecdsa-verify.c (ecc_ecdsa_verify): Use ecc_nonsec_add_jjj,
      to produce correct result in a corner case where point addition
      needs to use point duplication. Also use ecc_j_to_a rather than
      ecc->h_to_a, since ecdsa supports only weierstrass curves.
      * ecc-gostdsa-verify.c (ecc_gostdsa_verify): Analogous change.
      
      * testsuite/ecdsa-verify-test.c (test_main): Add corresponding test.
      * testsuite/ecdsa-sign-test.c (test_main): And a test producing
      the problematic signature.
      4eb5868c
    • Niels Möller's avatar
      New function ecc_nonsec_add_jjj · daabcc72
      Niels Möller authored
      daabcc72
  4. 08 Sep, 2022 1 commit
    • Niels Möller's avatar
      Cleanup of eccdata. · 8e2adda2
      Niels Möller authored
      * eccdata.c (string_toupper): New utility function.
      (output_modulo): Move more of the per-modulo output here.
      (output_curve): Remove corresponding code.
      8e2adda2
  5. 31 Aug, 2022 1 commit
  6. 18 Aug, 2022 3 commits
  7. 17 Aug, 2022 1 commit
  8. 16 Aug, 2022 2 commits
    • Niels Möller's avatar
      Reduce output range of ecc_mod_sub. · 62c74f1f
      Niels Möller authored
      * ecc-mod-arith.c (ecc_mod_sub): Ensure that if inputs are in the
      range 0 <= a, b < 2m, then output is in the same range.
      * eccdata.c (output_curve): New outputs ecc_Bm2p and ecc_Bm2q.
      * ecc-internal.h (struct ecc_modulo): New member Bm2m (B^size -
      2m), needed by ecc_mod_sub. Update all curves.
      * testsuite/ecc-mod-arith-test.c: New tests for ecc_mod_add and
      ecc_mod_sub.
      62c74f1f
    • Niels Möller's avatar
      Minor cleanup to eccdata program · ff55a587
      Niels Möller authored
      ff55a587
  9. 07 Aug, 2022 2 commits
  10. 05 Aug, 2022 2 commits
  11. 04 Aug, 2022 1 commit
  12. 29 Jul, 2022 1 commit
  13. 26 Jul, 2022 1 commit
  14. 11 Jul, 2022 1 commit
  15. 05 Jul, 2022 2 commits
  16. 20 Jun, 2022 1 commit
    • Niels Möller's avatar
      Additional tests for sha1 and sha256 compression. · 17bbcd3b
      Niels Möller authored
      * testsuite/sha1-test.c (test_sha1_compress): New function.
      (test_main): Add tests for compressing 0, 1 or 2 blocks.
      * testsuite/sha256-test.c (test_sha256_compress): New function.
      (test_main): Add tests for compressing 0, 1 or 2 blocks.
      17bbcd3b
  17. 12 Jun, 2022 1 commit
  18. 09 Jun, 2022 4 commits
  19. 23 May, 2022 2 commits
  20. 20 May, 2022 1 commit
  21. 05 May, 2022 2 commits
  22. 28 Apr, 2022 1 commit
  23. 09 Apr, 2022 1 commit
  24. 17 Mar, 2022 1 commit
  25. 22 Feb, 2022 1 commit
  26. 21 Feb, 2022 1 commit