X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FDES_random_key.pod;h=f543bea1ee7bd91ec585d707634cfedcc5986984;hp=748ea381d6c3a614923f9c25b65bb100b66d788b;hb=972f67889b5a10c33dbc3d500cfa65b544e68b46;hpb=e9b77246879071308130cda42336338ddb63cbb4 diff --git a/doc/man3/DES_random_key.pod b/doc/man3/DES_random_key.pod index 748ea381d6..f543bea1ee 100644 --- a/doc/man3/DES_random_key.pod +++ b/doc/man3/DES_random_key.pod @@ -243,6 +243,9 @@ third parameter. This mostly emulates the normal non-thread-safe semantics of crypt(3). The B must be two ASCII characters. +The values returned by DES_fcrypt() and DES_crypt() are terminated by NUL +character. + DES_enc_write() writes I bytes to file descriptor I from buffer I. The data is encrypted via I (default) using I for the key and I as a starting vector. The actual @@ -282,6 +285,17 @@ functions directly. Single-key DES is insecure due to its short key size. ECB mode is not suitable for most applications; see L. +=head1 RETURN VALUES + +DES_set_key(), DES_key_sched(), DES_set_key_checked() and DES_is_weak_key() +return 0 on success or negative values on error. + +DES_cbc_cksum() and DES_quad_cksum() return 4-byte integer representing the +last 4 bytes of the checksum of the input. + +DES_fcrypt() returns a pointer to the caller-provided buffer and DES_crypt() - +to a static buffer on success; otherwise they return NULL. + =head1 HISTORY The requirement that the B parameter to DES_crypt() and DES_fcrypt() @@ -297,7 +311,7 @@ L =head1 COPYRIGHT -Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy