1crypto(3)                           OpenSSL                          crypto(3)
2
3
4

NAME

6       crypto - OpenSSL cryptographic library
7

SYNOPSIS

DESCRIPTION

10       The OpenSSL crypto library implements a wide range of cryptographic
11       algorithms used in various Internet standards. The services provided by
12       this library are used by the OpenSSL implementations of SSL, TLS and
13       S/MIME, and they have also been used to implement SSH, OpenPGP, and
14       other cryptographic standards.
15

OVERVIEW

17       libcrypto consists of a number of sub-libraries that implement the
18       individual algorithms.
19
20       The functionality includes symmetric encryption, public key cryptogra‐
21       phy and key agreement, certificate handling, cryptographic hash func‐
22       tions and a cryptographic pseudo-random number generator.
23
24       SYMMETRIC CIPHERS
25           blowfish(3), cast(3), des(3), idea(3), rc2(3), rc4(3), rc5(3)
26
27       PUBLIC KEY CRYPTOGRAPHY AND KEY AGREEMENT
28           dsa(3), dh(3), rsa(3)
29
30       CERTIFICATES
31           x509(3), x509v3(3)
32
33       AUTHENTICATION CODES, HASH FUNCTIONS
34           hmac(3), md2(3), md4(3), md5(3), mdc2(3), ripemd(3), sha(3)
35
36       AUXILIARY FUNCTIONS
37           err(3), threads(3), rand(3), OPENSSL_VERSION_NUMBER(3)
38
39       INPUT/OUTPUT, DATA ENCODING
40           asn1(3), bio(3), evp(3), pem(3), pkcs7(3), pkcs12(3)
41
42       INTERNAL FUNCTIONS
43           bn(3), buffer(3), lhash(3), objects(3), stack(3), txt_db(3)
44

NOTES

46       Some of the newer functions follow a naming convention using the num‐
47       bers 0 and 1. For example the functions:
48
49        int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
50        int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj);
51
52       The 0 version uses the supplied structure pointer directly in the par‐
53       ent and it will be freed up when the parent is freed.  In the above
54       example crl would be freed but rev would not.
55
56       The 1 function uses a copy of the supplied structure pointer (or in
57       some cases increases its link count) in the parent and so both (x and
58       obj above) should be freed up.
59

SEE ALSO

61       openssl(1), ssl(3)
62
63
64
650.9.8b                            2002-10-06                         crypto(3)
Impressum