Skip to content

Commit

Permalink
Update TCString.h
Browse files Browse the repository at this point in the history
  • Loading branch information
TabNahida authored Oct 27, 2024
1 parent 19422ec commit 219482b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/TCString.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void hashMD5(void *data, size_t size, uint8_t hash[16])

uint32_t r[64] = {7, 12, 17, 22, 5, 9, 14, 20, 4, 11, 16, 23, 6, 10, 15, 21};

uint8_t *input = (uint8_t)data;
uint8_t *input = (uint8_t *)data;
uint64_t bit_len = size * 8;

size_t new_size = size + 1 + ((56 - (size + 1) % 64) % 64) + 8;
Expand Down

0 comments on commit 219482b

Please sign in to comment.