aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--libar2.72
-rw-r--r--libar2_decode_params.310
-rw-r--r--libar2_encode_base64.32
-rw-r--r--libar2_erase.32
-rw-r--r--libar2_hash_buf_size.32
-rw-r--r--libar2_string_to_version.32
7 files changed, 11 insertions, 11 deletions
diff --git a/README b/README
index e695a1e..8bcf35f 100644
--- a/README
+++ b/README
@@ -3,7 +3,7 @@ NAME
DESCRIPTION
libar2 is a C library that implements the family of Argon2
- key derivation function, including Argon2d, Argon2i, and
+ key derivation functions, including Argon2d, Argon2i, and
Argon2id, as well as Argon2ds which was not part of the
submission to the Password Hashing Competition of 2013,
which Argon2 won in 2015. As a key derivation function,
diff --git a/libar2.7 b/libar2.7
index 05f0887..732b464 100644
--- a/libar2.7
+++ b/libar2.7
@@ -5,7 +5,7 @@ libar2 - Library for the Argon2-family of hashing functions
.SH DESCRIPTION
.B libar2
is a C library that implements the family of Argon2
-key derivation function, including Argon2d, Argon2i,
+key derivation functions, including Argon2d, Argon2i,
and Argon2id, as well as Argon2ds which was not part
of the submission to the Password Hashing Competition
of 2013, which Argon2 won in 2015. As a key derivation
diff --git a/libar2_decode_params.3 b/libar2_decode_params.3
index d74d8d6..9bb1427 100644
--- a/libar2_decode_params.3
+++ b/libar2_decode_params.3
@@ -41,7 +41,7 @@ struct libar2_context {
};
size_t libar2_decode_params(const char *\fIstr\fP, const struct libar2_argon2_parameters *\fIparams\fP,
- char **\fIbuf\fP, truct libar2_context *\fIctx\fP);
+ char **\fIbuf\fP, struct libar2_context *\fIctx\fP);
.fi
.PP
Link with
@@ -54,12 +54,12 @@ function decodes a string, provided via the
.I str
parameter, that encodes Argon2 hashing parameters,
and stores the decoded parameters in
-.I param
-and return the number of bytes read from, up to
-but exclude the first byte that was determine not
+.I params
+and returns the number of bytes read from, up to
+but excluding the first byte that was determined not
to be part of the encoded data. For more
information about
-.IR param ,
+.IR params ,
see
.BR libar2_hash (3).
.PP
diff --git a/libar2_encode_base64.3 b/libar2_encode_base64.3
index c40e002..279f23d 100644
--- a/libar2_encode_base64.3
+++ b/libar2_encode_base64.3
@@ -37,7 +37,7 @@ The encoding of
.I data
will
.B not
-be padded to a length divisble by 4.
+be padded to a length divisible by 4.
.PP
.I data
may only be
diff --git a/libar2_erase.3 b/libar2_erase.3
index 9985324..0d33c50 100644
--- a/libar2_erase.3
+++ b/libar2_erase.3
@@ -1,6 +1,6 @@
.TH LIBAR2_ERASE 3 LIBAR2
.SH NAME
-libar2_erase - Securily erase memory
+libar2_erase - Securely erase memory
.SH SYNOPSIS
.nf
diff --git a/libar2_hash_buf_size.3 b/libar2_hash_buf_size.3
index d6cf49e..6c0d62b 100644
--- a/libar2_hash_buf_size.3
+++ b/libar2_hash_buf_size.3
@@ -1,6 +1,6 @@
.TH LIBAR2_HASH_BUF_SIZE 3 LIBAR2
.SH NAME
-libar2_hash_buf_size - Determine require output buffer size
+libar2_hash_buf_size - Determine required output buffer size
.SH SYNOPSIS
.nf
diff --git a/libar2_string_to_version.3 b/libar2_string_to_version.3
index 3d6b9c4..40bdf00 100644
--- a/libar2_string_to_version.3
+++ b/libar2_string_to_version.3
@@ -59,7 +59,7 @@ function will fail if:
.B EINVAL
.I str
does not represent a recognised version
-of the Argon2 familly or is not formatted
+of the Argon2 family or is not formatted
according to the specifications in the
.B DESCRIPTION
section.