From 8308a445d88864fb76996a7999baa23e35ca6886 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Wed, 5 Oct 2016 15:12:59 +0100 Subject: [PATCH] Fix naming in cmac.h to comply with check-names.sh --- include/mbedtls/cmac.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mbedtls/cmac.h b/include/mbedtls/cmac.h index ceeb20add..6d531dddb 100644 --- a/include/mbedtls/cmac.h +++ b/include/mbedtls/cmac.h @@ -37,9 +37,10 @@ extern "C" { #endif /** - * \brief CMAC context structure + * CMAC context structure - Contains internal state information only */ -typedef struct mbedtls_cmac_context_t { +struct mbedtls_cmac_context_t +{ /** Internal state of the CMAC algorithm */ unsigned char state[MBEDTLS_CIPHER_BLKSIZE_MAX_SIZE]; @@ -53,8 +54,7 @@ typedef struct mbedtls_cmac_context_t { /** Flag to indicate if the last block needs padding */ int padding_flag; -} -mbedtls_cmac_context_t; +}; /** * \brief Set the CMAC key and prepare to authenticate the input