nRF9160DK ECDSA non-deterministic

Hello!
We are trying to sign our data using ECDSA (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/crypto/ecdsa/README.html), so we can send our information to an Ethereum Blockchain. We discovered that ECDSA non-deterministic algorithm is not so accurate. There is the possibility that the sign of ECDSA is not correct on the first attempt, but we need to execute our application more times.
Thank you all!

Parents Reply
  • Hi,

    I have got a prompt reply.

    We currently do not support Ethereum blockchain neither in MbedTLS nor in crypto runtimes. In addition, we do not support keccak256. We only support Deterministic ECDSA using HMAC_DRBG which uses SHA-256. In this case, SHA-256 (not keccak256) is the only valid hash for the input. We check deterministic ECDSA with SHA-256 and verify it with NIST test materials. It seems that the root issue in your case is keccak256 which is not supported and therefore leads to a wrong result.

    Best regards,
    Dejan

Children
Related