openssl/doc/crypto
Matt Caswell efee575ad4 Fix off-by-one in BN_rand
If BN_rand is called with |bits| set to 1 and |top| set to 1 then a 1 byte
buffer overflow can occur. There are no such instances within the OpenSSL at
the moment.

Thanks to Mateusz Kocielski (LogicalTrust), Marek Kroemeke, Filip Palian for
discovering and reporting this issue.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2015-05-22 23:40:38 +01:00
..
ASN1_generate_nconf.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
ASN1_INTEGER_get_int64.pod Add functions to convert between uint64_t and ASN1_INTEGER. 2015-05-20 15:04:19 +01:00
ASN1_OBJECT_new.pod free NULL cleanup 2015-03-24 07:52:24 -04:00
ASN1_STRING_length.pod ASN1_TYPE documentation. 2015-03-26 21:59:17 +00:00
ASN1_STRING_new.pod free NULL cleanup 2015-03-24 07:52:24 -04:00
ASN1_STRING_print_ex.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
ASN1_TIME_set.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
ASN1_TYPE_get.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
BIO_ctrl.pod
BIO_f_base64.pod Close a whole bunch of documentation-related tickets: 2014-07-02 22:42:40 -04:00
BIO_f_buffer.pod Some cleanup of L<> markup in pod files 2015-01-06 12:16:24 -05:00
BIO_f_cipher.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
BIO_f_md.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
BIO_f_null.pod
BIO_f_ssl.pod Version negotiation rewrite doc updates 2015-05-16 09:20:44 +01:00
BIO_find_type.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
BIO_new_CMS.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
BIO_new.pod free NULL cleanup 2015-03-25 11:31:18 -04:00
BIO_push.pod Typo. 2014-06-29 13:38:55 +01:00
BIO_read.pod
BIO_s_accept.pod RT2379: Additional typo fix 2014-08-30 09:55:56 -04:00
BIO_s_bio.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
BIO_s_connect.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
BIO_s_fd.pod
BIO_s_file.pod bss_file.c: refine UTF-8 logic on Windows. 2010-04-28 20:02:28 +00:00
BIO_s_mem.pod Updates from 1.0.0-stable branch. 2009-04-20 11:33:12 +00:00
BIO_s_null.pod
BIO_s_socket.pod
BIO_set_callback.pod fix documentation 2006-12-06 09:10:59 +00:00
BIO_should_retry.pod PR: 2209 2010-04-06 14:45:18 +00:00
bio.pod
blowfish.pod RT1665,2300: Crypto doc cleanups 2014-08-28 18:55:50 -04:00
BN_add_word.pod fix BN_mod_word and give a more reasonable return value if an error occurred 2005-07-25 22:57:54 +00:00
BN_add.pod
BN_BLINDING_new.pod free NULL cleanup 7 2015-04-30 21:37:06 -04:00
BN_bn2bin.pod
BN_cmp.pod
BN_copy.pod
BN_CTX_new.pod free NULL cleanup 7 2015-04-30 21:37:06 -04:00
BN_CTX_start.pod
BN_generate_prime.pod free NULL cleanup 7 2015-04-30 21:37:06 -04:00
bn_internal.pod PR: 2078 2009-10-28 13:52:07 +00:00
BN_mod_inverse.pod
BN_mod_mul_montgomery.pod free NULL cleanup 7 2015-04-30 21:37:06 -04:00
BN_mod_mul_reciprocal.pod free NULL cleanup 7 2015-04-30 21:37:06 -04:00
BN_new.pod free NULL cleanup 7 2015-04-30 21:37:06 -04:00
BN_num_bytes.pod Explain a little better what BN_num_bits() and BN_num_bits_word() do. 2004-07-01 12:33:39 +00:00
BN_rand.pod Fix off-by-one in BN_rand 2015-05-22 23:40:38 +01:00
BN_set_bit.pod Reject negative shifts for BN_rshift and BN_lshift 2015-05-22 23:15:02 +01:00
BN_swap.pod
BN_zero.pod
bn.pod Update documentation following BN opaquify 2014-12-08 21:41:36 +00:00
buffer.pod
CMS_add0_cert.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
CMS_add1_recipient_cert.pod Reformat, fix typos and clarify CMS API docs. 2008-04-10 23:28:25 +00:00
CMS_add1_signer.pod Use correct function name: CMS_add1_signer() 2014-09-25 00:03:27 +01:00
CMS_compress.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
CMS_decrypt.pod Clarify CMS_decrypt behaviour. 2014-04-15 18:17:12 +01:00
CMS_encrypt.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
CMS_final.pod Reformat, fix typos and clarify CMS API docs. 2008-04-10 23:28:25 +00:00
CMS_get0_RecipientInfos.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
CMS_get0_SignerInfos.pod Add CMS_SignerInfo_get0_signature function. 2013-11-09 15:09:23 +00:00
CMS_get0_type.pod Additional CMS documentation. 2015-03-08 16:18:21 +00:00
CMS_get1_ReceiptRequest.pod Reformat, fix typos and clarify CMS API docs. 2008-04-10 23:28:25 +00:00
CMS_sign_receipt.pod Reformat, fix typos and clarify CMS API docs. 2008-04-10 23:28:25 +00:00
CMS_sign.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
CMS_uncompress.pod Revert argument swap change... oops CMS_uncompress() was consistent... 2008-04-11 23:23:18 +00:00
CMS_verify_receipt.pod Reformat, fix typos and clarify CMS API docs. 2008-04-10 23:28:25 +00:00
CMS_verify.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
CONF_modules_free.pod Corrected POD syntax errors. PR#3353 2014-05-14 21:07:51 +01:00
CONF_modules_load_file.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
CRYPTO_set_ex_data.pod Add includes in synopsis. 2006-05-14 11:28:00 +00:00
crypto.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
d2i_ASN1_OBJECT.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
d2i_CMS_ContentInfo.pod Additional CMS documentation. 2015-03-08 16:18:21 +00:00
d2i_DHparams.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
d2i_DSAPublicKey.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
d2i_ECPKParameters.pod Fix NAME section of d2i_ECPKParameters to prevent broken symlinks when using 2015-02-25 20:46:51 +00:00
d2i_ECPrivateKey.pod Fix some minor documentation issues 2015-02-25 17:13:34 +00:00
d2i_PKCS8PrivateKey.pod
d2i_RSAPublicKey.pod Changes from 1.0.0-stable. 2009-04-07 16:33:26 +00:00
d2i_X509_ALGOR.pod Additional X509_ALGOR documentation 2015-05-12 02:09:49 +01:00
d2i_X509_CRL.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
d2i_X509_NAME.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
d2i_X509_REQ.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
d2i_X509_SIG.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
d2i_X509.pod Fix some minor documentation issues 2015-02-25 17:13:34 +00:00
des_modes.pod small cosmetics: align title with the other similar manual page 2007-02-27 07:41:54 +00:00
des.pod old_des fix windows build, remove docs 2015-02-02 22:40:36 -05:00
DH_generate_key.pod
DH_generate_parameters.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
DH_get_ex_new_index.pod
DH_new.pod free NULL cleanup 2015-03-24 23:17:16 -04:00
DH_set_method.pod Typos in man pages: dependant->dependent 2007-11-19 09:18:03 +00:00
DH_size.pod
dh.pod
DSA_do_sign.pod
DSA_dup_DH.pod
DSA_generate_key.pod
DSA_generate_parameters.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
DSA_get_ex_new_index.pod Typo. 2009-10-17 17:06:19 +00:00
DSA_new.pod free NULL cleanup 2015-03-24 23:17:16 -04:00
DSA_set_method.pod Typos in man pages: dependant->dependent 2007-11-19 09:18:03 +00:00
DSA_SIG_new.pod
DSA_sign.pod
DSA_size.pod
dsa.pod
EC_GFp_simple_method.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
EC_GROUP_copy.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EC_GROUP_new.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EC_KEY_new.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EC_POINT_add.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
EC_POINT_new.pod free NULL cleanup. 2015-03-25 18:35:24 -04:00
ec.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
ecdsa.pod Correct ECDSA example. 2013-08-21 13:43:00 +01:00
engine.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
ERR_clear_error.pod
ERR_error_string.pod PR: 923 2004-11-14 15:11:37 +00:00
ERR_get_error.pod Fix doc typo. 2014-07-02 03:43:42 +01:00
ERR_GET_LIB.pod
ERR_load_crypto_strings.pod
ERR_load_strings.pod
ERR_print_errors.pod
ERR_put_error.pod
ERR_remove_state.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
ERR_set_mark.pod
err.pod Version negotiation rewrite doc updates 2015-05-16 09:20:44 +01:00
EVP_BytesToKey.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EVP_DigestInit.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EVP_DigestSignInit.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EVP_DigestVerifyInit.pod Typo fixes to evp documentation. 2014-08-24 21:24:28 +01:00
EVP_EncryptInit.pod Harmonise use of EVP_CTRL_GET_TAG/EVP_CTRL_SET_TAG/EVP_CTRL_SET_IVLEN 2015-01-28 10:39:01 +00:00
EVP_OpenInit.pod
EVP_PKEY_cmp.pod RT2513: Fix typo's paramter-->parameter 2014-08-19 11:09:33 -04:00
EVP_PKEY_CTX_ctrl.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EVP_PKEY_CTX_new.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EVP_PKEY_decrypt.pod Correct EVP_PKEY_verifyrecover to EVP_PKEY_verify_recover (RT 2955). 2013-01-12 12:25:30 +00:00
EVP_PKEY_derive.pod Correct EVP_PKEY_verifyrecover to EVP_PKEY_verify_recover (RT 2955). 2013-01-12 12:25:30 +00:00
EVP_PKEY_encrypt.pod Updates to EVP_PKEY_encrypt.pod submitted by user Bernardh via the wiki 2014-11-27 13:55:37 +00:00
EVP_PKEY_get_default_digest.pod Correct EVP_PKEY_verifyrecover to EVP_PKEY_verify_recover (RT 2955). 2013-01-12 12:25:30 +00:00
EVP_PKEY_keygen.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
EVP_PKEY_new.pod free NULL cleanup 2015-03-28 10:54:15 -04:00
EVP_PKEY_print_private.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
EVP_PKEY_set1_RSA.pod Typo fixes to evp documentation. 2014-08-24 21:24:28 +01:00
EVP_PKEY_sign.pod Improve EVP_PKEY_sign documentation 2014-08-22 15:00:11 +02:00
EVP_PKEY_verify_recover.pod Correct EVP_PKEY_verifyrecover to EVP_PKEY_verify_recover (RT 2955). 2013-01-12 12:25:30 +00:00
EVP_PKEY_verify.pod Correct EVP_PKEY_verifyrecover to EVP_PKEY_verify_recover (RT 2955). 2013-01-12 12:25:30 +00:00
EVP_SealInit.pod the second argument of EVP_SealInit is const 2005-03-29 17:50:08 +00:00
EVP_SignInit.pod RT2513: Fix typo's paramter-->parameter 2014-08-19 11:09:33 -04:00
EVP_VerifyInit.pod New docs for EVP_Digest{Sign,Verify}*() function. Update existing docs. 2006-07-12 12:31:30 +00:00
evp.pod POD: Fix list termination 2013-10-22 07:38:25 +01:00
hmac.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
i2d_CMS_bio_stream.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
i2d_PKCS7_bio_stream.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
lh_stats.pod
lhash.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
md5.pod RT1665,2300: Crypto doc cleanups 2014-08-28 18:55:50 -04:00
mdc2.pod RT1665,2300: Crypto doc cleanups 2014-08-28 18:55:50 -04:00
OBJ_nid2obj.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
OpenSSL_add_all_algorithms.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
OPENSSL_Applink.pod The NAME section of a man page is required to have a dash followed by a 2005-06-23 21:45:37 +00:00
OPENSSL_config.pod Make OPENSSL_config truly ignore errors. 2015-01-25 21:07:20 -05:00
OPENSSL_ia32cap.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
OPENSSL_instrument_bus.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
OPENSSL_load_builtin_modules.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
OPENSSL_VERSION_NUMBER.pod RT2309: Fix podpage MMNNFFPPS->MNNFFPPS 2014-09-30 16:31:11 -04:00
PEM_write_bio_CMS_stream.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
PEM_write_bio_PKCS7_stream.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
pem.pod Some cleanup of L<> markup in pod files 2015-01-06 12:16:24 -05:00
PKCS5_PBKDF2_HMAC.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
PKCS7_decrypt.pod Add includes in synopsis. 2006-05-14 11:28:00 +00:00
PKCS7_encrypt.pod Change version from 0.9.9 to 1.0.0 in docs 2009-09-30 23:43:01 +00:00
PKCS7_sign_add_signer.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
PKCS7_sign.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
PKCS7_verify.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
PKCS12_create.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
PKCS12_parse.pod Update from 1.0.0-stable. 2009-05-17 14:48:31 +00:00
RAND_add.pod
RAND_bytes.pod Deprecate RAND_pseudo_bytes 2015-03-25 12:38:19 +00:00
RAND_cleanup.pod
RAND_egd.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
RAND_load_file.pod
RAND_set_rand_method.pod Typos in man pages: dependant->dependent 2007-11-19 09:18:03 +00:00
rand.pod s/recommend/recommended/ 2013-09-05 21:43:50 +01:00
rc4.pod RT1665,2300: Crypto doc cleanups 2014-08-28 18:55:50 -04:00
ripemd.pod RT1665,2300: Crypto doc cleanups 2014-08-28 18:55:50 -04:00
RSA_blinding_on.pod
RSA_check_key.pod RT992: RSA_check_key should have a callback arg 2014-09-08 11:11:49 -04:00
RSA_generate_key.pod Document updates from wiki. 2013-06-12 23:42:08 +01:00
RSA_get_ex_new_index.pod fix documentation 2006-12-06 09:10:59 +00:00
RSA_new.pod free NULL cleanup 2015-03-24 23:17:16 -04:00
RSA_padding_add_PKCS1_type_1.pod
RSA_print.pod
RSA_private_encrypt.pod
RSA_public_encrypt.pod Make it clear that for RSA_NO_PADDING, flen must be RSA_size(rsa) 2004-03-23 21:01:34 +00:00
RSA_set_method.pod Fix documentation for RSA_set_method(3) 2014-07-19 22:57:37 +01:00
RSA_sign_ASN1_OCTET_STRING.pod
RSA_sign.pod Close a whole bunch of documentation-related tickets: 2014-07-02 22:42:40 -04:00
RSA_size.pod
rsa.pod
sha.pod Update the SHA* documentation 2015-02-25 20:52:34 +00:00
SMIME_read_CMS.pod Reformat, fix typos and clarify CMS API docs. 2008-04-10 23:28:25 +00:00
SMIME_read_PKCS7.pod Add includes in synopsis. 2006-05-14 11:28:00 +00:00
SMIME_write_CMS.pod Reformat, fix typos and clarify CMS API docs. 2008-04-10 23:28:25 +00:00
SMIME_write_PKCS7.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
SSLeay_version.pod
threads.pod RT2942: CRYPTO_set_dynlock_create_callback doc fix 2014-08-18 16:04:33 -04:00
ui.pod apps-cleanup: the doc fixes 2015-04-25 16:07:28 -04:00
x509.pod
X509_check_host.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
X509_NAME_add_entry_by_txt.pod Updates to X509_NAME_add_entry_by_txt.pod submitted by user Bernardh via the wiki 2014-11-27 13:55:54 +00:00
X509_NAME_ENTRY_get_object.pod Corrected POD syntax errors. PR#3353 2014-05-14 21:07:51 +01:00
X509_NAME_get_index_by_NID.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
X509_NAME_print_ex.pod Typos 2007-09-24 11:22:58 +00:00
X509_new.pod free NULL cleanup 5a 2015-04-30 17:33:59 -04:00
X509_STORE_CTX_get_error.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
X509_STORE_CTX_get_ex_new_index.pod Correct the return type on the signature for X509_STORE_CTX_get_ex_data given in the pod file. 2014-05-12 22:41:13 +01:00
X509_STORE_CTX_new.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
X509_STORE_CTX_set_verify_cb.pod Verification callback functions. 2009-10-18 13:26:08 +00:00
X509_STORE_set_verify_cb_func.pod PR: 2157 2010-01-27 12:54:58 +00:00
X509_verify_cert.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00
X509_VERIFY_PARAM_set_flags.pod RT3802: Fixes typos in doc/crypto/ 2015-05-03 08:51:23 -04:00