mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-09 19:31:18 +08:00
Fix code style nit
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
parent
9149e12767
commit
2c942a35ff
@ -1005,7 +1005,7 @@ void mbedtls_aes_decrypt(mbedtls_aes_context *ctx,
|
|||||||
*/
|
*/
|
||||||
static void aes_maybe_realign(mbedtls_aes_context *ctx)
|
static void aes_maybe_realign(mbedtls_aes_context *ctx)
|
||||||
{
|
{
|
||||||
unsigned current_offset = (unsigned)(ctx->rk - ctx->buf);
|
unsigned current_offset = (unsigned) (ctx->rk - ctx->buf);
|
||||||
unsigned new_offset = mbedtls_aes_rk_offset(ctx->buf);
|
unsigned new_offset = mbedtls_aes_rk_offset(ctx->buf);
|
||||||
if (new_offset != current_offset) {
|
if (new_offset != current_offset) {
|
||||||
memmove(ctx->buf + new_offset, // new address
|
memmove(ctx->buf + new_offset, // new address
|
||||||
|
Loading…
x
Reference in New Issue
Block a user