81 #ifndef ti_drivers_cryptoutils_cyptokey_CryptoKey__include 82 #define ti_drivers_cryptoutils_cyptokey_CryptoKey__include 114 #define CryptoKey_STATUS_RESERVED (-32) 129 #define CryptoKey_STATUS_SUCCESS (0) 137 #define CryptoKey_STATUS_ERROR (-1) 145 #define CryptoKey_STATUS_UNDEFINED_ENCODING (-2) CryptoKey_Plaintext plaintext
Definition: CryptoKey.h:195
static const CryptoKey_Encoding CryptoKey_KEYSTORE
Definition: CryptoKey.h:159
uint32_t keyIndex
Definition: CryptoKey.h:182
uint8_t CryptoKey_Encoding
List of the different types of CryptoKey.
Definition: CryptoKey.h:156
static const CryptoKey_Encoding CryptoKey_BLANK_PLAINTEXT
Definition: CryptoKey.h:158
CryptoKey datastructure.
Definition: CryptoKey.h:192
Key store CryptoKey datastructure.
Definition: CryptoKey.h:179
int_fast16_t CryptoKey_getCryptoKeyType(CryptoKey *keyHandle, CryptoKey_Encoding *keyType)
Gets the key type of the CryptoKey.
void * keyStore
Definition: CryptoKey.h:180
static const CryptoKey_Encoding CryptoKey_PLAINTEXT
Definition: CryptoKey.h:157
uint32_t keyLength
Definition: CryptoKey.h:181
int_fast16_t CryptoKey_markAsBlank(CryptoKey *keyHandle)
Marks a CryptoKey as 'blank'.
CryptoKey_Encoding encoding
Definition: CryptoKey.h:193
Plaintext CryptoKey datastructure.
Definition: CryptoKey.h:168
int_fast16_t CryptoKey_initSecurityPolicy(CryptoKey_SecurityPolicy *policy)
Function to initialize the CryptoKey_SecurityPolicy struct to its defaults.
int_fast16_t CryptoKey_isBlank(CryptoKey *keyHandle, bool *isBlank)
Wheather the CryptoKey is 'blank' or represents valid keying material.
CryptoKey_KeyStore keyStore
Definition: CryptoKey.h:196
struct CryptoKey_SecurityPolicy_ CryptoKey_SecurityPolicy
Structure that specifies the restrictions on a CryptoKey.
Definition: CryptoKey.h:211
static const CryptoKey_Encoding CryptoKey_BLANK_KEYSTORE
Definition: CryptoKey.h:160
uint8_t * keyMaterial
Definition: CryptoKey.h:169
uint32_t keyLength
Definition: CryptoKey.h:170