Commit graph

53 commits

Author SHA1 Message Date
589f0bb52b Clean up verbose logging 2023-06-24 16:54:58 -04:00
9029d35a6b Small improvements to CLI 2023-06-24 16:31:23 -04:00
2bed0f88d1 Clean up xpkey 2023-06-24 16:30:13 -04:00
8510eb367d Move clap types to their own module 2023-06-24 16:04:57 -04:00
fe98c451f0 Use name for confid 2023-06-24 15:54:01 -04:00
53bbc022a3 Optimize for filesize in release mode 2023-06-24 15:52:32 -04:00
c01e23adc3 Remove commented code 2023-06-24 03:59:25 -04:00
b6707e34b8 Restructure CLI to use subcommands 2023-06-24 03:49:50 -04:00
42f2fa5f80 Pare down xpkey 2023-06-24 01:01:40 -04:00
72d4db7af6 Re-add verbose logging of key fields 2023-06-24 00:28:18 -04:00
c380be1eae Separate channel_id and sequence in bink1998 2023-06-23 20:44:46 -04:00
49ce9a47f3 Use correct channel_id for bink2002 2023-06-23 20:36:45 -04:00
b73401cefb Cleanup 2023-06-23 20:29:13 -04:00
7bd191e6be Add tests to confid 2023-06-23 17:04:34 -04:00
d00fbb9882 Add upfront length checks to confid 2023-06-23 16:59:02 -04:00
61d875757d Redesign lib public interface 2023-06-23 16:57:12 -04:00
83bfa98a38 Reorganize crate as lib 2023-06-23 02:24:40 -04:00
1129212b23 Remove unnecessary muts 2023-06-22 17:34:03 -04:00
b95d46293c Print key validation results in verbose mode 2023-06-22 03:39:24 -04:00
e001afdaed Add validate command line option 2023-06-22 02:59:19 -04:00
78b45cf929 More confid cleanup 2023-06-22 02:18:09 -04:00
ce9442e9b8 Run clippy --fix 2023-06-22 02:11:57 -04:00
5cd13fb03a Fix types and symbol names 2023-06-22 02:10:52 -04:00
3c55eaadbc Move converted code to its own submodule 2023-06-22 01:49:34 -04:00
6d27106e35 Narrow the scope of unsafe in confid::generate 2023-06-22 01:44:38 -04:00
2c41fe6c21 Run clippy --fix 2023-06-22 01:40:31 -04:00
932a11679d Fix TDivisor type
Hooray! It works!
2023-06-22 01:39:58 -04:00
ecce5e797f Remove C-style types 2023-06-22 01:17:52 -04:00
ede990ae44 Add missing comments from original code 2023-06-21 22:12:12 -04:00
063b4b5dc7 Remove unnecessary unsafes 2023-06-21 21:57:09 -04:00
43caccc8b7 Fix up two functions with tested code 2023-06-21 21:52:52 -04:00
7d35fe36fe Remove libc dependency 2023-06-21 21:45:34 -04:00
69faa5626e Remove usage of libc functions 2023-06-21 21:40:58 -04:00
a0657d2652 Remove unnecessary function decorators
(and an unused function)
2023-06-21 21:10:41 -04:00
cac0235f2c Eliminate remaining warnings 2023-06-21 21:08:16 -04:00
dfbd994d19 Run clippy --fix again 2023-06-21 20:56:48 -04:00
7145e14d29 Remove some allows 2023-06-21 20:55:56 -04:00
15e8b70ae4 Eliminate warnings 2023-06-21 20:54:32 -04:00
a678d927ca Run clippy --fix 2023-06-21 20:51:26 -04:00
812bbad07b Use specific Rust types
It compiles now, but produces incorrect result
2023-06-21 20:50:13 -04:00
eb0a567405 WIP: Auto-convert confid code 2023-06-21 20:42:28 -04:00
6f648b6556 Implement bink2002 2023-06-20 22:35:15 -04:00
d86b41e039 Remove unused fields 2023-06-19 17:00:47 -04:00
ca8e830f0a Include keys.json as static data 2023-06-19 16:43:22 -04:00
bd51609f05 Impelement generation for bink1998 2023-06-19 16:42:50 -04:00
e9e7b1506f Implement pack for bink1998 2023-06-19 14:10:28 -04:00
3057f1bc95 Fix bink1998 verify 2023-06-19 02:49:46 -04:00
3993cafa35 Implement working unpack for bink1998 2023-06-19 02:18:58 -04:00
0208c863aa Fix swapped curve parameters 2023-06-19 02:17:31 -04:00
9402735559 Reorganize a bit 2023-06-18 02:24:11 -04:00