cmac.c whitespace cleanup
This commit is contained in:
parent
2cfa5072ed
commit
617634e656
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue