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

BLE - security

Hi,

I have a question regarding diffie-hellman.

What exactly are we doing with diffie-hellman key? Do we use it to create another key? Or is it the key itself?

Thanks!

Parents Reply
  • Hi,

    Why do need another step after generating diffie-hellman key?

    Short answer - direct use of shared secret is insecure. The theory is somewhat complicated but we can trust OpenSSL wiki that clearly says: "Never use a derived secret directly".

    In addition - what about a connection which isn't bonded?

    Do we still have diffie-hellman and LTK?

    As Einar pointed out, LTK is the only key that we have after pairing process in case of LESC - we just have an option to forget it after disconnection when bonding is not required.

Children
Related