mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Add internal iop export public-key abort API
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
e2a9b6a3b5
commit
14aef98758
@ -679,6 +679,16 @@ exit:
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
psa_status_t mbedtls_psa_ecp_export_public_key_iop_abort(
|
||||||
|
mbedtls_psa_export_public_key_iop_operation_t *operation)
|
||||||
|
{
|
||||||
|
mbedtls_ecp_keypair_free(operation->key);
|
||||||
|
mbedtls_free(operation->key);
|
||||||
|
mbedtls_ecp_restart_free(&operation->restart_ctx);
|
||||||
|
operation->num_ops = 0;
|
||||||
|
return PSA_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/****************************************************************/
|
/****************************************************************/
|
||||||
/* Interruptible ECC Key Agreement */
|
/* Interruptible ECC Key Agreement */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user