diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-04 16:35:38 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-04 17:04:19 +0100 |
commit | 5cfd4a5b8e551c23600c93838180487e91698814 (patch) | |
tree | d5242d45a034266a35044cca12ebad340dd2a40b /utils/nwztools/upgtools/keysig_search.h | |
parent | bfd5704749cfb8f7faf9f03be49c60f5f2b1cf7d (diff) | |
download | rockbox-5cfd4a5b8e551c23600c93838180487e91698814.tar.gz rockbox-5cfd4a5b8e551c23600c93838180487e91698814.zip |
nwztools/upgtools: add more brute force algorithms
Allow to search for hex with upper case and alphanumeric. This is *much* slower
of course.
Change-Id: I41a2fc63c4b2220c21147b711098ebc37ddb3527
Diffstat (limited to 'utils/nwztools/upgtools/keysig_search.h')
-rw-r--r-- | utils/nwztools/upgtools/keysig_search.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/nwztools/upgtools/keysig_search.h b/utils/nwztools/upgtools/keysig_search.h index f419e2621c..877da2f89c 100644 --- a/utils/nwztools/upgtools/keysig_search.h +++ b/utils/nwztools/upgtools/keysig_search.h | |||
@@ -30,7 +30,9 @@ enum keysig_search_method_t | |||
30 | { | 30 | { |
31 | KEYSIG_SEARCH_NONE = 0, | 31 | KEYSIG_SEARCH_NONE = 0, |
32 | KEYSIG_SEARCH_FIRST, | 32 | KEYSIG_SEARCH_FIRST, |
33 | KEYSIG_SEARCH_ASCII_HEX = KEYSIG_SEARCH_FIRST, | 33 | KEYSIG_SEARCH_XDIGITS = KEYSIG_SEARCH_FIRST, |
34 | KEYSIG_SEARCH_XDIGITS_UP, | ||
35 | KEYSIG_SEARCH_ALNUM, | ||
34 | KEYSIG_SEARCH_LAST | 36 | KEYSIG_SEARCH_LAST |
35 | }; | 37 | }; |
36 | 38 | ||