aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-04-20 02:43:45 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-04-20 02:43:45 +0200
commitf68fee47892fc528847682afc003097dcee9a765 (patch)
tree44e91419333c49887ebd16f023cf018e060139a1
parentLoop read/write across signals (diff)
downloadseedrng-master.tar.xz
seedrng-master.zip
Replace spaces with tabsHEADmaster
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--seedrng.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/seedrng.c b/seedrng.c
index b99c7a7..9f93fe2 100644
--- a/seedrng.c
+++ b/seedrng.c
@@ -60,7 +60,7 @@ struct blake2s_state {
static inline void cpu_to_le32_array(uint32_t *buf, unsigned int words)
{
- while (words--) {
+ while (words--) {
*buf = cpu_to_le32(*buf);
++buf;
}
@@ -68,10 +68,10 @@ static inline void cpu_to_le32_array(uint32_t *buf, unsigned int words)
static inline void le32_to_cpu_array(uint32_t *buf, unsigned int words)
{
- while (words--) {
+ while (words--) {
*buf = le32_to_cpup(buf);
++buf;
- }
+ }
}
static inline uint32_t ror32(uint32_t word, unsigned int shift)