Macros
Status Codes

Macros

#define CryptoKey_STATUS_SUCCESS   (0)
 Successful status code. More...
 
#define CryptoKey_STATUS_ERROR   (-1)
 Generic error status code. More...
 
#define CryptoKey_STATUS_UNDEFINED_ENCODING   (-2)
 Returned if the encoding of a CryptoKey is not a CryptoKey_Encoding value. More...
 

Detailed Description

CryptoKey_STATUS_* macros are general status codes returned by CryptoKey_control()

Macro Definition Documentation

§ CryptoKey_STATUS_SUCCESS

#define CryptoKey_STATUS_SUCCESS   (0)

Successful status code.

CryptoKey_control() returns CryptoKey_STATUS_SUCCESS if the control code was executed successfully.

§ CryptoKey_STATUS_ERROR

#define CryptoKey_STATUS_ERROR   (-1)

Generic error status code.

CryptoKey_control() returns CryptoKey_STATUS_ERROR if the control code was not executed successfully.

§ CryptoKey_STATUS_UNDEFINED_ENCODING

#define CryptoKey_STATUS_UNDEFINED_ENCODING   (-2)

Returned if the encoding of a CryptoKey is not a CryptoKey_Encoding value.

CryptoKey_control() returns CryptoKey_STATUS_ERROR if the control code was not executed successfully.

Copyright 2018, Texas Instruments Incorporated