make style

This commit is contained in:
Philippe Teuwen 2019-03-10 00:00:59 +01:00
commit 0373696662
483 changed files with 56514 additions and 52451 deletions

View file

@ -46,13 +46,12 @@ extern "C" {
* Message digest information.
* Allows message digest functions to be called in a generic way.
*/
struct mbedtls_md_info_t
{
struct mbedtls_md_info_t {
/** Digest identifier */
mbedtls_md_type_t type;
/** Name of the message digest */
const char * name;
const char *name;
/** Output length of the digest function in bytes */
int size;
@ -61,29 +60,29 @@ struct mbedtls_md_info_t
int block_size;
/** Digest initialisation function */
int (*starts_func)( void *ctx );
int (*starts_func)(void *ctx);
/** Digest update function */
int (*update_func)( void *ctx, const unsigned char *input, size_t ilen );
int (*update_func)(void *ctx, const unsigned char *input, size_t ilen);
/** Digest finalisation function */
int (*finish_func)( void *ctx, unsigned char *output );
int (*finish_func)(void *ctx, unsigned char *output);
/** Generic digest function */
int (*digest_func)( const unsigned char *input, size_t ilen,
unsigned char *output );
int (*digest_func)(const unsigned char *input, size_t ilen,
unsigned char *output);
/** Allocate a new context */
void * (*ctx_alloc_func)( void );
void *(*ctx_alloc_func)(void);
/** Free the given context */
void (*ctx_free_func)( void *ctx );
void (*ctx_free_func)(void *ctx);
/** Clone state from a context */
void (*clone_func)( void *dst, const void *src );
void (*clone_func)(void *dst, const void *src);
/** Internal use only */
int (*process_func)( void *ctx, const unsigned char *input );
int (*process_func)(void *ctx, const unsigned char *input);
};
#if defined(MBEDTLS_MD2_C)