mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-27 12:16:07 +00:00
Use PSA Macros instead of legacy ones in psa_generate_key_iop_complete()
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
08e28e6573
commit
44e0f75ca3
@ -8184,7 +8184,7 @@ psa_status_t psa_generate_key_iop_complete(
|
||||
{
|
||||
#if defined(MBEDTLS_ECP_RESTARTABLE)
|
||||
psa_status_t status;
|
||||
uint8_t key_data[MBEDTLS_ECP_MAX_BYTES] = { 0 };
|
||||
uint8_t key_data[PSA_KEY_EXPORT_ECC_KEY_PAIR_MAX_SIZE(PSA_VENDOR_ECC_MAX_CURVE_BITS)] = { 0 };
|
||||
size_t key_len = 0;
|
||||
|
||||
if (operation->id == 0 || operation->error_occurred) {
|
||||
|
Loading…
Reference in New Issue
Block a user