TI BLE5-Stack API Documentation
1.01.12.00
|
ECCROMCC26XX_STATUS_* macros are command codes only defined in the ECCROMCC26XX.h driver implementation and need to:
#define ECCROMCC26XX_STATUS_ECDH_PT_CHECK_FAIL 0x5 |
Check for point on valid curve failed
#define ECCROMCC26XX_STATUS_ECDH_X_LARGER_THAN_PRIME 0x3 |
X coordinate of public key is larger than the curve prime
#define ECCROMCC26XX_STATUS_ECDH_X_ZERO 0x1 |
X coordinate of public key is 0
#define ECCROMCC26XX_STATUS_ECDH_Y_LARGER_THAN_PRIME 0x4 |
Y coordinate of public key is larger than the curve prime
#define ECCROMCC26XX_STATUS_ECDH_Y_ZERO 0x2 |
Y coordinate of public key is 0
#define ECCROMCC26XX_STATUS_ILLEGAL_PARAM -2 |
Illegal parameter
#define ECCROMCC26XX_STATUS_MALLOC_FAIL -1 |
Malloc Error Return Code
#define ECCROMCC26XX_STATUS_SUCCESS 0 |
Success Return Code
#define ECCROMCC26XX_STATUS_TIMEOUT -3 |
Semaphore Timeout