fix some potential empty responses and too much inline calls

This commit is contained in:
iceman1001 committed 2023-08-03 08:41:11 +02:00
1 parent a2ea5e3a24
commit 24a138eeb1
5 files changed
+32 -8

No files matched your search

@@ -96,7 +96,7 @@ static uint32_t keys_found = 0;
static uint64_t num_keys_tested;
static uint64_t found_bs_key = 0;
inline uint8_t trailing_zeros(uint8_t byte) {
uint8_t trailing_zeros(uint8_t byte) {
static const uint8_t trailing_zeros_LUT[256] = {
8, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,