This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Deterministic test vector-based tests of ECDSA with CC310

Hi,

we use CC310 (in nRF52840) in a project (working directly with the CRYS API from SDK 15.2.0). When doing a test of ECDSA with secp256r1, following the one given within the SDK (Load keys->Sign->Verify), everything works well. However, we would also like to perform deterministic tests, where we can choose all the inputs into the signing algorithm (including the one that is normally sampled with the RNG) and compare the output to a known result.

We tried to do this by feeding a dummy RNG_Function to the ECDSA signing algorithm, which outputs the desired "random data". However, the output signature does not correspond to the known result.

Is there any other way of doing the known-result tests for ECDSA signatures, and ECC key generation algorithm? How is the output of the RNG function processed by the ECDSA signing function?

Parents Reply Children
Related