summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2016-11-28import PKCS12_newpass(3) from OpenSSLIngo Schwarze
2016-11-28Copyright and licenseIngo Schwarze
2016-11-28Add Copyright and license.Ingo Schwarze
Merge the documentation of six additional functions from OpenSSL. There are some differences between OpenSSL and LibreSSL, for example we don't have CRYPTO_free_ex_index(), CRYPTO_EX_INDEX_EC_KEY, and CRYPTO_EX_INDEX_APP. I hope i got the differences right. "if you don;t get any feedback promptly i say just go ahead" jmc@
2016-11-28Add Copyright and license.Ingo Schwarze
Remove one needless #include from the SYNOPSIS (from OpenSSL).
2016-11-28For unknown reasons, this summer, OpenSSL added an additional manualIngo Schwarze
page PEM_read_CMS(3) to document a bunch of functions unrelated among themselves, but very similar to those documented here. Information in that page is scantier than for the functions documented here - and besides, it is mostly wrong. Looks like they lost their way in the vast forest of functions they autogenerated with chains of macros... Document those functions documented there which are relevant to us in the present page instead, and with correct prototypes. Given that i know too little about PEM formats, information about semantics is almost certainly incomplete, but at least better than what OpenSSL provides. While here, add Copyright and license.
2016-11-28The OpenSSL file doc/man3/PEM_read_CMS.pod contains parts belongingIngo Schwarze
to libcrypto and parts belonging to libssl. Extract the parts relevant for our libssl and import them with some tweaks.
2016-11-28import from OpenSSL with minor tweaksIngo Schwarze
2016-11-28Copyright and licenseIngo Schwarze
2016-11-28Document and discourage those wrappers that we have and that OpenSSLIngo Schwarze
documents, too. There are many additional undocumented ones in our public OpenSSL headers, but advertising those would be a bad idea. Nothing of the text from OPENSSL_malloc.pod remains, so use my own Copyright and license.
2016-11-28Add Copyright and license.Ingo Schwarze
Garbage collect empty RETURN VALUES section.
2016-11-28Add Copyright and license.Ingo Schwarze
There are many recommendations in this page, and most of them were changed in OpenSSL. I have no idea what makes sense, so i'm not touching the content.
2016-11-28Copyright and licenseIngo Schwarze
2016-11-28Add Copyright and license.Ingo Schwarze
This documentation is obviously incomplete and unintelligible. However, as the interfaces are utterly ill-designed and contorted to the point of absurdity, i refuse to even attempt improvements, at least for now.
2016-11-27Import OCSP documentation from OpenSSL, leaving out some stuffIngo Schwarze
that we don't have, fixing some bugs and tweaking some parts for readability. P.S. Why did some people write a HTTP client implementation and then decide that the best place to publish it might be a crypto(3) library? Oh never mind, to go easy on my sanity, i should probably stop asking such questions and just document what i find.
2016-11-27Add Copyright and license.Ingo Schwarze
Document i2t_ASN1_OBJECT(3), from OpenSSL. Merge more info about what NIDs are from OpenSSL.
2016-11-27Copyright and licenseIngo Schwarze
2016-11-27Add Copyright and license.Ingo Schwarze
Fix a typo in the NAME section. Document HMAC_CTX_copy(3), HMAC_CTX_set_flags(3), HMAC_size(3), from OpenSSL. Drop the uselesss statement that void functions do not return values.
2016-11-27Copyright and licenseIngo Schwarze
2016-11-27Add Copyright and license.Ingo Schwarze
Merge some additional text and improvements to EXAMPLES from OpenSSL.
2016-11-27Add Copyright and license.Ingo Schwarze
Merge documentation of EVP_PKEY_id(3) and EVP_PKEY_base_id(3) from OpenSSL.
2016-11-27EVP_PKEY_new.3Ingo Schwarze
Add Copyright and license. Mention that EVP_PKEY_free(3) accepts NULL. Delete the useless statement that a void functions returns no value. Merge HISTORY from OpenSSL.
2016-11-27Add Copyright and license.Ingo Schwarze
Merge improvements to EXAMPLES from OpenSSL.
2016-11-27Add Copyright and license.Ingo Schwarze
Merge one clarifying sentence from OpenSSL.
2016-11-27Add Copyright and license.Ingo Schwarze
Mention that EVP_PKEY_CTX_free(3) accepts NULL. Delete the useless statement that a void functions returns no value.
2016-11-26Copyright and licenseIngo Schwarze
2016-11-26Add Copyright and license.Ingo Schwarze
Merge from OpenSSL: Document EVP_CIPHER_CTX_new(3), EVP_CIPHER_CTX_free(3), EVP_chacha20(3). Drop duplicate .Nm EVP_idea_cbc. Add some missing EVP_aes_*() function names in the NAME section. In the SYNOPSIS, list prototypes, not #defines. Some typo fixes, some additional information, some wording improvements. In the CIPHER LISTING, drop the useless "void" arguments. Document GCM and CCM. Drop some prehistoric EXAMPLES that OpenSSL deleted as well. While here, mention that EVP_CIPHER_CTX_free(3) accepts NULL. Also move some text from RETURN VALUES to DESCRIPTION.
2016-11-26tweak previous;Jason McIntyre
2016-11-26Import EVP_EncodeInit(3) manual from OpenSSL,Ingo Schwarze
without those functions we don't have.
2016-11-26Add Copyright and license, and some fixes from OpenSSL:Ingo Schwarze
Correct a parameter type for EVP_DigestVerifyUpdate(3). Improve the description of RETURN VALUES for EVP_DigestVerifyFinal(3).
2016-11-26Add Copyright and license.Ingo Schwarze
Correct a parameter type for EVP_DigestSignUpdate(3), from OpenSSL.
2016-11-26Add Copyright and license.Ingo Schwarze
In the SYNOPSIS, show prototypes rather than #defines.
2016-11-25various minor cleanup;Jason McIntyre
2016-11-24various cleanup; leaving dangling PKCS7* Xr for now...Jason McIntyre
2016-11-24Add Copyright and license.Ingo Schwarze
Pull in some more information about RETURN VALUES from OpenSSL.
2016-11-23Copyright and licenseIngo Schwarze
2016-11-23Add Copyright and license.Ingo Schwarze
Garbage collect the empty RETURN VALUES section.
2016-11-23Add Copyright and license.Ingo Schwarze
Merge documentation of ERR_print_errors_cb(3) from OpenSSL.
2016-11-23Add Copyright and license.Ingo Schwarze
Merge a correction and a clarification from OpenSSL.
2016-11-23Add Copyright and license.Ingo Schwarze
Like OpenSSL, move some text from ERR(3) to the fitting page ERR_put_error(3). Merge documentation of ERR_add_error_vdata(3) from OpenSSL. Drop useless statement about void functions returning no values.
2016-11-23Copyright and licenseIngo Schwarze
2016-11-23Empty strings are invalid arguments.Martin Pieuchot
Fix a regression introduced when merging the two options parsers. ok stsp@
2016-11-22various cleanup;Jason McIntyre
2016-11-22Add Copyright and license and improve .Nd.Ingo Schwarze
2016-11-22Add Copyright and license.Ingo Schwarze
Pull in a small number of typo fixes from OpenSSL. Drop speculations about future developments that OpenSSL deleted as well. This page is a mess for at least three reasons: (1) it doesn't actually document all functions listed in the SYNOPSIS, (2) it ought to be split into functional groups of reasonable size, and (3) the user interface is ill-designed to the point of absurdity. In view of item (3), i'm loath to tackle items (1) and (2), so i'm leaving this in its present sorry state for now, refraining even from renaming it to ENGINE_add(3) and expanding the NAME section as OpenSSL did - because that would merely sweep all the turds under the rug.
2016-11-22rename _default_digest.3 to _default_digest_nid.3, since this pageJason McIntyre
describes only one function, _default_digest_nid(); ok schwarze, who informs me openssl already came to this conclusion in june of this year;
2016-11-22Copyright and licenseIngo Schwarze
2016-11-22Add Copyright and license.Ingo Schwarze
Mention that EC_GROUP_free(3) and EC_GROUP_clear_free(3) accept NULL.
2016-11-22Add Copyright and license.Ingo Schwarze
Mention that EC_POINT_free(3) and EC_POINT_clear_free(3) accept NULL. Fix two evil typos (from OpenSSL).
2016-11-22Add Copyright and license.Ingo Schwarze
Mention that EC_KEY_free(3) accepts NULL. Merge some auxiliary explanations regarding the effects of EC_KEY encoding flags, lifted from the separate page EC_KEY_get_enc_flags(3) that OpenSSL split off from EC_KEY_new(3).
2016-11-21various cleanup;Jason McIntyre