mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-09 14:50:17 +08:00
Remove unused cast
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
parent
130b914ff2
commit
3a358b0677
@ -227,7 +227,7 @@ static int chacha20_check_counter_wrap(const mbedtls_chacha20_context *ctx,
|
||||
size -= available_keystream;
|
||||
}
|
||||
|
||||
needed_blocks = (uint64_t) (size / CHACHA20_BLOCK_SIZE_BYTES);
|
||||
needed_blocks = (size / CHACHA20_BLOCK_SIZE_BYTES);
|
||||
|
||||
if (size % CHACHA20_BLOCK_SIZE_BYTES != 0U) {
|
||||
needed_blocks++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user