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

WinCrypt slows down libbde_metadata_read_volume_master_key #21

Closed
YoMission opened this issue Dec 5, 2017 · 5 comments
Closed

WinCrypt slows down libbde_metadata_read_volume_master_key #21

YoMission opened this issue Dec 5, 2017 · 5 comments
Assignees
Labels

Comments

@YoMission
Copy link

This library cost about 2 minutes to calculate the encrypted_context at the function libbde_metadata_read_volume_master_key. So is there any solutions to optimize?

@joachimmetz
Copy link
Member

are you running into this issue by any chance?
libyal/libcaes#1

could you try adding WINVER=0x501

@YoMission
Copy link
Author

By setting WINVER to 0x0501, the program will not run into that issue. Thanks a lot! And what's more, why using Wincrypt provides such a horribly running time.

@joachimmetz
Copy link
Member

And what's more, why using Wincrypt provides such a horribly running time.

This is something I need to look into when time permits. Current hypothesis this has to do how the wincrypt API is used by libcaes.

@YoMission
Copy link
Author

Thanks my codeing master. Hope that we can find the reason.

@joachimmetz
Copy link
Member

Removing WinCrypt support, seeing it is deprecated
libyal/libcaes#10

@joachimmetz joachimmetz self-assigned this Aug 12, 2018
@joachimmetz joachimmetz changed the title Something about the calculating time WinCrypt slows down libbde_metadata_read_volume_master_key Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants