From 690998f9043850d2ae0f10db9fda9ce452a1b919 Mon Sep 17 00:00:00 2001 From: Tim Hudson Date: Mon, 21 Jul 2014 20:03:50 +1000 Subject: [PATCH] Minor documentation update removing "really" and a statement of opinion rather than a fact. Reviewed-by: Dr. Stephen Henson Reviewed-by: Rich Salz (cherry picked from commit c8d133e4b6f1ed1b7ad3c1a6d2c62f460e26c050) --- doc/crypto/des.pod | 7 +++---- doc/crypto/ui.pod | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/crypto/des.pod b/doc/crypto/des.pod index 6f0cf1cc5e..e1add56b5e 100644 --- a/doc/crypto/des.pod +++ b/doc/crypto/des.pod @@ -135,9 +135,8 @@ depend on a global variable. DES_set_odd_parity() sets the parity of the passed I to odd. -DES_is_weak_key() returns 1 is the passed key is a weak key, 0 if it -is ok. The probability that a randomly generated key is weak is -1/2^52, so it is not really worth checking for them. +DES_is_weak_key() returns 1 if the passed key is a weak key, 0 if it +is ok. The following routines mostly operate on an input and output stream of Is. @@ -181,7 +180,7 @@ of 24 bytes. This is much better than CBC DES. DES_ede3_cbc_encrypt() implements outer triple CBC DES encryption with three keys. This means that each DES operation inside the CBC mode is -really an C. This mode is used by SSL. +an C. This mode is used by SSL. The DES_ede2_cbc_encrypt() macro implements two-key Triple-DES by reusing I for the final encryption. C. diff --git a/doc/crypto/ui.pod b/doc/crypto/ui.pod index 6df68d604a..04f8e9c360 100644 --- a/doc/crypto/ui.pod +++ b/doc/crypto/ui.pod @@ -119,7 +119,7 @@ verification will fail. UI_add_input_boolean() adds a prompt to the UI that's supposed to be answered in a boolean way, with a single character for yes and a different character for no. A set of characters that can be used to cancel the prompt is given -as well. The prompt itself is really divided in two, one part being the +as well. The prompt itself is divided in two, one part being the descriptive text (given through the I argument) and one describing the possible answers (given through the I argument). -- 2.34.1