From d39aafe4163d5137814281afd906fe63c64486fb Mon Sep 17 00:00:00 2001 From: JP Aumasson Date: Sun, 23 Mar 2014 12:22:30 +0100 Subject: code formatting --- siphash24.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'siphash24.c') diff --git a/siphash24.c b/siphash24.c index 131033a..6ebe360 100644 --- a/siphash24.c +++ b/siphash24.c @@ -1,7 +1,7 @@ /* SipHash reference C implementation - Written in 2012 by + Written in 2012 by Jean-Philippe Aumasson Daniel J. Bernstein @@ -82,27 +82,29 @@ int siphash( unsigned char *out, const unsigned char *in, unsigned long long in printf( "(%3d) compress %08x %08x\n", ( int )inlen, ( u32 )( m >> 32 ), ( u32 )m ); #endif v3 ^= m; - for(i=0;i> 32 ), ( u32 )b ); #endif v3 ^= b; - for(i=0;i> 32 ), ( u32 )v0 ); @@ -122,7 +126,9 @@ int siphash( unsigned char *out, const unsigned char *in, unsigned long long in printf( "(%3d) v3 %08x %08x\n", ( int )inlen, ( u32 )( v3 >> 32 ), ( u32 )v3 ); #endif v2 ^= 0xff; - for(i=0;i