Fix indentation issues
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
4daaa2bd05
commit
4e47a91d2e
2 changed files with 3 additions and 3 deletions
|
@ -5306,11 +5306,11 @@ static psa_status_t psa_tls12_prf_psk_to_ms_set_key(
|
|||
* - RFC 5489 for the definition of ECDHE-PSK.
|
||||
*/
|
||||
|
||||
if ( prf->state == PSA_TLS12_PRF_STATE_OTHER_KEY_SET )
|
||||
if( prf->state == PSA_TLS12_PRF_STATE_OTHER_KEY_SET )
|
||||
{
|
||||
*cur++ = MBEDTLS_BYTE_1( prf->other_secret_length );
|
||||
*cur++ = MBEDTLS_BYTE_0( prf->other_secret_length );
|
||||
if ( prf->other_secret_length != 0 )
|
||||
if( prf->other_secret_length != 0 )
|
||||
{
|
||||
memcpy( cur, prf->other_secret, prf->other_secret_length );
|
||||
mbedtls_platform_zeroize( prf->other_secret, prf->other_secret_length );
|
||||
|
|
|
@ -7060,7 +7060,7 @@ void derive_output( int alg_arg,
|
|||
|
||||
/* For output key derivation secret must be provided using
|
||||
input key, otherwise operation is not permitted. */
|
||||
if ( key_input_type == 1 )
|
||||
if( key_input_type == 1 )
|
||||
expected_status = PSA_SUCCESS;
|
||||
|
||||
psa_set_key_usage_flags( &attributes4, PSA_KEY_USAGE_EXPORT );
|
||||
|
|
Loading…
Reference in a new issue