crypto.3 revision 296465
Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)

Standard preamble:
========================================================================
..
..
.. Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. \*(C+ will
give a nicer C++. Capital omega is used to do unbreakable dashes and
therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
nothing in troff, for use with C<>.
.tr \(*W- . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is turned on, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF
Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================

Title "crypto 3"
crypto 3 "2015-12-03" "0.9.8zh" "OpenSSL"
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
"NAME"
crypto - OpenSSL cryptographic library
"SYNOPSIS"
Header "SYNOPSIS"
"DESCRIPTION"
Header "DESCRIPTION" The OpenSSL crypto 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 \s-1SSL, TLS\s0 and S/MIME, and they have also been used to implement \s-1SSH,\s0 OpenPGP, and other cryptographic standards.
"OVERVIEW"
Header "OVERVIEW" \fBlibcrypto consists of a number of sub-libraries that implement the individual algorithms.

The functionality includes symmetric encryption, public key cryptography and key agreement, certificate handling, cryptographic hash functions and a cryptographic pseudo-random number generator.

"\s-1SYMMETRIC CIPHERS\s0" 4
Item "SYMMETRIC CIPHERS" \fIblowfish\|(3), cast\|(3), des\|(3), \fIidea\|(3), rc2\|(3), rc4\|(3), rc5\|(3)
"\s-1PUBLIC KEY CRYPTOGRAPHY AND KEY AGREEMENT\s0" 4
Item "PUBLIC KEY CRYPTOGRAPHY AND KEY AGREEMENT" \fIdsa\|(3), dh\|(3), rsa\|(3)
"\s-1CERTIFICATES\s0" 4
Item "CERTIFICATES" \fIx509\|(3), x509v3\|(3)
"\s-1AUTHENTICATION CODES, HASH FUNCTIONS\s0" 4
Item "AUTHENTICATION CODES, HASH FUNCTIONS" \fIhmac\|(3), md2\|(3), md4\|(3), \fImd5\|(3), mdc2\|(3), ripemd\|(3), \fIsha\|(3)
"\s-1AUXILIARY FUNCTIONS\s0" 4
Item "AUXILIARY FUNCTIONS" \fIerr\|(3), threads\|(3), rand\|(3), \s-1OPENSSL_VERSION_NUMBER\s0\|(3)
"\s-1INPUT/OUTPUT, DATA ENCODING\s0" 4
Item "INPUT/OUTPUT, DATA ENCODING" \fIasn1\|(3), bio\|(3), evp\|(3), pem\|(3), \fIpkcs7\|(3), pkcs12\|(3)
"\s-1INTERNAL FUNCTIONS\s0" 4
Item "INTERNAL FUNCTIONS" \fIbn\|(3), buffer\|(3), lhash\|(3), \fIobjects\|(3), stack\|(3), \fItxt_db\|(3)
"NOTES"
Header "NOTES" Some of the newer functions follow a naming convention using the numbers \fB0 and 1. For example the functions:

.Vb 2 int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev); int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj); .Ve

The 0 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 crl would be freed but rev would not.

The 1 function uses a copy of the supplied structure pointer (or in some cases increases its link count) in the parent and so both (x and obj above) should be freed up.

"SEE ALSO"
Header "SEE ALSO" \fIopenssl\|(1), ssl\|(3)