mirror of https://github.com/ARMmbed/mbed-os.git
a-style fixes for code
parent
4a4af57c22
commit
ffaf083b75
|
@ -239,8 +239,7 @@ static void psa_mac_operation(void)
|
|||
break;
|
||||
}
|
||||
|
||||
while (data_remaining > 0)
|
||||
{
|
||||
while (data_remaining > 0) {
|
||||
size_to_read = MIN(data_remaining, MAX_DATA_CHUNK_SIZE_IN_BYTES);
|
||||
bytes_read = psa_read(msg.handle, 1, input_buffer,
|
||||
size_to_read);
|
||||
|
@ -254,8 +253,7 @@ static void psa_mac_operation(void)
|
|||
bytes_read);
|
||||
|
||||
// stop on error
|
||||
if (status != PSA_SUCCESS)
|
||||
{
|
||||
if (status != PSA_SUCCESS) {
|
||||
break;
|
||||
}
|
||||
data_remaining = data_remaining - bytes_read;
|
||||
|
@ -403,8 +401,7 @@ static void psa_hash_operation(void)
|
|||
break;
|
||||
}
|
||||
|
||||
while (data_remaining > 0)
|
||||
{
|
||||
while (data_remaining > 0) {
|
||||
size_to_read = MIN(data_remaining, MAX_DATA_CHUNK_SIZE_IN_BYTES);
|
||||
bytes_read = psa_read(msg.handle, 1, input_buffer,
|
||||
size_to_read);
|
||||
|
@ -418,8 +415,7 @@ static void psa_hash_operation(void)
|
|||
bytes_read);
|
||||
|
||||
// stop on error
|
||||
if (status != PSA_SUCCESS)
|
||||
{
|
||||
if (status != PSA_SUCCESS) {
|
||||
break;
|
||||
}
|
||||
data_remaining = data_remaining - bytes_read;
|
||||
|
|
Loading…
Reference in New Issue