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) Definition: CryptoKey.h:160
Keyblob CryptoKey datastructure.
Definition: CryptoKey.h:197
uint32_t keyIndex
Definition: CryptoKey.h:188
Definition: CryptoKey.h:163
CryptoKey_Encoding_
List of the different types of CryptoKey.
Definition: CryptoKey.h:159
CryptoKey datastructure.
Definition: CryptoKey.h:210
uint8_t * keyMaterial
Definition: CryptoKey.h:175
CryptoKey_KeyBlob keyBlob
Definition: CryptoKey.h:215
Definition: CryptoKey.h:165
uint16_t keyLength
Definition: CryptoKey.h:176
Definition: CryptoKey.h:161
Definition: CryptoKey.h:164
int_fast16_t CryptoKey_getCryptoKeyType(CryptoKey *keyHandle, CryptoKey_Encoding *keyType)
Gets the key type of the CryptoKey.
struct CryptoKey_Plaintext_ CryptoKey_Plaintext
Plaintext CryptoKey datastructure.
struct CryptoKey_KeyStore_ CryptoKey_KeyStore
Key store CryptoKey datastructure.
Definition: CryptoKey.h:162
enum CryptoKey_Encoding_ CryptoKey_Encoding
List of the different types of CryptoKey.
struct CryptoKey_KeyBlob_ CryptoKey_KeyBlob
Keyblob CryptoKey datastructure.
int_fast16_t CryptoKey_markAsBlank(CryptoKey *keyHandle)
Marks a CryptoKey as 'blank'.
void * keyStore
Definition: CryptoKey.h:186
Plaintext CryptoKey datastructure.
Definition: CryptoKey.h:174
uint32_t keyBlobLength
Definition: CryptoKey.h:199
struct CryptoKey_ CryptoKey
CryptoKey datastructure.
CryptoKey_Encoding encoding
Definition: CryptoKey.h:211
CryptoKey_KeyStore keyStore
Definition: CryptoKey.h:214
Key store CryptoKey datastructure.
Definition: CryptoKey.h:185
uint8_t * keyBlob
Definition: CryptoKey.h:198
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.
uint16_t keyLength
Definition: CryptoKey.h:187
struct CryptoKey_SecurityPolicy_ CryptoKey_SecurityPolicy
Structure that specifies the restrictions on a CryptoKey.
Definition: CryptoKey.h:230
CryptoKey_Plaintext plaintext
Definition: CryptoKey.h:213