5 crypto - OpenSSL cryptographic library
9 See the individual manual pages for details.
13 The OpenSSL B<crypto> library implements a wide range of cryptographic
14 algorithms used in various Internet standards. The services provided
15 by this library are used by the OpenSSL implementations of SSL, TLS
16 and S/MIME, and they have also been used to implement SSH, OpenPGP, and
17 other cryptographic standards.
19 B<libcrypto> consists of a number of sub-libraries that implement the
20 individual algorithms.
22 The functionality includes symmetric encryption, public key
23 cryptography and key agreement, certificate handling, cryptographic
24 hash functions, cryptographic pseudo-random number generator, and
29 Some of the newer functions follow a naming convention using the numbers
30 B<0> and B<1>. For example the functions:
32 int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
33 int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj);
35 The B<0> version uses the supplied structure pointer directly
36 in the parent and it will be freed up when the parent is freed.
37 In the above example B<crl> would be freed but B<rev> would not.
39 The B<1> function uses a copy of the supplied structure pointer
40 (or in some cases increases its link count) in the parent and
41 so both (B<x> and B<obj> above) should be freed up.
45 See the individual manual pages for details.
49 L<openssl(1)>, L<ssl(7)>
53 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
55 Licensed under the OpenSSL license (the "License"). You may not use
56 this file except in compliance with the License. You can obtain a copy
57 in the file LICENSE in the source distribution or at
58 L<https://www.openssl.org/source/license.html>.