commit | 66d5d076f754507e1746597a337053e2f7e64cf7 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jun 17 16:39:18 2014 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jun 17 17:06:47 2014 +0200 |
tree | defe06a26443ff41ca0af7e21283989c356b37ec | |
parent | db20c10423883f357f5cebc12a29cec4b16e95be [diff] [blame] |
Fix formatting in various code to match spacing from coding style
diff --git a/library/padlock.c b/library/padlock.c index ccc477e..d277ccf 100644 --- a/library/padlock.c +++ b/library/padlock.c
@@ -137,9 +137,9 @@ memcpy( iw, iv, 16 ); ctrl = iw + 4; - *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + (mode^1) - 10 ) << 9 ); + *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode ^ 1 ) - 10 ) << 9 ); - count = (length + 15) >> 4; + count = ( length + 15 ) >> 4; asm( "pushfl; popfl \n" \ "movl %%ebx, %0 \n" \