psa_generate_key_ext() is only used within mbedTLS.
 
Symbols
loading...
Files
loading (2/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

#PSA_SUCCESS Success. If the key is persistent, the key material and the key's metadata have been saved to persistent storage. #PSA_ERROR_ALREADY_EXISTS This is an attempt to create a persistent key, and there is already a persistent key with the given identifier. #PSA_ERROR_NOT_SUPPORTED \emptydescription #PSA_ERROR_INVALID_ARGUMENT \emptydescription #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription #PSA_ERROR_INSUFFICIENT_ENTROPY \emptydescription #PSA_ERROR_COMMUNICATION_FAILURE \emptydescription #PSA_ERROR_HARDWARE_FAILURE \emptydescription #PSA_ERROR_CORRUPTION_DETECTED \emptydescription #PSA_ERROR_INSUFFICIENT_STORAGE \emptydescription #PSA_ERROR_DATA_INVALID \emptydescription #PSA_ERROR_DATA_CORRUPT \emptydescription #PSA_ERROR_STORAGE_FAILURE \emptydescription #PSA_ERROR_BAD_STATE The library has not been previously initialized by psa_crypto_init(). It is implementation-dependent whether a failure to initialize results in this error code.

Notes

This is a deprecated variant of psa_key_derivation_output_key_custom(). It is equivalent except that the associated variable-length data is passed in `params->data` instead of a separate parameter. This function will be removed in a future version of Mbed TLS.

References