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

Go to the source code of this file.

Functions

void CryptoKey_s_copyCryptoKeyFromClient (CryptoKey *dstRandomKey, CryptoKey *srcRandomKey, int32_t clientId)
 Copy the KeyStore CryptoKey from client side. More...
 

Function Documentation

§ CryptoKey_s_copyCryptoKeyFromClient()

void CryptoKey_s_copyCryptoKeyFromClient ( CryptoKey dstRandomKey,
CryptoKey srcRandomKey,
int32_t  clientId 
)

Copy the KeyStore CryptoKey from client side.

Note
The key attributes contain different struct members depending on the context of build (Secure-only, Non-secure, or Secure). This function creates a secure copy of the CryptoKey structure, which contains the key attributes, from non-secure client to the secure CryptoKey structure.
© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale