blob: 929c1bee521205a053bf70c1d27bfb8f752cc98f [file] [log] [blame]
Paul Bakker3c18a832012-01-23 09:44:43 +00001/**
Paul Bakker37ca75d2011-01-06 12:28:03 +00002 * @file
3 * Main page documentation file.
Manuel Pégourié-Gonnard8119dad2015-08-06 10:59:26 +02004 *
5 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
Manuel Pégourié-Gonnard37ff1402015-09-04 14:21:07 +02006 * SPDX-License-Identifier: Apache-2.0
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License"); you may
9 * not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
Manuel Pégourié-Gonnard8119dad2015-08-06 10:59:26 +020019 *
20 * This file is part of mbed TLS (https://tls.mbed.org)
Paul Bakker37ca75d2011-01-06 12:28:03 +000021 */
22
23/**
Simon Butcherf2a597f2017-06-20 23:08:10 +010024 * @mainpage mbed TLS v2.5.1 source code documentation
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020025 *
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000026 * This documentation describes the internal structure of mbed TLS. It was
Paul Bakker37ca75d2011-01-06 12:28:03 +000027 * automatically generated from specially formatted comment blocks in
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000028 * mbed TLS's source code using Doxygen. (See
Paul Bakker37ca75d2011-01-06 12:28:03 +000029 * http://www.stack.nl/~dimitri/doxygen/ for more information on Doxygen)
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020030 *
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000031 * mbed TLS has a simple setup: it provides the ingredients for an SSL/TLS
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020032 * implementation. These ingredients are listed as modules in the
33 * \ref mainpage_modules "Modules section". This "Modules section" introduces
34 * the high-level module concepts used throughout this documentation.\n
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000035 * Some examples of mbed TLS usage can be found in the \ref mainpage_examples
Paul Bakker37ca75d2011-01-06 12:28:03 +000036 * "Examples section".
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020037 *
Paul Bakker37ca75d2011-01-06 12:28:03 +000038 * @section mainpage_modules Modules
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020039 *
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000040 * mbed TLS supports SSLv3 up to TLSv1.2 communication by providing the
Paul Bakker37ca75d2011-01-06 12:28:03 +000041 * following:
42 * - TCP/IP communication functions: listen, connect, accept, read/write.
43 * - SSL/TLS communication functions: init, handshake, read/write.
44 * - X.509 functions: CRT, CRL and key handling
45 * - Random number generation
46 * - Hashing
47 * - Encryption/decryption
48 *
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020049 * Above functions are split up neatly into logical interfaces. These can be
50 * used separately to provide any of the above functions or to mix-and-match
51 * into an SSL server/client solution that utilises a X.509 PKI. Examples of
52 * such implementations are amply provided with the source code.
53 *
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000054 * Note that mbed TLS does not provide a control channel or (multiple) session
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020055 * handling without additional work from the developer.
Paul Bakker37ca75d2011-01-06 12:28:03 +000056 *
57 * @section mainpage_examples Examples
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020058 *
Paul Bakker37ca75d2011-01-06 12:28:03 +000059 * Example server setup:
60 *
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020061 * \b Prerequisites:
Paul Bakker37ca75d2011-01-06 12:28:03 +000062 * - X.509 certificate and private key
63 * - session handling functions
64 *
65 * \b Setup:
66 * - Load your certificate and your private RSA key (X.509 interface)
67 * - Setup the listening TCP socket (TCP/IP interface)
68 * - Accept incoming client connection (TCP/IP interface)
69 * - Initialise as an SSL-server (SSL/TLS interface)
70 * - Set parameters, e.g. authentication, ciphers, CA-chain, key exchange
71 * - Set callback functions RNG, IO, session handling
72 * - Perform an SSL-handshake (SSL/TLS interface)
73 * - Read/write data (SSL/TLS interface)
74 * - Close and cleanup (all interfaces)
75 *
Paul Bakker37ca75d2011-01-06 12:28:03 +000076 * Example client setup:
77 *
78 * \b Prerequisites:
79 * - X.509 certificate and private key
80 * - X.509 trusted CA certificates
81 *
82 * \b Setup:
83 * - Load the trusted CA certificates (X.509 interface)
84 * - Load your certificate and your private RSA key (X.509 interface)
85 * - Setup a TCP/IP connection (TCP/IP interface)
86 * - Initialise as an SSL-client (SSL/TLS interface)
87 * - Set parameters, e.g. authentication mode, ciphers, CA-chain, session
88 * - Set callback functions RNG, IO
89 * - Perform an SSL-handshake (SSL/TLS interface)
90 * - Verify the server certificate (SSL/TLS interface)
91 * - Write/read data (SSL/TLS interface)
92 * - Close and cleanup (all interfaces)
Paul Bakker37ca75d2011-01-06 12:28:03 +000093 */