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

🖖Add fake dxil signing support #25

Merged
merged 4 commits into from
Jan 11, 2022
Merged

Conversation

Jasper-Bekkers
Copy link
Member

This adds helper functions to sign dxil blobs without needing the dxil.dll present in the code repository. The code is a straight port from RenderDoc that has similar functionality.

pub struct Context {
buffer: [u8; 64],
count: [u32; 2],
pub state: [u32; 4], // hassle-rs modification
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to PR this back? Also, maybe a short overview of the crate mod(s?) at the top of the file in a comment would be nice :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it, but the crate didn't have any updates since 2019 and doesn't seem very active. However it is quite widely used. We can PR it back since this is the only real mod that we require. Did it like this for now because I don't want a git dependency here (since we can't push a release then).

@Jasper-Bekkers Jasper-Bekkers merged commit c4fd1b3 into main Jan 11, 2022
@MarijnS95 MarijnS95 deleted the add-fake-signing-support branch January 12, 2022 09:36
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.

2 participants