Replace individual zeroization with memset
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
f94bd99368
commit
70f447dfe5
@ -3819,12 +3819,7 @@ psa_status_t psa_aead_abort( psa_aead_operation_t *operation )
|
||||
|
||||
status = psa_driver_wrapper_aead_abort( operation );
|
||||
|
||||
operation->id = 0;
|
||||
operation->nonce_set = 0;
|
||||
operation->lengths_set = 0;
|
||||
operation->ad_started = 0;
|
||||
operation->body_started = 0;
|
||||
operation->is_encrypt = 0;
|
||||
memset( operation, 0, sizeof( psa_aead_operation_t ) );
|
||||
|
||||
return( status );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user