Skip to content

Add modulus p as a class member of QMontgomeryUInt #1471

@fpapa250

Description

@fpapa250

As a part of #1425, we are adding class functions which can be used to convert in and out of montgomery form and also to calculate the montgomery product or inverse. These functions all require bitsize and modulus p. For now it is easy to use the bitsize in the calculations, but adding the modulus as a class member would be require all instances of QMontgomeryUInt to instantiate with p. We leave that as a TODO action item for now.

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