Ryan Torok

Results 12 issues of Ryan Torok

This PR adds the device-side firmware/ujson template and the host-side Rust driver for testing the cryptolib ECDH implementation. Dependent on #21219

CherryPick:earlgrey_es_sival

Adds the wycheproof KMAC test vectors to `/sw/vendor/` and adds a python script and JSON schema to parse the test vectors into the format that will be used in the...

CherryPick:earlgrey_es_sival

Previously, RSA `verify` operations returned an invalid argument error when passed a value for the public exponent `e` other than 65537 (`2^16 + 1`), because we currently lack a variable-time...

CherryPick:earlgrey_es_sival

Previously, the RSA OAEP decryption logic incorrectly performed a hardware trap after completing the decryption if the passed buffer for the plaintext is exactly the correct size. This PR fixes...

CherryPick:earlgrey_es_sival

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...

This PR is the first in a series for the RSA test harness. This PR declares the JSON schema for RSA test vectors, implements the python parser to translate the...

This PR is a follow-on to #21195 and #21281 - Split the KMAC and hash hjson test vectors into separate files - Added parsers for hjson tests for KMAC and...

This PR adds a parser for the wycheproof RSA test vectors. This PR uses the tests from `testvectors_v1` in wycheproof. Dependent on #21590 and #21599

This PR is a follow-up to #21680. Adds a test harness for SPHINCS+ verify operation tests w/ SHAKE-256 in the style of the test harnesses for the algorithms in cryptolib....

CherryPick:earlgrey_es_sival

### Description The procedure to derive the ECDSA private key used for attestation at each of the three Key Manager boot stages (Creator Identity, Owner Intermediate, Owner Identity) includes a...

SW:ROM_EXT
SW:cryptolib
Manufacturing
FIPS