mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-15 23:42:41 +00:00
rename mbedtls_psa_generate_key_complete() to mbedtls_psa_generate_key_iop_complete()
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
7164dc52ce
commit
5d4de3582e
@ -8191,8 +8191,8 @@ psa_status_t psa_generate_key_iop_complete(
|
||||
return PSA_ERROR_BAD_STATE;
|
||||
}
|
||||
|
||||
status = mbedtls_psa_generate_key_complete(&operation->ctx, key_data,
|
||||
MBEDTLS_ECP_MAX_BYTES, &key_len);
|
||||
status = mbedtls_psa_generate_key_iop_complete(&operation->ctx, key_data,
|
||||
MBEDTLS_ECP_MAX_BYTES, &key_len);
|
||||
if (status != PSA_SUCCESS) {
|
||||
goto exit;
|
||||
}
|
||||
|
@ -443,7 +443,7 @@ psa_status_t psa_generate_key_internal(const psa_key_attributes_t *attributes,
|
||||
* \param[in] attributes The desired attributes of the generated key.
|
||||
*
|
||||
* \retval #PSA_SUCCESS
|
||||
* The operation started successfully - call \c mbedtls_psa_generate_key_complete()
|
||||
* The operation started successfully - call \c mbedtls_psa_generate_key_iop_complete()
|
||||
* with the same operation to complete the operation.
|
||||
* * \retval #PSA_ERROR_NOT_SUPPORTED
|
||||
* Either no internal interruptible operations are
|
||||
@ -479,7 +479,7 @@ psa_status_t mbedtls_psa_generate_key_iop_setup(
|
||||
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription
|
||||
*
|
||||
*/
|
||||
psa_status_t mbedtls_psa_generate_key_complete(
|
||||
psa_status_t mbedtls_psa_generate_key_iop_complete(
|
||||
mbedtls_psa_generate_key_iop_t *operation,
|
||||
uint8_t *key_output,
|
||||
size_t key_output_size,
|
||||
|
@ -617,7 +617,7 @@ psa_status_t mbedtls_psa_generate_key_iop_setup(
|
||||
return mbedtls_to_psa_error(status);
|
||||
}
|
||||
|
||||
psa_status_t mbedtls_psa_generate_key_complete(
|
||||
psa_status_t mbedtls_psa_generate_key_iop_complete(
|
||||
mbedtls_psa_generate_key_iop_t *operation,
|
||||
uint8_t *key_output,
|
||||
size_t key_output_size,
|
||||
|
Loading…
x
Reference in New Issue
Block a user