1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-04-28 10:05:05 +03:00

space and style fixes

This commit is contained in:
Nir Sonnenschein 2018-06-17 14:41:30 +03:00 committed by itayzafrir
parent 9627241beb
commit e9664c30f0

View File

@ -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;