This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Elliptic Curve Diffie-Hellman - which file?

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2642R

Hi,

I want to perform an ECDH key exchange on my application while the Bluetooth stack is running.  I recently fell into the trap of using the driverlib Crypto library instead of the TI driver CryptoCC26XX library.  Please could someone confirm which library I should be using for ECDH?  I have found the following and am not sure which is appropriate:

  • ECDH.h at C:\ti\simplelink_cc2640r2_sdk_1_50_00_58\source\ti\drivers\ecdh
  • ECDHCC26X2.h at C:\ti\simplelink_cc2640r2_sdk_1_50_00_58\source\ti\drivers\ecdh\ECDHCC26X2.h
  • ECDHROMCC26XX.h at C:\ti\simplelink_cc2640r2_sdk_1_50_00_58\source\ti\blestack\common\cc26xx\ecc\ECCROMCC26XX.h

Is there a general rule for identifying which to use that I could apply in the future?

Thanks,

Hester