Remove unused cast

Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
Ben Taylor
2026-05-29 13:17:21 +01:00
parent 130b914ff2
commit 3a358b0677
+1 -1
View File
@@ -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++;