Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Move wayward clause to where it belongs and m...



details:   https://anonhg.NetBSD.org/src/rev/87e974993a20
branches:  trunk
changeset: 1012985:87e974993a20
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 17 17:18:02 2020 +0000

description:
Move wayward clause to where it belongs and makes sense.

Note how blowfish-cbc chooses the CBC IV.

diffstat:

 share/man/man4/cgd.4 |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 41838833ac28 -r 87e974993a20 share/man/man4/cgd.4
--- a/share/man/man4/cgd.4      Mon Aug 17 16:26:03 2020 +0000
+++ b/share/man/man4/cgd.4      Mon Aug 17 17:18:02 2020 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: cgd.4,v 1.23 2020/08/17 00:43:15 riastradh Exp $
+.\" $NetBSD: cgd.4,v 1.24 2020/08/17 17:18:02 riastradh Exp $
 .\"
 .\" Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -131,8 +131,7 @@
 initialization vector for each disk sector is chosen to be the
 encryption under
 .Tn 3DES
-of the little-endian encoding of the disk sector number, which has no
-impact on security but reduces performance.
+of the little-endian encoding of the disk sector number.
 .Pp
 Note: Internally, the
 .Sq parity bits
@@ -146,6 +145,11 @@
 Blowfish in
 .Tn CBC
 mode.
+The
+.Tn CBC
+initialization vector for each disk sector is chosen to be the
+encryption under Blowfish of the little-endian encoding of the disk
+sector number.
 It is strongly encouraged that keys be at least 128 bits long.
 There are no performance advantages of using shorter keys.
 The default key length is 128 bits.
@@ -165,7 +169,8 @@
 initialization vector was chosen to be the
 .Em eight-fold
 encryption under the block cipher of the little-endian encoding of the
-disk sector number.
+disk sector number, which has no impact on security but reduces
+performance.
 For compatibility with such disks, the
 .Sq IV method
 must be set to



Home | Main Index | Thread Index | Old Index