84 #ifndef ti_drivers_cryptoutils_cyptokey_CryptoKey__include 85 #define ti_drivers_cryptoutils_cyptokey_CryptoKey__include 117 #define CryptoKey_STATUS_RESERVED (-32) 132 #define CryptoKey_STATUS_SUCCESS (0) 140 #define CryptoKey_STATUS_ERROR (-1) 148 #define CryptoKey_STATUS_UNDEFINED_ENCODING (-2) Keyblob CryptoKey datastructure.
Definition: CryptoKey.h:196
uint32_t keyBlobLength
Definition: CryptoKey.h:198
CryptoKey_Plaintext plaintext
Definition: CryptoKey.h:212
static const CryptoKey_Encoding CryptoKey_KEYSTORE
Definition: CryptoKey.h:162
uint32_t keyIndex
Definition: CryptoKey.h:187
uint8_t CryptoKey_Encoding
List of the different types of CryptoKey.
Definition: CryptoKey.h:159
static const CryptoKey_Encoding CryptoKey_BLANK_PLAINTEXT
Definition: CryptoKey.h:161
static const CryptoKey_Encoding CryptoKey_KEYBLOB
Definition: CryptoKey.h:164
CryptoKey datastructure.
Definition: CryptoKey.h:209
Key store CryptoKey datastructure.
Definition: CryptoKey.h:184
static const CryptoKey_Encoding CryptoKey_BLANK_KEYBLOB
Definition: CryptoKey.h:165
int_fast16_t CryptoKey_getCryptoKeyType(CryptoKey *keyHandle, CryptoKey_Encoding *keyType)
Gets the key type of the CryptoKey.
void * keyStore
Definition: CryptoKey.h:185
static const CryptoKey_Encoding CryptoKey_PLAINTEXT
Definition: CryptoKey.h:160
uint32_t keyLength
Definition: CryptoKey.h:186
int_fast16_t CryptoKey_markAsBlank(CryptoKey *keyHandle)
Marks a CryptoKey as 'blank'.
uint8_t * keyBlob
Definition: CryptoKey.h:197
CryptoKey_KeyBlob keyBlob
Definition: CryptoKey.h:214
CryptoKey_Encoding encoding
Definition: CryptoKey.h:210
Plaintext CryptoKey datastructure.
Definition: CryptoKey.h:173
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:213
struct CryptoKey_SecurityPolicy_ CryptoKey_SecurityPolicy
Structure that specifies the restrictions on a CryptoKey.
Definition: CryptoKey.h:229
static const CryptoKey_Encoding CryptoKey_BLANK_KEYSTORE
Definition: CryptoKey.h:163
uint8_t * keyMaterial
Definition: CryptoKey.h:174
uint32_t keyLength
Definition: CryptoKey.h:175