summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-30Convert openssl(1) dgst to the newer style of option handlinginoguchi1-99/+216
Adapt openssl(1) dgst command to new option handling. Added dgst_options struct and option handlers, and replaced for-if-strcmp handling with options_parse(). ok bcook@ jsing@
2019-08-28new manual page AES_encrypt(3)schwarze4-5/+181
2019-08-27document OCSP_parse_url(3)schwarze1-6/+75
2019-08-27document OCSP_cert_status_str(3)schwarze1-3/+19
2019-08-27document OCSP_response_status_str(3)schwarze1-4/+19
2019-08-26document i2a_ASN1_INTEGER(3)schwarze1-5/+50
2019-08-26document ASN1_put_object(3) and ASN1_put_eoc(3)schwarze3-3/+186
2019-08-26document ASN1_OCTET_STRING_cmp(3), ASN1_OCTET_STRING_dup(3), andschwarze1-12/+45
ASN1_OCTET_STRING_set(3)
2019-08-25Change generating and checking of primes so that the error rate ofschwarze2-26/+93
not being prime depends on the intended use based on the size of the input. For larger primes this will result in more rounds of Miller-Rabin. The maximal error rate for primes with more than 1080 bits is lowered to 2^-128. Patch from Kurt Roeckx <kurt@roeckx.be> and Annie Yousar via OpenSSL commit feac7a1c Jul 25 18:55:16 2018 +0200, still under a free license. OK tb@.
2019-08-25document EVP_sm3(3) and EVP_whirlpool(3), loosely based on theschwarze5-6/+177
OpenSSL 1.1.1 pages, which are still under a free license
2019-08-25fix reversed meaning of error codes;schwarze1-7/+7
from Martin Ukrop <mukrop at mail dot muni dot cz> via OpenSSL commit bb00b040 Aug 5 14:14:54 2019 +0200
2019-08-25typo in function argument type;schwarze1-4/+4
from Jan Macku <jamacku at redhat dot com> via OpenSSL commit a9b9d265 Jan 30 16:09:50 2019 +0100
2019-08-25Correctly document the return values of i2d_ECDSA_SIG(3) andschwarze1-25/+28
d2i_ECDSA_SIG(3); triggered by OpenSSL commit da4ea0cf Aug 5 16:13:24 2019 +0100, but solved differently. While here, adjust argument placeholders and wording to our usual conventions, and don't try to reiterate the complicated contents of ASN1_item_d2i(3) here.
2019-08-25import the CRYPTO_memcmp(3) manual from OpenSSL 1.1.1,schwarze2-1/+97
still under a free license, tweaked by me
2019-08-23document RSAPrivateKey_dup(3) and RSAPublicKey_dup(3)schwarze1-11/+55
2019-08-23document X509_get1_email(3), X509_get1_ocsp(3), X509_email_free(3)schwarze6-12/+141
2019-08-23document X509_dup(3)schwarze1-8/+40
2019-08-22document X509_check_purpose(3)schwarze6-9/+403
2019-08-20New manual page X509_cmp(3) documenting the same public functionsschwarze6-10/+241
as in OpenSSL 1.1.1. I rewrote most of the text for clarity, precision, and conciseness and added some additional information. A few sentences from Paul Yang remain.
2019-08-20Add static_ASN1_* macroinoguchi1-1/+72
- Add static_ASN1_* macro. Patch was provided by steils AT gentoo.org
2019-08-20make BN_CTX_end(NULL) a NOOP for compatibility with documented behaviourschwarze2-4/+12
in OpenSSL 1.1.1 even though in general, letting random functions accept NULL is not advisable because it can hide programming errors; "yes please" tb@ "unfortunately I suspect you're right" jsing@ "oh well" deraadt@
2019-08-19document X509_INFO_new(3) and X509_INFO_free(3)schwarze4-10/+78
2019-08-19document ECDH_compute_key(3) and ECDH_size(3);schwarze8-15/+110
feedback and OK tb@
2019-08-18Tweak cross references, in particular making sure thatschwarze23-48/+85
all CMS pages are linked to CMS_ContentInfo_new(3) both ways and that closely related pages reference each other.
2019-08-18minor cleanup:schwarze2-63/+37
* avoid jumping back and forth between use cases * delete duplicate information * and minor wording improvements
2019-08-18minor cleanup:schwarze4-54/+74
* add the missing STANDARDS sections * mark up ASN.1 type names * GOST does not need an ENGINE in LibreSSL, so don't use it as an example * and minor wording improvements and typo fixes
2019-08-18minor cleanup:schwarze1-22/+42
* mark up ASN.1 type and field names * move the RFC reference to STANDARDS * and minor wording improvements
2019-08-18some cleanup:schwarze1-60/+82
* do not jump back and forth among functions * show data type - NID correspondance in a table * make the difference between content type and embedded content clearer * add the missing STANDARDS section * mark up ASN.1 type names * remove some text that says nothing * and minor wording improvements
2019-08-17some cleanup:schwarze1-44/+46
* add the missing STANDARDS section * more precision below RETURN VALUES * simplify some overly verbose text * mark up ASN.1 type names * and minor wording improvements and typo fixes
2019-08-17minor cleanup:schwarze1-89/+88
* add the missing STANDARDS section * mark up ASN.1 type names * avoid some repetitions * make some lists more palatable in -column form * and minor wording improvements and typo fixes
2019-08-16link to the new EC_KEY_METHOD_new(3) pageschwarze1-3/+6
and mention a trap set by EC_KEY_copy(3)
2019-08-16document the EC_KEY_METHOD function tableschwarze3-3/+330
2019-08-16document EC_KEY_get_ex_new_index(3), EC_KEY_get_ex_data(3),schwarze2-8/+19
and EC_KEY_set_ex_data(3)
2019-08-16some cleanup:schwarze1-60/+55
* do not jump back and forth among different arguments and flags * add the missing STANDARDS section * mark up ASN.1 type names * and several wording improvements
2019-08-16minor cleanup:schwarze1-15/+28
* add the missing STANDARDS section * mark up ASN.1 type names * and minor wording improvements and typo fixes
2019-08-15minor cleanup:schwarze1-19/+20
* add the missing STANDARDS section * mark up ASN.1 type names * and minor wording improvements
2019-08-15some cleanup:schwarze1-52/+61
* do not jump back and forth between different arguments * display the flags in a proper list * add the missing STANDARDS section * mark up ASN.1 type names * and minor wording improvements
2019-08-15document but do not recommend EVP_Cipher(3);schwarze1-3/+52
jsing@ provided crucial help regarding the content; tweaks and OK tb@
2019-08-14document EVP_Digest(3)schwarze1-3/+57
2019-08-14some cleanup:schwarze1-58/+96
* avoid repetitions and jumping back and forth between the functions * more precision regarding which ASN.1 types and fields are involved * mark up the ASN.1 type and field names * explain CMS_REUSE_DIGEST more precisely * move the discussion of attributes to CMS_NOATTR where it belongs * GOST does not need an ENGINE in LibreSSL, so don't use it as an example * add the missing STANDARDS section * and minor wording improvements
2019-08-13some cleanup:schwarze1-29/+62
* state the common, general purpose up front * more precision regarding which ASN.1 types and fields are involved * mark up the ASN.1 type and field names * add the missing STANDARDS section * and minor wording improvements
2019-08-12some cleanup:schwarze1-44/+75
* add missing STANDARDS section * avoid repetitions and jumping back and forth among functions * describe the difference between 0 and 1 more precisely and more concisely * mark up the ASN.1 type and field names
2019-08-12Provide a local version of X509_get0_subject_key_id()jsing1-3/+11
It seems that the CMS code is currently the only code in existence that uses this function.
2019-08-12Inline the equivalent of ASN1_TYPE_unpack_sequence().jsing1-3/+6
2019-08-12correct a misspelled page name in an .Xr;schwarze1-3/+3
it looks like this was the last bad .Xr in *CMS*(3)
2019-08-12correct misspelled page name in an .Xrschwarze1-3/+3
2019-08-12Fix .Xrs to non-existant pages by correcting the misspelled functionschwarze1-43/+83
names and documenting these two functions, CMS_decrypt_set1_pkey(3) and CMS_decrypt_set1_key(3) right here in this same page. While here, simplify and improve some wording.
2019-08-12These public functions are listed in the OpenSSL manuals but notschwarze2-0/+257
actually documented, so write the documentation from scratch.
2019-08-12merge a few minor improvements from the OpenSSL 1.1.1 branch,schwarze1-15/+35
which is still under a free license: * mention pem_password_cb in NAME and SYNOPSIS * recommend -1 as pem_password_cb error return for OpenSSL compat * minor improvements to the pass_cb() example code * mention that the pass phrase is just a byte sequence * and minor wording and markup improvements
2019-08-11Use ERR_asprintf_error_data() instead of ERR_add_error_data().jsing1-3/+3