From 4b7faa8d625c666c4318000329deacb8552e23c1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 13:05:53 +0100 Subject: m fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 4 ++-- config.mk | 4 ++-- krandom.1 | 8 ++++---- 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. -- cgit v1.2.3-70-g09d2