Error in optimized ECC field arithmetic

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: security-libs
    • None

      In ecl_gf_c in the ECC code, there is an error in functions ec_GFp_sub_5 and ec_GFp_sub_6. In the if (borrow) block, there should be (5,6) MP_ADD_CARRY operations for ec_GFp_sub_(5,6) (including the first MP_ADD_CARRY_ZERO). Each of these functions is missing one add/carry operation.

      These functions are optimizations that are currently unused. This error will need to be fixed before these functions can be used by new curves (e.g. Brainpool).

            Assignee:
            Adam Petcher (Inactive)
            Reporter:
            Adam Petcher (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: