Skip to content
  • Niels Möller's avatar
    Fix bug in ecc_ecdsa_verify. · 74ee0e82
    Niels Möller authored
    * ecc-ecdsa-verify.c (ecc_ecdsa_verify): Use ecc_mod_mul_canonical
    to compute the scalars used for ecc multiplication.
    * testsuite/ecdsa-verify-test.c (test_main): Add test case that
    triggers an assert on 64-bit platforms, without above fix.
    * testsuite/ecdsa-sign-test.c (test_main): Test case generating
    the same signature.
    (cherry picked from commit 2397757b)