mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-07 09:55:50 +00:00
Fix style
Signed-off-by: Agathiyan Bragadeesh <agathiyan.bragadeesh2@arm.com>
This commit is contained in:
parent
da8c587531
commit
9ebfa7f64c
@ -189,8 +189,8 @@ static inline unsigned char mbedtls_ct_uchar_in_range_if(unsigned char low,
|
|||||||
unsigned char c,
|
unsigned char c,
|
||||||
unsigned char t)
|
unsigned char t)
|
||||||
{
|
{
|
||||||
const unsigned char co= (unsigned char) mbedtls_ct_compiler_opaque(c);
|
const unsigned char co = (unsigned char) mbedtls_ct_compiler_opaque(c);
|
||||||
const unsigned char to= (unsigned char) mbedtls_ct_compiler_opaque(t);
|
const unsigned char to = (unsigned char) mbedtls_ct_compiler_opaque(t);
|
||||||
|
|
||||||
/* low_mask is: 0 if low <= c, 0x...ff if low > c */
|
/* low_mask is: 0 if low <= c, 0x...ff if low > c */
|
||||||
unsigned low_mask = ((unsigned) co - low) >> 8;
|
unsigned low_mask = ((unsigned) co - low) >> 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user