Optimization of pake core functions
Adapt pake test (passing NULL buffers is not allowed). Passing the null buffer to psa_pake_output results in a hard fault. Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
ac067d779e
commit
f62b3bb087
3 changed files with 18 additions and 27 deletions
|
@ -2816,7 +2816,7 @@ psa_status_t psa_driver_wrapper_pake_setup(
|
|||
psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
|
||||
|
||||
psa_key_location_t location =
|
||||
PSA_KEY_LIFETIME_GET_LOCATION( inputs->attributes.core.lifetime );
|
||||
PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime( &inputs->attributes ) );
|
||||
|
||||
switch( location )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue