Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix and general improvements in tsfile.c #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

throwaway96
Copy link
Member

@throwaway96 throwaway96 commented Nov 11, 2024

Previously, a nonzero unwrapped key would be considered bad if its bytes summed to a multiple of 256.

Also fixed some incorrect format specifiers.

(I haven't tested this, as I don't have any encrypted DVR files.)

Previously, a nonzero unwrapped key would be considered bad if its bytes
summed to a multiple of 256.
Copy link

@@ -113,14 +111,16 @@
// set unwrap_key: 0x01, 0x02, 0x03, ... 0x0F
for (int i = 0; i < sizeof(unwrap_key); i++){
unwrap_key[i] = i;
//printf("%02X", unwrap_key[i]);
//printf("%02" PRIx8, unwrap_key[i]);

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant