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

App Signature Validation Failing

Hello. I have integrated signature validation before boot in my boot loader. This uses the `nrf_dfu_validation_boot_validate` function, which eventually calls into `nrf_crypto_backend_secp256r1_verify.The verify function is returning a signature verification failure. This behaviour is not reproducible on other devices, even with the exact same code (confirmed with flash dumps.) Further, it can be fixed by allocating slightly more memory to RAM, or by decreasing `NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE` to 1024. This leads me to presume that there is some issue with how I'm using RAM, but it's odd that I can't reproduce it on other units, or properly root cause it. What steps can I take to get to the bottom of this? Note that I've only allocated 0x7800 to the Bootloaders RAM (this will change.)

Parents Reply Children
No Data
Related