summaryrefslogtreecommitdiffstats
path: root/src/sha256.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
commit9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch)
treea02c2a507b3d536182d81e78b878b6b29c617cb9 /src/sha256.c
parent1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff)
downloadfastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar
fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip
Coding style: always add a space between a pointer's type and the *
Diffstat (limited to 'src/sha256.c')
-rw-r--r--src/sha256.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sha256.c b/src/sha256.c
index a9007da..3d6401f 100644
--- a/src/sha256.c
+++ b/src/sha256.c
@@ -145,7 +145,7 @@ static void sha256_blocks_va(uint32_t out[FASTD_SHA256_HASH_WORDS], va_list ap)
va_list ap2;
va_copy(ap2, ap);
- while (va_arg(ap2, const uint32_t*))
+ while (va_arg(ap2, const uint32_t *))
count++;
va_end(ap2);
@@ -153,7 +153,7 @@ static void sha256_blocks_va(uint32_t out[FASTD_SHA256_HASH_WORDS], va_list ap)
size_t i = 0;
const uint32_t *block;
- while ((block = va_arg(ap, const uint32_t*)) != NULL)
+ while ((block = va_arg(ap, const uint32_t *)) != NULL)
blocks[i++] = block;
sha256_list(out, blocks, count*FASTD_SHA256_BLOCK_BYTES);
@@ -228,7 +228,7 @@ static void hmacsha256_blocks_va(fastd_sha256_t *out, const uint32_t key[FASTD_H
va_list ap2;
va_copy(ap2, ap);
- while (va_arg(ap2, const uint32_t*))
+ while (va_arg(ap2, const uint32_t *))
count++;
va_end(ap2);
@@ -236,7 +236,7 @@ static void hmacsha256_blocks_va(fastd_sha256_t *out, const uint32_t key[FASTD_H
size_t i = 0;
const uint32_t *block;
- while ((block = va_arg(ap, const uint32_t*)) != NULL)
+ while ((block = va_arg(ap, const uint32_t *)) != NULL)
blocks[i++] = block;
hmacsha256_list(out, key, blocks, count*FASTD_SHA256_BLOCK_BYTES);