mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-07-02 02:58:21 +00:00
Normalize whitespace to Mbed TLS standards
Only whitespace changes in this commit.
This commit is contained in:
parent
ef057ac8ed
commit
99bc649760
|
@ -1130,8 +1130,8 @@ psa_status_t psa_mac_start( psa_mac_operation_t *operation,
|
||||||
key_ptr, slot->data.raw.bytes);
|
key_ptr, slot->data.raw.bytes);
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
status = psa_hash_finish(&operation->ctx.hmac.hash_ctx, sum,
|
status = psa_hash_finish( &operation->ctx.hmac.hash_ctx,
|
||||||
sum_size, &sum_size);
|
sum, sum_size, &sum_size);
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
|
@ -1173,10 +1173,10 @@ cleanup:
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
{
|
{
|
||||||
psa_mac_abort(operation);
|
psa_mac_abort(operation);
|
||||||
return( mbedtls_to_psa_error( ret ) );
|
if ( ret != 0 )
|
||||||
|
status = mbedtls_to_psa_error(ret);
|
||||||
}
|
}
|
||||||
operation->key_set = 1;
|
|
||||||
return( PSA_SUCCESS );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
psa_status_t psa_mac_update( psa_mac_operation_t *operation,
|
psa_status_t psa_mac_update( psa_mac_operation_t *operation,
|
||||||
|
|
Loading…
Reference in a new issue