Skip to content

wNAF: sum-of-products multiscalar multiplication / linear combination #75

Description

@tarcieri

This is a feature request for either of Wnaf or WnafBase (although because I'm computing a*G+b*P for a fixed generator G it would probably be most helpful on WnafBase) to support optimizations that interleave doubling with addition within the main loop, allowing the doublings to apply to all of the points.

I imagine it would be easier for WnafBase than Wnaf as the former ensures WINDOW_SIZE compatibility at a type-level.

Similar features exist in the wNAF implementations in curve25519-dalek and the libsecp256k1 C library.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions