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

Return value

#PSA_SUCCESS \emptydescription #PSA_ERROR_NOT_PERMITTED One of the inputs was a key whose policy didn't allow #PSA_KEY_USAGE_DERIVE. #PSA_ERROR_INSUFFICIENT_DATA The operation's capacity was less than \p output_length bytes. Note that in this case, no output is written to the output buffer. The operation's capacity is set to 0, thus subsequent calls to this function will not succeed, even with a smaller output buffer. #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription #PSA_ERROR_COMMUNICATION_FAILURE \emptydescription #PSA_ERROR_HARDWARE_FAILURE \emptydescription #PSA_ERROR_CORRUPTION_DETECTED \emptydescription #PSA_ERROR_STORAGE_FAILURE \emptydescription #PSA_ERROR_BAD_STATE The operation state is not valid (it must be active and completed all required input steps), or 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.

References