Add missing asterisk to doxygen closures
Clarify section names next to closing braces Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
acc74b8413
commit
38d4fddcd8
17 changed files with 29 additions and 26 deletions
|
@ -58,7 +58,7 @@
|
||||||
/** Buffer too small when writing ASN.1 data structure. */
|
/** Buffer too small when writing ASN.1 data structure. */
|
||||||
#define MBEDTLS_ERR_ASN1_BUF_TOO_SMALL -0x006C
|
#define MBEDTLS_ERR_ASN1_BUF_TOO_SMALL -0x006C
|
||||||
|
|
||||||
/* \} name */
|
/** \} name ASN1 Error codes */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \name DER constants
|
* \name DER constants
|
||||||
|
@ -118,8 +118,8 @@
|
||||||
#define MBEDTLS_ASN1_TAG_PC_MASK 0x20
|
#define MBEDTLS_ASN1_TAG_PC_MASK 0x20
|
||||||
#define MBEDTLS_ASN1_TAG_VALUE_MASK 0x1F
|
#define MBEDTLS_ASN1_TAG_VALUE_MASK 0x1F
|
||||||
|
|
||||||
/* \} name */
|
/** \} name DER constants */
|
||||||
/* \} addtogroup asn1_module */
|
/** \} addtogroup asn1_module */
|
||||||
|
|
||||||
/** Returns the size of the binary string, without the trailing \\0 */
|
/** Returns the size of the binary string, without the trailing \\0 */
|
||||||
#define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1)
|
#define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1)
|
||||||
|
@ -626,6 +626,8 @@ void mbedtls_asn1_free_named_data( mbedtls_asn1_named_data *entry );
|
||||||
*/
|
*/
|
||||||
void mbedtls_asn1_free_named_data_list( mbedtls_asn1_named_data **head );
|
void mbedtls_asn1_free_named_data_list( mbedtls_asn1_named_data **head );
|
||||||
|
|
||||||
|
/** \} name Functions to parse ASN.1 data structures */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
/**< The maximum size of seed or reseed buffer in bytes. */
|
/**< The maximum size of seed or reseed buffer in bytes. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/** \} name SECTION: Module settings */
|
||||||
|
|
||||||
#define MBEDTLS_CTR_DRBG_PR_OFF 0
|
#define MBEDTLS_CTR_DRBG_PR_OFF 0
|
||||||
/**< Prediction resistance is disabled. */
|
/**< Prediction resistance is disabled. */
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
#define MBEDTLS_ENTROPY_MAX_GATHER 128 /**< Maximum amount requested from entropy sources */
|
#define MBEDTLS_ENTROPY_MAX_GATHER 128 /**< Maximum amount requested from entropy sources */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/** \} name SECTION: Module settings */
|
||||||
|
|
||||||
#if defined(MBEDTLS_ENTROPY_SHA512_ACCUMULATOR)
|
#if defined(MBEDTLS_ENTROPY_SHA512_ACCUMULATOR)
|
||||||
#define MBEDTLS_ENTROPY_BLOCK_SIZE 64 /**< Block size of entropy accumulator (SHA-512) */
|
#define MBEDTLS_ENTROPY_BLOCK_SIZE 64 /**< Block size of entropy accumulator (SHA-512) */
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
*/
|
*/
|
||||||
/** Bad input parameters to function. */
|
/** Bad input parameters to function. */
|
||||||
#define MBEDTLS_ERR_HKDF_BAD_INPUT_DATA -0x5F80
|
#define MBEDTLS_ERR_HKDF_BAD_INPUT_DATA -0x5F80
|
||||||
/* \} name */
|
/** \} name */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
#define MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT 384 /**< Maximum size of (re)seed buffer */
|
#define MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT 384 /**< Maximum size of (re)seed buffer */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/** \} name SECTION: Module settings */
|
||||||
|
|
||||||
#define MBEDTLS_HMAC_DRBG_PR_OFF 0 /**< No prediction resistance */
|
#define MBEDTLS_HMAC_DRBG_PR_OFF 0 /**< No prediction resistance */
|
||||||
#define MBEDTLS_HMAC_DRBG_PR_ON 1 /**< Prediction resistance enabled */
|
#define MBEDTLS_HMAC_DRBG_PR_ON 1 /**< Prediction resistance enabled */
|
||||||
|
|
|
@ -256,7 +256,7 @@
|
||||||
*/
|
*/
|
||||||
//#define MBEDTLS_DEPRECATED_REMOVED
|
//#define MBEDTLS_DEPRECATED_REMOVED
|
||||||
|
|
||||||
/* \} name SECTION: System support */
|
/** \} name SECTION: System support */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \name SECTION: mbed TLS feature support
|
* \name SECTION: mbed TLS feature support
|
||||||
|
@ -1829,7 +1829,7 @@
|
||||||
* Comment this macro to disallow using RSASSA-PSS in certificates.
|
* Comment this macro to disallow using RSASSA-PSS in certificates.
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_X509_RSASSA_PSS_SUPPORT
|
#define MBEDTLS_X509_RSASSA_PSS_SUPPORT
|
||||||
/* \} name SECTION: mbed TLS feature support */
|
/** \} name SECTION: mbed TLS feature support */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \name SECTION: mbed TLS modules
|
* \name SECTION: mbed TLS modules
|
||||||
|
@ -3021,7 +3021,7 @@
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_X509_CSR_WRITE_C
|
#define MBEDTLS_X509_CSR_WRITE_C
|
||||||
|
|
||||||
/* \} name SECTION: mbed TLS modules */
|
/** \} name SECTION: mbed TLS modules */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \name SECTION: Module configuration options
|
* \name SECTION: Module configuration options
|
||||||
|
@ -3319,4 +3319,4 @@
|
||||||
*/
|
*/
|
||||||
//#define MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
|
//#define MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
|
||||||
|
|
||||||
/* \} name SECTION: Customisation configuration options */
|
/** \} name SECTION: Customisation configuration options */
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#define MBEDTLS_MEMORY_ALIGN_MULTIPLE 4 /**< Align on multiples of this value */
|
#define MBEDTLS_MEMORY_ALIGN_MULTIPLE 4 /**< Align on multiples of this value */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/** \} name SECTION: Module settings */
|
||||||
|
|
||||||
#define MBEDTLS_MEMORY_VERIFY_NONE 0
|
#define MBEDTLS_MEMORY_VERIFY_NONE 0
|
||||||
#define MBEDTLS_MEMORY_VERIFY_ALLOC (1 << 0)
|
#define MBEDTLS_MEMORY_VERIFY_ALLOC (1 << 0)
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
#define MBEDTLS_ERR_PEM_FEATURE_UNAVAILABLE -0x1400
|
#define MBEDTLS_ERR_PEM_FEATURE_UNAVAILABLE -0x1400
|
||||||
/** Bad input parameters to function. */
|
/** Bad input parameters to function. */
|
||||||
#define MBEDTLS_ERR_PEM_BAD_INPUT_DATA -0x1480
|
#define MBEDTLS_ERR_PEM_BAD_INPUT_DATA -0x1480
|
||||||
/* \} name */
|
/** \} name PEM Error codes */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -119,7 +119,7 @@ extern "C" {
|
||||||
#endif /* MBEDTLS_PLATFORM_NO_STD_FUNCTIONS */
|
#endif /* MBEDTLS_PLATFORM_NO_STD_FUNCTIONS */
|
||||||
|
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/** \} name SECTION: Module settings */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The function pointers for calloc and free.
|
* The function pointers for calloc and free.
|
||||||
|
|
|
@ -73,4 +73,5 @@ int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** \} name SECTION: Module settings */
|
||||||
#endif /* platform_time.h */
|
#endif /* platform_time.h */
|
||||||
|
|
|
@ -380,7 +380,7 @@
|
||||||
#define MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY 16
|
#define MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/** \} name SECTION: Module settings */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Length of the verify data for secure renegotiation
|
* Length of the verify data for secure renegotiation
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
#define MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES 50 /*!< Maximum entries in cache */
|
#define MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES 50 /*!< Maximum entries in cache */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/** \} name SECTION: Module settings */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#define MBEDTLS_SSL_COOKIE_TIMEOUT 60 /**< Default expiration delay of DTLS cookies, in seconds if HAVE_TIME, or in number of cookies issued */
|
#define MBEDTLS_SSL_COOKIE_TIMEOUT 60 /**< Default expiration delay of DTLS cookies, in seconds if HAVE_TIME, or in number of cookies issued */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/** \} name SECTION: Module settings */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
#define MBEDTLS_ERR_X509_BUFFER_TOO_SMALL -0x2980
|
#define MBEDTLS_ERR_X509_BUFFER_TOO_SMALL -0x2980
|
||||||
/** A fatal error occurred, eg the chain is too long or the vrfy callback failed. */
|
/** A fatal error occurred, eg the chain is too long or the vrfy callback failed. */
|
||||||
#define MBEDTLS_ERR_X509_FATAL_ERROR -0x3000
|
#define MBEDTLS_ERR_X509_FATAL_ERROR -0x3000
|
||||||
/* \} name */
|
/** \} name X509 Error codes */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \name X509 Verify codes
|
* \name X509 Verify codes
|
||||||
|
@ -121,8 +121,8 @@
|
||||||
#define MBEDTLS_X509_BADCRL_BAD_PK 0x040000 /**< The CRL is signed with an unacceptable PK alg (eg RSA vs ECDSA). */
|
#define MBEDTLS_X509_BADCRL_BAD_PK 0x040000 /**< The CRL is signed with an unacceptable PK alg (eg RSA vs ECDSA). */
|
||||||
#define MBEDTLS_X509_BADCRL_BAD_KEY 0x080000 /**< The CRL is signed with an unacceptable key (eg bad curve, RSA too short). */
|
#define MBEDTLS_X509_BADCRL_BAD_KEY 0x080000 /**< The CRL is signed with an unacceptable key (eg bad curve, RSA too short). */
|
||||||
|
|
||||||
/* \} name */
|
/** \} name X509 Verify codes */
|
||||||
/* \} addtogroup x509_module */
|
/** \} addtogroup x509_module */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* X.509 v3 Subject Alternative Name types.
|
* X.509 v3 Subject Alternative Name types.
|
||||||
|
|
|
@ -176,8 +176,8 @@ void mbedtls_x509_crl_init( mbedtls_x509_crl *crl );
|
||||||
*/
|
*/
|
||||||
void mbedtls_x509_crl_free( mbedtls_x509_crl *crl );
|
void mbedtls_x509_crl_free( mbedtls_x509_crl *crl );
|
||||||
|
|
||||||
/* \} name */
|
/** \} name Structures and functions for parsing CRLs */
|
||||||
/* \} addtogroup x509_module */
|
/** \} addtogroup x509_module */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -955,8 +955,8 @@ void mbedtls_x509_crt_restart_free( mbedtls_x509_crt_restart_ctx *ctx );
|
||||||
#endif /* MBEDTLS_ECDSA_C && MBEDTLS_ECP_RESTARTABLE */
|
#endif /* MBEDTLS_ECDSA_C && MBEDTLS_ECP_RESTARTABLE */
|
||||||
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
||||||
|
|
||||||
/* \} name */
|
/** \} name Structures and functions for parsing and writing X.509 certificates */
|
||||||
/* \} addtogroup x509_module */
|
/** \} addtogroup x509_module */
|
||||||
|
|
||||||
#if defined(MBEDTLS_X509_CRT_WRITE_C)
|
#if defined(MBEDTLS_X509_CRT_WRITE_C)
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -154,8 +154,8 @@ void mbedtls_x509_csr_init( mbedtls_x509_csr *csr );
|
||||||
void mbedtls_x509_csr_free( mbedtls_x509_csr *csr );
|
void mbedtls_x509_csr_free( mbedtls_x509_csr *csr );
|
||||||
#endif /* MBEDTLS_X509_CSR_PARSE_C */
|
#endif /* MBEDTLS_X509_CSR_PARSE_C */
|
||||||
|
|
||||||
/* \} name */
|
/** \} name Structures and functions for X.509 Certificate Signing Requests (CSR) */
|
||||||
/* \} addtogroup x509_module */
|
/** \} addtogroup x509_module */
|
||||||
|
|
||||||
#if defined(MBEDTLS_X509_CSR_WRITE_C)
|
#if defined(MBEDTLS_X509_CSR_WRITE_C)
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue