aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 13:05:53 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 13:05:53 +0100
commit4b7faa8d625c666c4318000329deacb8552e23c1 (patch)
tree7d4ef406dbe22f20a52720ae6ea83d978d14409a
parentUpdate e-mail (diff)
downloadkrandom-4b7faa8d625c666c4318000329deacb8552e23c1.tar.gz
krandom-4b7faa8d625c666c4318000329deacb8552e23c1.tar.bz2
krandom-4b7faa8d625c666c4318000329deacb8552e23c1.tar.xz
m fixes
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--README4
-rw-r--r--config.mk4
-rw-r--r--krandom.18
3 files changed, 8 insertions, 8 deletions
diff --git a/README b/README
index e1d01b3..f7a67d1 100644
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ SYNOPSIS
krandom [-C capacity] [-N output-size] [-R rate] [-S state-size] [-W word-size] [-v]
DESCRIPTION
- krandom create a Keccak sponge with a random state
+ krandom creates a Keccak sponge with a random state
and continually squeezes it to generate pseudorandom
binary data.
@@ -34,7 +34,7 @@ OPTIONS
-S state-size
Select Keccak state size.
- -W state-size
+ -W word-size
Select Keccak word size.
-v
diff --git a/config.mk b/config.mk
index 228c0ee..50f9f47 100644
--- a/config.mk
+++ b/config.mk
@@ -1,10 +1,10 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CC = cc
+CC = c99
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -std=c99 -Wall -O3
+CFLAGS =
LDFLAGS = -s -lkeccak
# krandom is seeded by /dev/urandom (Linux's non-blocking random number generator),
diff --git a/krandom.1 b/krandom.1
index 8ef21da..a3fa12d 100644
--- a/krandom.1
+++ b/krandom.1
@@ -19,7 +19,7 @@ krandom - Keccak-based userspace pseudorandom number generator
.SH DESCRIPTION
.B krandom
-create a Keccak sponge with a random state and continually
+creates a Keccak sponge with a random state and continually
squeezes it to generate pseudorandom binary data.
.PP
Like
@@ -49,7 +49,7 @@ block, the total output is unlimited.
.BI -S\ state-size
Select Keccak state size.
.TP
-.BI -W\ state-size
+.BI -W\ word-size
Select Keccak word size.
.TP
.B -v
@@ -67,7 +67,7 @@ utility does not use the standard input.
None.
.SH ENVIRONMENT VARIABLES
-No environment variables affects the execution of
+No environment variable affects the execution of
.BR krandom
.SH ASYNCHRONOUS EVENTS
@@ -76,7 +76,7 @@ Default.
.SH STDOUT
The
.B krandom
-utility prints psuedorandom binary data to the standard output.
+utility prints pseudorandom binary data to the standard output.
.SH STDERR
The standard error is used for diagnostic messages.