81 #ifndef ti_drivers_cryptoutils_cyptokey_CryptoKey__include 82 #define ti_drivers_cryptoutils_cyptokey_CryptoKey__include 113 #define CryptoKey_STATUS_RESERVED (-32) 128 #define CryptoKey_STATUS_SUCCESS (0) 136 #define CryptoKey_STATUS_ERROR (-1) 144 #define CryptoKey_STATUS_UNDEFINED_ENCODING (-2) CryptoKey_Plaintext plaintext
Definition: CryptoKey.h:197
static const CryptoKey_Encoding CryptoKey_KEYSTORE
Definition: CryptoKey.h:157
uint8_t CryptoKey_Encoding
List of the different types of CryptoKey.
Definition: CryptoKey.h:154
int_fast16_t CryptoKey_verifySecureOutputKey(CryptoKey *secureKey)
Function to verify a secure output CryptoKey.
static const CryptoKey_Encoding CryptoKey_BLANK_PLAINTEXT
Definition: CryptoKey.h:156
CryptoKey datastructure.
Definition: CryptoKey.h:192
Key store CryptoKey datastructure.
Definition: CryptoKey.h:178
int_fast16_t CryptoKey_getCryptoKeyType(CryptoKey *keyHandle, CryptoKey_Encoding *keyType)
Gets the key type of the CryptoKey.
uint32_t keyID
Definition: CryptoKey.h:181
static const CryptoKey_Encoding CryptoKey_PLAINTEXT
Definition: CryptoKey.h:155
int_fast16_t CryptoKey_verifySecureInputKey(CryptoKey *secureKey)
Function to verify a secure CryptoKey.
uint32_t keyLength
Definition: CryptoKey.h:180
int_fast16_t CryptoKey_markAsBlank(CryptoKey *keyHandle)
Marks a CryptoKey as 'blank'.
CryptoKey_Encoding encoding
Definition: CryptoKey.h:194
Plaintext CryptoKey datastructure.
Definition: CryptoKey.h:166
int_fast16_t CryptoKey_initSecurityPolicy(CryptoKey_SecurityPolicy *policy)
Function to initialize the CryptoKey_SecurityPolicy struct to its defaults.
void * keyAttributes
Definition: CryptoKey.h:182
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:198
struct CryptoKey_SecurityPolicy_ CryptoKey_SecurityPolicy
Structure that specifies the restrictions on a CryptoKey.
Definition: CryptoKey.h:212
static const CryptoKey_Encoding CryptoKey_BLANK_KEYSTORE
Definition: CryptoKey.h:158
uint8_t * keyMaterial
Definition: CryptoKey.h:168
uint32_t keyLength
Definition: CryptoKey.h:169