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).
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) |
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).
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?
bc-java/core/src/main/java/org/bouncycastle/pqc/crypto/xmss/XMSSUtil.java
Line 287 in 126ac9e