Paul Bakker | 3c18a83 | 2012-01-23 09:44:43 +0000 | [diff] [blame] | 1 | /** |
Jaeden Amero | 25facdd | 2018-01-23 15:36:58 +0000 | [diff] [blame] | 2 | * \file doc_mainpage.h |
| 3 | * |
| 4 | * \brief Main page documentation file. |
| 5 | */ |
| 6 | /* |
Manuel Pégourié-Gonnard | 8119dad | 2015-08-06 10:59:26 +0200 | [diff] [blame] | 7 | * |
| 8 | * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved |
Bence Szépkúti | 4e9f712 | 2020-06-05 13:02:18 +0200 | [diff] [blame] | 9 | * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later |
| 10 | * |
| 11 | * This file is provided under the Apache License 2.0, or the |
| 12 | * GNU General Public License v2.0 or later. |
| 13 | * |
| 14 | * ********** |
| 15 | * Apache License 2.0: |
Manuel Pégourié-Gonnard | 37ff140 | 2015-09-04 14:21:07 +0200 | [diff] [blame] | 16 | * |
| 17 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 18 | * not use this file except in compliance with the License. |
| 19 | * You may obtain a copy of the License at |
| 20 | * |
| 21 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 22 | * |
| 23 | * Unless required by applicable law or agreed to in writing, software |
| 24 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 25 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 26 | * See the License for the specific language governing permissions and |
| 27 | * limitations under the License. |
Manuel Pégourié-Gonnard | 8119dad | 2015-08-06 10:59:26 +0200 | [diff] [blame] | 28 | * |
Bence Szépkúti | 4e9f712 | 2020-06-05 13:02:18 +0200 | [diff] [blame] | 29 | * ********** |
| 30 | * |
| 31 | * ********** |
| 32 | * GNU General Public License v2.0 or later: |
| 33 | * |
| 34 | * This program is free software; you can redistribute it and/or modify |
| 35 | * it under the terms of the GNU General Public License as published by |
| 36 | * the Free Software Foundation; either version 2 of the License, or |
| 37 | * (at your option) any later version. |
| 38 | * |
| 39 | * This program is distributed in the hope that it will be useful, |
| 40 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 41 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 42 | * GNU General Public License for more details. |
| 43 | * |
| 44 | * You should have received a copy of the GNU General Public License along |
| 45 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 46 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 47 | * |
| 48 | * ********** |
| 49 | * |
Manuel Pégourié-Gonnard | 8119dad | 2015-08-06 10:59:26 +0200 | [diff] [blame] | 50 | * This file is part of mbed TLS (https://tls.mbed.org) |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 51 | */ |
| 52 | |
| 53 | /** |
Janos Follath | 2a4f899 | 2020-06-26 12:37:57 +0100 | [diff] [blame^] | 54 | * @mainpage mbed TLS v2.7.16 source code documentation |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 55 | * |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 56 | * This documentation describes the internal structure of mbed TLS. It was |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 57 | * automatically generated from specially formatted comment blocks in |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 58 | * mbed TLS's source code using Doxygen. (See |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 59 | * http://www.stack.nl/~dimitri/doxygen/ for more information on Doxygen) |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 60 | * |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 61 | * mbed TLS has a simple setup: it provides the ingredients for an SSL/TLS |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 62 | * implementation. These ingredients are listed as modules in the |
| 63 | * \ref mainpage_modules "Modules section". This "Modules section" introduces |
| 64 | * the high-level module concepts used throughout this documentation.\n |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 65 | * Some examples of mbed TLS usage can be found in the \ref mainpage_examples |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 66 | * "Examples section". |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 67 | * |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 68 | * @section mainpage_modules Modules |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 69 | * |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 70 | * mbed TLS supports SSLv3 up to TLSv1.2 communication by providing the |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 71 | * following: |
| 72 | * - TCP/IP communication functions: listen, connect, accept, read/write. |
| 73 | * - SSL/TLS communication functions: init, handshake, read/write. |
| 74 | * - X.509 functions: CRT, CRL and key handling |
| 75 | * - Random number generation |
| 76 | * - Hashing |
| 77 | * - Encryption/decryption |
| 78 | * |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 79 | * Above functions are split up neatly into logical interfaces. These can be |
| 80 | * used separately to provide any of the above functions or to mix-and-match |
| 81 | * into an SSL server/client solution that utilises a X.509 PKI. Examples of |
| 82 | * such implementations are amply provided with the source code. |
| 83 | * |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 84 | * Note that mbed TLS does not provide a control channel or (multiple) session |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 85 | * handling without additional work from the developer. |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 86 | * |
| 87 | * @section mainpage_examples Examples |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 88 | * |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 89 | * Example server setup: |
| 90 | * |
Paul Bakker | dcbfdcc | 2013-09-10 16:16:50 +0200 | [diff] [blame] | 91 | * \b Prerequisites: |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 92 | * - X.509 certificate and private key |
| 93 | * - session handling functions |
| 94 | * |
| 95 | * \b Setup: |
| 96 | * - Load your certificate and your private RSA key (X.509 interface) |
| 97 | * - Setup the listening TCP socket (TCP/IP interface) |
| 98 | * - Accept incoming client connection (TCP/IP interface) |
| 99 | * - Initialise as an SSL-server (SSL/TLS interface) |
| 100 | * - Set parameters, e.g. authentication, ciphers, CA-chain, key exchange |
| 101 | * - Set callback functions RNG, IO, session handling |
| 102 | * - Perform an SSL-handshake (SSL/TLS interface) |
| 103 | * - Read/write data (SSL/TLS interface) |
| 104 | * - Close and cleanup (all interfaces) |
| 105 | * |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 106 | * Example client setup: |
| 107 | * |
| 108 | * \b Prerequisites: |
| 109 | * - X.509 certificate and private key |
| 110 | * - X.509 trusted CA certificates |
| 111 | * |
| 112 | * \b Setup: |
| 113 | * - Load the trusted CA certificates (X.509 interface) |
| 114 | * - Load your certificate and your private RSA key (X.509 interface) |
| 115 | * - Setup a TCP/IP connection (TCP/IP interface) |
| 116 | * - Initialise as an SSL-client (SSL/TLS interface) |
| 117 | * - Set parameters, e.g. authentication mode, ciphers, CA-chain, session |
| 118 | * - Set callback functions RNG, IO |
| 119 | * - Perform an SSL-handshake (SSL/TLS interface) |
| 120 | * - Verify the server certificate (SSL/TLS interface) |
| 121 | * - Write/read data (SSL/TLS interface) |
| 122 | * - Close and cleanup (all interfaces) |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 123 | */ |