Fix LMS return statements having incorrect style

Signed-off-by: Raef Coles <raef.coles@arm.com>
This commit is contained in:
Raef Coles 2022-10-10 14:15:53 +01:00
parent 75b4c7790e
commit f6cb5a4826
No known key found for this signature in database
GPG key ID: 1AAF1B43DF2086F4
2 changed files with 3 additions and 3 deletions
library

View file

@ -92,7 +92,7 @@ unsigned int mbedtls_lms_network_bytes_to_unsigned_int( size_t len,
val |= ( ( unsigned int )bytes[idx] ) << (8 * ( len - 1 - idx ) );
}
return val;
return ( val );
}
/* Calculate the checksum digits that are appended to the end of the LMOTS digit
@ -117,7 +117,7 @@ static unsigned short lmots_checksum_calculate( const mbedtls_lmots_parameters_t
sum += DIGIT_MAX_VALUE - digest[idx];
}
return sum;
return ( sum );
}
/* Create the string of digest digits (in the base determined by the Winternitz