diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-05-03 22:40:33 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-05-09 09:09:55 +0100 |
commit | dccd20d1b55d15afdc80ad987ff37023d323dc42 (patch) | |
tree | 58c7f099bf0aee13969d18c9af3964909bfefeb6 /crypto/poly1305 | |
parent | e0d32e98f00cfd39977593ae1bc6cfd2ab6bbb0e (diff) | |
download | openssl-new-dccd20d1b55d15afdc80ad987ff37023d323dc42.tar.gz |
fix tab-space mixed indentation
No code change
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/poly1305')
-rw-r--r-- | crypto/poly1305/poly1305.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/crypto/poly1305/poly1305.c b/crypto/poly1305/poly1305.c index f553098ecf..a7c4a0824e 100644 --- a/crypto/poly1305/poly1305.c +++ b/crypto/poly1305/poly1305.c @@ -185,9 +185,9 @@ poly1305_blocks(void *ctx, const unsigned char *inp, size_t len, u32 padbit) h0 = (u64)(d0 = (u128)h0 + U8TOU64(inp + 0)); h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); /* - * padbit can be zero only when original len was - * POLY1306_BLOCK_SIZE, but we don't check - */ + * padbit can be zero only when original len was + * POLY1306_BLOCK_SIZE, but we don't check + */ h2 += (u64)(d1 >> 64) + padbit; /* h *= r "%" p, where "%" stands for "partial remainder" */ @@ -195,7 +195,7 @@ poly1305_blocks(void *ctx, const unsigned char *inp, size_t len, u32 padbit) ((u128)h1 * s1); d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + - (h2 * s1); + (h2 * s1); h2 = (h2 * r0); /* last reduction step: */ @@ -1012,14 +1012,14 @@ int main() Poly1305_Init(&poly1305, key); for (i=0;i<100000;i++) - Poly1305_Update(&poly1305,buf,sizeof(buf)); + Poly1305_Update(&poly1305,buf,sizeof(buf)); - stopwatch = OPENSSL_rdtsc(); + stopwatch = OPENSSL_rdtsc(); for (i=0;i<10000;i++) - Poly1305_Update(&poly1305,buf,sizeof(buf)); - stopwatch = OPENSSL_rdtsc() - stopwatch; + Poly1305_Update(&poly1305,buf,sizeof(buf)); + stopwatch = OPENSSL_rdtsc() - stopwatch; - printf("%g\n",stopwatch/(double)(i*sizeof(buf))); + printf("%g\n",stopwatch/(double)(i*sizeof(buf))); stopwatch = OPENSSL_rdtsc(); for (i=0;i<10000;i++) { |