-
Enhancement
-
Resolution: Implemented
-
Medium
-
TI Device Drivers
-
TIDRIVERS-5493
-
TIDRIVERS_6_20_00
-
ECDH driver was updated to support Little Endian and Big Endian keys irrespective of elliptic curve type in the 6.10 SDK release. The ECDH.h header file examples and doxygen should be updated to reflect this change.
Further, all applications using the SimpleLink ECDH driver must make the following changes:
- Update ECDH_PublicKeyDataFormat to ECDH_KeyMaterialEndianness
- In ECDH_OperationGeneratePublicKey variables, publicKeyDataFormat member must be updated to keyMaterialEndianess
- In ECDH_OperationComputeSharedSecret variables, publicKeyDataFormat and sharedSecretDataFormat members must be updated to one member keyMaterialEndianess for the entire structure
- Replace ECDH_PUBLIC_KEY_DATA_FORMAT_OCTET_STRINGĀ with ECDH_BIG_ENDIAN_KEY
- Replace ECDH_PUBLIC_KEY_DATA_FORMAT_MONTGOMERY_X_ONLY with ECDH_LITTLE_ENDIAN_KEY