cmac.c whitespace cleanup

This commit is contained in:
Brian Murray 2016-05-19 19:02:53 -07:00 committed by Simon Butcher
parent 2cfa5072ed
commit 617634e656

View file

@ -59,7 +59,6 @@ void mbedtls_cmac_init( mbedtls_cmac_context *ctx )
memset( ctx, 0, sizeof( mbedtls_cmac_context ) ); memset( ctx, 0, sizeof( mbedtls_cmac_context ) );
} }
/* /*
* Multiplication by u in the Galois field of GF(2^n) * Multiplication by u in the Galois field of GF(2^n)
* *
@ -267,13 +266,11 @@ int mbedtls_cmac_generate( mbedtls_cmac_context *ctx,
unsigned char *tag, size_t tag_len ) unsigned char *tag, size_t tag_len )
{ {
unsigned char *state; unsigned char *state;
unsigned char *M_last; unsigned char *M_last;
int n, j, ret, needs_padding; int n, j, ret, needs_padding;
size_t olen, block_size, i; size_t olen, block_size, i;
ret = 0; ret = 0;
block_size = ctx->cipher_ctx.cipher_info->block_size; block_size = ctx->cipher_ctx.cipher_info->block_size;