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

BLE mode 1 level 2 with just works. Implementing SHA256 hash algorithm.

Hello,

I am working on a nRF52840 and started with the SDK15 gls bonding example.  The device has no buttons or display so we are stuck with 1v2.  We are hoping to incorporate a SHA256 hash algorithm that all of our characteristics run through before being sent over ble.  I have found the nRF_crypto_hash library that uses an init, update, finalize or just calculate with the necessary info and references.  I am having trouble finding an example that basically replaces the use of ECDH key generation with a SHA256 hash algorithm.  I am currently using the peer manager and when I experimented with MITM it was handling all of the encryption with for bonding.  If someone could point me in the right direction or give me some next steps that would be great,

Thank you,

Bloq

Related