opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

[cryptotest] Add parser for manual hjson ECDSA tests

Open RyanTorok opened this issue 1 year ago • 1 comments

Adds a parser to incorporate the manual hjson ECDSA verify tests in /sw/device/tests/crypto/testvectors/ecdsa_p256_verify_hardcoded.hjson into the existing cryptotest framework. I verified the tests pass when applied on top of #20853 with the P-256 patch in #21115 applied.

RyanTorok avatar Feb 20 '24 19:02 RyanTorok

It would make the hjson very hard to read, because many of the values in the test vectors are stored as byte arrays, and we would have to hard-code an array of bytes.

RyanTorok avatar Feb 22 '24 18:02 RyanTorok