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

Make BitLocker OpenCL format encoding-aware #5384

Open
solardiz opened this issue Dec 10, 2023 · 0 comments
Open

Make BitLocker OpenCL format encoding-aware #5384

solardiz opened this issue Dec 10, 2023 · 0 comments

Comments

@solardiz
Copy link
Member

In the corresponding CPU format, we have:

static void bitlocker_set_key(char *key, int index)
{
        /* Convert key to UTF-16LE (--encoding aware) */
        enc_to_utf16(saved_key[index], PLAINTEXT_LENGTH, (UTF8*)key, strlen(key));
}

static char *get_key(int index)
{
        return (char*)utf16_to_enc(saved_key[index]);
}

but there isn't an equivalent in the OpenCL format, as far as I can see. So apparently our bitlocker-opencl is currently limited to ASCII passwords, whereas the CPU format is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant