Skip to content

Optimize clMul in Binary Common #129

Description

@dhsorens

Context

CompPoly/Fields/Binary/Common.lean contains this TODO above clMul:

optimize clMul, potentially using Karatsuba decomposition

clMul is currently a straightforward fold over 256 bits.

Proposed work

  • Replace the current implementation with a faster approach (Karatsuba or another documented strategy).
  • Keep the public API unchanged.

Acceptance criteria

  • clMul/clSq behavior is unchanged on representative test cases.
  • proofs and/or tests to show correctness

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions