MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClPsaDriver_Oracle.h File Reference

API definition of the PSA driver Oracle. More...

#include <common.h>
#include <psa/crypto.h>
#include <mcuxClKey.h>
#include <mcuxClConfig.h>

Go to the source code of this file.

Functions

psa_status_t mcuxClPsaDriver_Oracle_ExportPublicKey (mcuxClKey_Descriptor_t *pKey, uint8_t *data, size_t data_size, size_t *data_length, bool internal_representation)
 Oracle function for exporting of the public key created in ELS during KEY_GEN command.
psa_status_t mcuxClPsaDriver_Oracle_LoadKey (mcuxClKey_Descriptor_t *pKey)
 Oracle function for loading a key.
psa_status_t mcuxClPsaDriver_Oracle_SuspendKey (mcuxClKey_Descriptor_t *pKey)
 Oracle function for 'suspending' a key.
psa_status_t mcuxClPsaDriver_Oracle_ResumeKey (mcuxClKey_Descriptor_t *pKey)
 Oracle function for 'resuming' a previously 'suspended' key.
psa_status_t mcuxClPsaDriver_Oracle_UnloadKey (mcuxClKey_Descriptor_t *pKey)
 Oracle function for 'unloading' a previously loaded key.
psa_status_t mcuxClPsaDriver_Oracle_ReserveKey (mcuxClKey_Descriptor_t *pKey)
 Oracle function for allocating storage for a key that will be created by the psa driver.
psa_status_t mcuxClPsaDriver_Oracle_StoreKey (mcuxClKey_Descriptor_t *pKey)
 Oracle function for saving a key.
psa_status_t mcuxClPsaDriver_Oracle_ImportKey (mcuxClKey_Descriptor_t *pKey, const uint8_t *data, size_t data_length, size_t *key_buffer_length, size_t *bits)
 Oracle function for executing S50 specific activities when the import of key is done the PSA library will proceed with storing the key.
psa_status_t mcuxClPsaDriver_Oracle_GetKeyBufferSizeFromKeyData (const psa_key_attributes_t *attributes, const uint8_t *data, size_t data_length, size_t *key_buffer_length)
 Oracle function for determine the size required for a key buffer from the data supplied when importing a key.
psa_status_t mcuxClPsaDriver_Oracle_GetBuiltinKeyBufferSize (mbedtls_svc_key_id_t key_id, size_t *key_buffer_size)
 Oracle function for making keys that are installed upon boot in S50 and keys derived from those (built-in) available to be used with PSA API.
psa_status_t mcuxClPsaDriver_Oracle_GetBuiltinKeyBuffer (psa_key_attributes_t *attributes, uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length)
 Oracle function for making keys that are installed upon boot in S50 and keys derived from those (built-in) available to be used with PSA API.

Detailed Description

API definition of the PSA driver Oracle.