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