]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Manual typos: DES Encryption and Password Handling
authorRical Jasan <ricaljasan@pacific.net>
Thu, 6 Oct 2016 06:55:00 +0000 (12:25 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 6 Oct 2016 06:55:00 +0000 (12:25 +0530)
2016-05-06  Rical Jasan  <ricaljasan@pacific.net>

* manual/crypt.texi: Fix typos in the manual.

ChangeLog
manual/crypt.texi

index b5e779a9fa1db3d5d13da84b0c56589d43d48c3c..461c5a56dd5bd434405f6f1cf372877a9f14e9b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
 
+       * manual/crypt.texi: Fix typos in the manual.
+
        * manual/conf.texi: Fix typos in the manual.
 
        * manual/sysinfo.texi: Fix typos in the manual.
index 659688b98b1e2867097c5835a9238351ffe1a720..9f4474023e15709ca202b153f8b47930b18d57f1 100644 (file)
@@ -307,7 +307,7 @@ defined in @file{crypt.h}.
 
 @comment rpc/des_crypt.h
 @comment SUNRPC
-@deftypefun int ecb_crypt (char *@var{key}, char *@var{blocks}, unsigned @var{len}, unsigned @var{mode})
+@deftypefun int ecb_crypt (char *@var{key}, char *@var{blocks}, unsigned int @var{len}, unsigned int @var{mode})
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
 
 The function @code{ecb_crypt} encrypts or decrypts one or more blocks
@@ -320,7 +320,7 @@ least-significant bit of @code{key[7]}.  The @var{key} should have the
 correct parity.
 
 @var{len} is the number of bytes in @var{blocks}.  It should be a
-multiple of 8 (so that there is a whole number of blocks to encrypt).
+multiple of 8 (so that there are a whole number of blocks to encrypt).
 @var{len} is limited to a maximum of @code{DES_MAXDATA} bytes.
 
 The result of the encryption replaces the input in @var{blocks}.
@@ -390,7 +390,7 @@ This macro returns 1 if @var{err} is a `success' result code from
 
 @comment rpc/des_crypt.h
 @comment SUNRPC
-@deftypefun int cbc_crypt (char *@var{key}, char *@var{blocks}, unsigned @var{len}, unsigned @var{mode}, char *@var{ivec})
+@deftypefun int cbc_crypt (char *@var{key}, char *@var{blocks}, unsigned int @var{len}, unsigned int @var{mode}, char *@var{ivec})
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
 
 The function @code{cbc_crypt} encrypts or decrypts one or more blocks
@@ -409,7 +409,7 @@ Usually, @var{ivec} is set to 8 random bytes before encryption starts.
 Then the 8 random bytes are transmitted along with the encrypted data
 (without themselves being encrypted), and passed back in as @var{ivec}
 for decryption.  Another possibility is to set @var{ivec} to 8 zeroes
-initially, and have the first the block encrypted consist of 8 random
+initially, and have the first block encrypted consist of 8 random
 bytes.
 
 Otherwise, all the parameters are similar to those for @code{ecb_crypt}.