Skip to content

Separate functions to compute only one key from the seed #1272

Description

@gilles-peskine-arm

In environments where memory is tight, sometimes, we would like to compute the expanded private key from the ML-DSA seed (expand-private), or to compute the public key from the ML-DSA seed (export-public), without spending memory on the key that we don't need.

mld_sign_keypair_internal() computes both pk and sk from the seed. It would be nice to have similar functions that compute only one of the keys. (Especially export-public — I'm not sure if it's possible to save memory or computation for expand-private, given the need for the public key hash.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions