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:
Waleed Elmelegy 2024-10-21 17:43:24 +01:00
parent 7164dc52ce
commit 5d4de3582e
3 changed files with 5 additions and 5 deletions

View File

@ -8191,8 +8191,8 @@ psa_status_t psa_generate_key_iop_complete(
return PSA_ERROR_BAD_STATE; return PSA_ERROR_BAD_STATE;
} }
status = mbedtls_psa_generate_key_complete(&operation->ctx, key_data, status = mbedtls_psa_generate_key_iop_complete(&operation->ctx, key_data,
MBEDTLS_ECP_MAX_BYTES, &key_len); MBEDTLS_ECP_MAX_BYTES, &key_len);
if (status != PSA_SUCCESS) { if (status != PSA_SUCCESS) {
goto exit; goto exit;
} }

View File

@ -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. * \param[in] attributes The desired attributes of the generated key.
* *
* \retval #PSA_SUCCESS * \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. * with the same operation to complete the operation.
* * \retval #PSA_ERROR_NOT_SUPPORTED * * \retval #PSA_ERROR_NOT_SUPPORTED
* Either no internal interruptible operations are * 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 * \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, mbedtls_psa_generate_key_iop_t *operation,
uint8_t *key_output, uint8_t *key_output,
size_t key_output_size, size_t key_output_size,

View File

@ -617,7 +617,7 @@ psa_status_t mbedtls_psa_generate_key_iop_setup(
return mbedtls_to_psa_error(status); 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, mbedtls_psa_generate_key_iop_t *operation,
uint8_t *key_output, uint8_t *key_output,
size_t key_output_size, size_t key_output_size,