Revert "doxygen: Update for Mbed Crypto"
This reverts commit 32577734e2
.
This commit is contained in:
parent
84a63fad5b
commit
9bf54fa22c
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2019, ARM Limited, All Rights Reserved
|
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
@ -24,26 +24,73 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @mainpage Mbed Crypto v0.1.0 source code documentation
|
* @mainpage mbed TLS v2.17.0 source code documentation
|
||||||
*
|
*
|
||||||
* This documentation describes the internal structure of mbed TLS. It was
|
* This documentation describes the internal structure of mbed TLS. It was
|
||||||
* automatically generated from specially formatted comment blocks in
|
* automatically generated from specially formatted comment blocks in
|
||||||
* mbed TLS's source code using Doxygen. (See
|
* mbed TLS's source code using Doxygen. (See
|
||||||
* http://www.stack.nl/~dimitri/doxygen/ for more information on Doxygen)
|
* http://www.stack.nl/~dimitri/doxygen/ for more information on Doxygen)
|
||||||
*
|
*
|
||||||
* Mbed Crypto provides an implementation of the PSA Crypto API. The library is
|
* mbed TLS has a simple setup: it provides the ingredients for an SSL/TLS
|
||||||
* comprised of a number of independent modules, listed in the \ref
|
* implementation. These ingredients are listed as modules in the
|
||||||
* mainpage_modules "Modules section". This "Modules section" introduces the
|
* \ref mainpage_modules "Modules section". This "Modules section" introduces
|
||||||
* high-level module concepts used throughout this documentation.
|
* the high-level module concepts used throughout this documentation.\n
|
||||||
|
* Some examples of mbed TLS usage can be found in the \ref mainpage_examples
|
||||||
|
* "Examples section".
|
||||||
*
|
*
|
||||||
* @section mainpage_modules Modules
|
* @section mainpage_modules Modules
|
||||||
*
|
*
|
||||||
* Mbed Crypto provides the following modules:
|
* mbed TLS supports SSLv3 up to TLSv1.2 communication by providing the
|
||||||
|
* following:
|
||||||
|
* - TCP/IP communication functions: listen, connect, accept, read/write.
|
||||||
|
* - SSL/TLS communication functions: init, handshake, read/write.
|
||||||
|
* - X.509 functions: CRT, CRL and key handling
|
||||||
* - Random number generation
|
* - Random number generation
|
||||||
* - Hashing
|
* - Hashing
|
||||||
* - Encryption/decryption
|
* - Encryption/decryption
|
||||||
*
|
*
|
||||||
* Above functions are split up neatly into logical interfaces. These can be
|
* Above functions are split up neatly into logical interfaces. These can be
|
||||||
* used separately to provide any of the above functions or to mix-and-match.
|
* used separately to provide any of the above functions or to mix-and-match
|
||||||
|
* into an SSL server/client solution that utilises a X.509 PKI. Examples of
|
||||||
|
* such implementations are amply provided with the source code.
|
||||||
*
|
*
|
||||||
|
* Note that mbed TLS does not provide a control channel or (multiple) session
|
||||||
|
* handling without additional work from the developer.
|
||||||
|
*
|
||||||
|
* @section mainpage_examples Examples
|
||||||
|
*
|
||||||
|
* Example server setup:
|
||||||
|
*
|
||||||
|
* \b Prerequisites:
|
||||||
|
* - X.509 certificate and private key
|
||||||
|
* - session handling functions
|
||||||
|
*
|
||||||
|
* \b Setup:
|
||||||
|
* - Load your certificate and your private RSA key (X.509 interface)
|
||||||
|
* - Setup the listening TCP socket (TCP/IP interface)
|
||||||
|
* - Accept incoming client connection (TCP/IP interface)
|
||||||
|
* - Initialise as an SSL-server (SSL/TLS interface)
|
||||||
|
* - Set parameters, e.g. authentication, ciphers, CA-chain, key exchange
|
||||||
|
* - Set callback functions RNG, IO, session handling
|
||||||
|
* - Perform an SSL-handshake (SSL/TLS interface)
|
||||||
|
* - Read/write data (SSL/TLS interface)
|
||||||
|
* - Close and cleanup (all interfaces)
|
||||||
|
*
|
||||||
|
* Example client setup:
|
||||||
|
*
|
||||||
|
* \b Prerequisites:
|
||||||
|
* - X.509 certificate and private key
|
||||||
|
* - X.509 trusted CA certificates
|
||||||
|
*
|
||||||
|
* \b Setup:
|
||||||
|
* - Load the trusted CA certificates (X.509 interface)
|
||||||
|
* - Load your certificate and your private RSA key (X.509 interface)
|
||||||
|
* - Setup a TCP/IP connection (TCP/IP interface)
|
||||||
|
* - Initialise as an SSL-client (SSL/TLS interface)
|
||||||
|
* - Set parameters, e.g. authentication mode, ciphers, CA-chain, session
|
||||||
|
* - Set callback functions RNG, IO
|
||||||
|
* - Perform an SSL-handshake (SSL/TLS interface)
|
||||||
|
* - Verify the server certificate (SSL/TLS interface)
|
||||||
|
* - Write/read data (SSL/TLS interface)
|
||||||
|
* - Close and cleanup (all interfaces)
|
||||||
*/
|
*/
|
||||||
|
@ -1618,6 +1618,7 @@ PREDEFINED = WIN32 \
|
|||||||
P2MP \
|
P2MP \
|
||||||
P2MP_SERVER \
|
P2MP_SERVER \
|
||||||
USE_CRYPTO \
|
USE_CRYPTO \
|
||||||
|
USE_SSL \
|
||||||
ENABLE_PLUGIN \
|
ENABLE_PLUGIN \
|
||||||
ENABLE_MANAGEMENT \
|
ENABLE_MANAGEMENT \
|
||||||
ENABLE_OCC \
|
ENABLE_OCC \
|
||||||
|
@ -298,6 +298,7 @@ int mbedtls_dhm_calc_secret( mbedtls_dhm_context *ctx,
|
|||||||
void mbedtls_dhm_free( mbedtls_dhm_context *ctx );
|
void mbedtls_dhm_free( mbedtls_dhm_context *ctx );
|
||||||
|
|
||||||
#if defined(MBEDTLS_ASN1_PARSE_C)
|
#if defined(MBEDTLS_ASN1_PARSE_C)
|
||||||
|
/** \ingroup x509_module */
|
||||||
/**
|
/**
|
||||||
* \brief This function parses DHM parameters in PEM or DER format.
|
* \brief This function parses DHM parameters in PEM or DER format.
|
||||||
*
|
*
|
||||||
@ -316,6 +317,7 @@ int mbedtls_dhm_parse_dhm( mbedtls_dhm_context *dhm, const unsigned char *dhmin,
|
|||||||
size_t dhminlen );
|
size_t dhminlen );
|
||||||
|
|
||||||
#if defined(MBEDTLS_FS_IO)
|
#if defined(MBEDTLS_FS_IO)
|
||||||
|
/** \ingroup x509_module */
|
||||||
/**
|
/**
|
||||||
* \brief This function loads and parses DHM parameters from a file.
|
* \brief This function loads and parses DHM parameters from a file.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user