Functions
CryptoKeyKeyStore_PSA_init.h File Reference
#include <ti/drivers/cryptoutils/cryptokey/CryptoKey.h>
#include <ti/drivers/cryptoutils/cryptokey/CryptoKeyKeyStore_PSA.h>
Include dependency graph for CryptoKeyKeyStore_PSA_init.h:

Go to the source code of this file.

Functions

int_fast16_t KeyStore_PSA_initKey (CryptoKey *keyHandle, KeyStore_PSA_KeyFileId keyID, size_t keyLength, void *keyAttributes)
 Initializes a CryptoKey type. More...
 
int_fast16_t KeyStore_PSA_initBlankKey (CryptoKey *keyHandle, KeyStore_PSA_KeyFileId keyID, size_t keyLength, void *keyAttributes)
 Initializes a Blank CryptoKey type. More...
 

Function Documentation

§ KeyStore_PSA_initKey()

int_fast16_t KeyStore_PSA_initKey ( CryptoKey keyHandle,
KeyStore_PSA_KeyFileId  keyID,
size_t  keyLength,
void *  keyAttributes 
)

Initializes a CryptoKey type.

Parameters
[in]keyHandlePointer to a CryptoKey which will be initialized to type CryptoKey_KEYSTORE and ready for use
[in]keyIDKey ID of the key in Key Store
[in]keyLengthLength of keying material in bytes
[in]keyAttributesPointer to the attributes for KeyStore key, use NULL if CryptoKey structure will not be used to generate keys
Returns
Returns a status code from CryptoKey.h

§ KeyStore_PSA_initBlankKey()

int_fast16_t KeyStore_PSA_initBlankKey ( CryptoKey keyHandle,
KeyStore_PSA_KeyFileId  keyID,
size_t  keyLength,
void *  keyAttributes 
)

Initializes a Blank CryptoKey type.

Parameters
[in]keyHandlePointer to a CryptoKey which will be initialized to type CryptoKey_BLANK_KEYSTORE and ready for use
[in]keyIDKey ID of the key in Key Store
[in]keyLengthLength of keying material in bytes
[in]keyAttributesPointer to the attributes for KeyStore key, use NULL if CryptoKey structure will not be used to generate keys
Returns
Returns a status code from CryptoKey.h
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale