Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ec:msm:{Fixed,Variable}Base:msm_checked_len #348

Merged
merged 1 commit into from
Nov 16, 2021

Commits on Nov 16, 2021

  1. Add ec:msm:{Fixed,Variable}Base:msm_checked_len

    Add the new methods for checked fixed and variable base multi-scalar
    multiplication. They will return `None` if the arguments don't have the
    same length.
    
    This way, the users may confidently call this function without having to
    check the length themselves.
    
    Also, `ec:msm:{Fixed,Variable}BaseMSM` was renamed to
    `ec:msm::{Fixed,Variable}Base` to avoid redundancy. The import path
    contained `msm` several times, and now it contains only one incidence
    for the type resolution and one for the function call.
    
    Closes #319
    vlopes11 committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    aa8540c View commit details
    Browse the repository at this point in the history