diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-16 23:39:43 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-16 23:39:43 +0200 |
commit | 446c2349b608fc4e25ac5846f4491bfa389330a6 (patch) | |
tree | de2cb1367175eafd649fbd75dddf42644dd00990 | |
parent | 4bc3b85894920df5a3102000e1d86e1c3321fc76 (diff) | |
download | busybox-w32-446c2349b608fc4e25ac5846f4491bfa389330a6.tar.gz busybox-w32-446c2349b608fc4e25ac5846f4491bfa389330a6.tar.bz2 busybox-w32-446c2349b608fc4e25ac5846f4491bfa389330a6.zip |
whitespace fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | libbb/sha1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/sha1.c b/libbb/sha1.c index 7e9b37d57..6d2f88457 100644 --- a/libbb/sha1.c +++ b/libbb/sha1.c | |||
@@ -38,18 +38,18 @@ | |||
38 | //#define rotl32(x,n) (((x) << (n)) | ((x) >> (32 - (n)))) | 38 | //#define rotl32(x,n) (((x) << (n)) | ((x) >> (32 - (n)))) |
39 | static ALWAYS_INLINE uint32_t rotl32(uint32_t x, unsigned n) | 39 | static ALWAYS_INLINE uint32_t rotl32(uint32_t x, unsigned n) |
40 | { | 40 | { |
41 | return (x << n) | (x >> (32 - n)); | 41 | return (x << n) | (x >> (32 - n)); |
42 | } | 42 | } |
43 | //#define rotr32(x,n) (((x) >> (n)) | ((x) << (32 - (n)))) | 43 | //#define rotr32(x,n) (((x) >> (n)) | ((x) << (32 - (n)))) |
44 | static ALWAYS_INLINE uint32_t rotr32(uint32_t x, unsigned n) | 44 | static ALWAYS_INLINE uint32_t rotr32(uint32_t x, unsigned n) |
45 | { | 45 | { |
46 | return (x >> n) | (x << (32 - n)); | 46 | return (x >> n) | (x << (32 - n)); |
47 | } | 47 | } |
48 | /* rotr64 in needed for sha512 only: */ | 48 | /* rotr64 in needed for sha512 only: */ |
49 | //#define rotr64(x,n) (((x) >> (n)) | ((x) << (64 - (n)))) | 49 | //#define rotr64(x,n) (((x) >> (n)) | ((x) << (64 - (n)))) |
50 | static ALWAYS_INLINE uint64_t rotr64(uint64_t x, unsigned n) | 50 | static ALWAYS_INLINE uint64_t rotr64(uint64_t x, unsigned n) |
51 | { | 51 | { |
52 | return (x >> n) | (x << (64 - n)); | 52 | return (x >> n) | (x << (64 - n)); |
53 | } | 53 | } |
54 | #if BB_LITTLE_ENDIAN | 54 | #if BB_LITTLE_ENDIAN |
55 | /* ALWAYS_INLINE below would hurt code size, using plain inline: */ | 55 | /* ALWAYS_INLINE below would hurt code size, using plain inline: */ |