{"id":4055,"date":"2022-12-20T17:28:51","date_gmt":"2022-12-20T20:28:51","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/crypto-man7\/"},"modified":"2022-12-20T17:28:51","modified_gmt":"2022-12-20T20:28:51","slug":"crypto-man7","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/crypto-man7\/","title":{"rendered":"CRYPTO (man7)"},"content":{"rendered":"<h1 align=\"center\">CRYPTO<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#RETURN VALUES\">RETURN VALUES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">crypto \u2212 OpenSSL cryptographic library<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">See the individual manual pages for details.<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The OpenSSL <b>crypto<\/b> library implements a wide range of cryptographic algorithms used in various Internet standards. The services provided by this library are used by the OpenSSL implementations of <small>SSL, TLS<\/small> and S\/MIME, and they have also been used to implement <small>SSH,<\/small> OpenPGP, and other cryptographic standards.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>libcrypto<\/b> consists of a number of sub-libraries that implement the individual algorithms.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The functionality includes symmetric encryption, public key cryptography and key agreement, certificate handling, cryptographic hash functions, cryptographic pseudo-random number generator, and various utilities.<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Some of the newer functions follow a naming convention using the numbers <b>0<\/b> and <b>1<\/b>. For example the functions:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev); <br \/> int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj);<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>0<\/b> version uses the supplied structure pointer directly in the parent and it will be freed up when the parent is freed. In the above example <b>crl<\/b> would be freed but <b>rev<\/b> would not.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>1<\/b> function uses a copy of the supplied structure pointer (or in some cases increases its link count) in the parent and so both (<b>x<\/b> and <b>obj<\/b> above) should be freed up.<\/p>\n<h2>RETURN VALUES <a name=\"RETURN VALUES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">See the individual manual pages for details.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>openssl<\/b>(1), <b>ssl<\/b>(7)<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright 2000\u22122016 The OpenSSL Project Authors. All Rights Reserved.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Licensed under the OpenSSL license (the &#8220;License&#8221;). You may not use this file except in compliance with the License. You can obtain a copy in the file <small>LICENSE<\/small> in the source distribution or at <https:\/\/www.openssl.org\/source\/license.html>.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  crypto \u2212 OpenSSL cryptographic library <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[971],"tags":[973,1136,972],"class_list":["post-4055","post","type-post","status-publish","format-standard","hentry","category-7-miscelanea","tag-973","tag-crypto","tag-man7"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4055"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4055\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}