Skip to content

ml-dsa: add ComputeMu() #1060

@daxpedda

Description

@daxpedda

In #1023 we added methods for SignMu() and VerifyMu(), which basically allows for pre-hashing. However in practice, to compute Mu, you have to hash the public key tr, even though it is already present in both SigningKey::tr and VerifyingKey::tr.

Therefor I propose adding SigningKey::compute_mu() and VerifyingKey::compute_mu() to facilitate external mu signing and verifying.

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