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

Migration from micro_ecc to oberon backend for ECDSA. Signature verification failure.

Hi, 
I'm using code based on sdk/components/libraries/bootloader/dfu/ for ECDSA verification of the signature. But switched to Oberon crypto backend. The signature was successfully verified with micro ecc but fails with Oberon. 
I suspect next can be the root cause: 

// <q> NRF_CRYPTO_BACKEND_MICRO_ECC_LITTLE_ENDIAN_ENABLED - Enable non-standard little endian byte order.

// <i> This affects parameters for all ECC API (raw keys, signature, digest, shared secret). Only for use in nRF SDK DFU!

#ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_LITTLE_ENDIAN_ENABLED
#define NRF_CRYPTO_BACKEND_MICRO_ECC_LITTLE_ENDIAN_ENABLED 0
#endif

Please suggest the possible solution?

Parents Reply Children
Related