Skip to content

XMSS SHAKE256 not aligned with NIST #2176

@rosualinpetru

Description

@rosualinpetru

Dear maintainers,

NIST has selected the following set of parameters for SHAKE256. The digest size is set to 32 (https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-208.pdf).

Image

At the moment, I expect the implementation follows RFC8391 (https://datatracker.ietf.org/doc/html/rfc8391#section-5.3) which precedes the NIST SP.

Can the code be updated to return 32 instead of 64 also for SHAKE256?

public static int getDigestSize(Digest digest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions