usnistgov / ACVP-Server

A repository tracking releases of NIST's ACVP server. See www.github.com/usnistgov/ACVP for the protocol.
51 stars 18 forks source link

LMS Key Gen Test vector SEED length is not compliant to the RFC #334

Closed rubenvy closed 4 months ago

rubenvy commented 4 months ago

Hi,

In the ACVP, the SEED parameters are 32-bytes long, using LMS_SHA256_M24_H5 their length should be 24-bytes.

https://github.com/usnistgov/ACVP-Server/blob/eb31c8ef41d1f62177960180c16d6ae8b9fba648/gen-val/json-files/LMS-keyGen-1.0/prompt.json#L16

SEED is an m-byte value that is generated uniformly at random at the start of the process, https://datatracker.ietf.org/doc/html/rfc8554#appendix-A

How to process them?

rubenvy commented 4 months ago

Duplicate of https://github.com/usnistgov/ACVP-Server/issues/279