summaryrefslogtreecommitdiffstats
path: root/doc/man3/DES_random_key.pod
diff options
context:
space:
mode:
authorPeiwei Hu <jlu.hpw@foxmail.com>2022-12-02 15:43:01 +0800
committerTomas Mraz <tomas@openssl.org>2022-12-16 18:59:28 +0100
commitdd1f28427b375931fda45180619c8f5971cd6bca (patch)
tree3ebdf164cdcd89d7d1e8a05778bcb51c4e996a0d /doc/man3/DES_random_key.pod
parent5e42118de2c8001b3b5fa0cae138950d5b2e1cf1 (diff)
Refine the documents of several APIs
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19816)
Diffstat (limited to 'doc/man3/DES_random_key.pod')
-rw-r--r--doc/man3/DES_random_key.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/man3/DES_random_key.pod b/doc/man3/DES_random_key.pod
index 1f0020eae6..48fd3d0231 100644
--- a/doc/man3/DES_random_key.pod
+++ b/doc/man3/DES_random_key.pod
@@ -294,9 +294,12 @@ not suitable for most applications; see L<des_modes(7)>.
=head1 RETURN VALUES
-DES_set_key(), DES_key_sched(), DES_set_key_checked() and DES_is_weak_key()
+DES_set_key(), DES_key_sched(), and DES_set_key_checked()
return 0 on success or negative values on error.
+DES_is_weak_key() returns 1 if the passed key is a weak key, 0 if it
+is ok.
+
DES_cbc_cksum() and DES_quad_cksum() return 4-byte integer representing the
last 4 bytes of the checksum of the input.