space and style fixes
This commit is contained in:
parent
9627241beb
commit
e9664c30f0
1 changed files with 4 additions and 4 deletions
|
@ -924,8 +924,8 @@ static const mbedtls_cipher_info_t *mbedtls_cipher_info_from_psa(
|
||||||
{
|
{
|
||||||
alg &= ~PSA_ALG_BLOCK_CIPHER_PADDING_MASK;
|
alg &= ~PSA_ALG_BLOCK_CIPHER_PADDING_MASK;
|
||||||
}
|
}
|
||||||
switch( alg )
|
|
||||||
|
|
||||||
|
switch( alg )
|
||||||
{
|
{
|
||||||
case PSA_ALG_STREAM_CIPHER:
|
case PSA_ALG_STREAM_CIPHER:
|
||||||
mode = MBEDTLS_MODE_STREAM;
|
mode = MBEDTLS_MODE_STREAM;
|
||||||
|
@ -1252,9 +1252,9 @@ psa_status_t psa_mac_update( psa_mac_operation_t *operation,
|
||||||
}
|
}
|
||||||
if ( ( ret != 0 ) || ( status != PSA_SUCCESS ) )
|
if ( ( ret != 0 ) || ( status != PSA_SUCCESS ) )
|
||||||
{
|
{
|
||||||
psa_mac_abort(operation);
|
psa_mac_abort( operation );
|
||||||
if (ret != 0)
|
if ( ret != 0 )
|
||||||
status = mbedtls_to_psa_error(ret);
|
status = mbedtls_to_psa_error( ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue