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

lib: introduce digest library #232

Merged
merged 3 commits into from
Dec 1, 2024
Merged

lib: introduce digest library #232

merged 3 commits into from
Dec 1, 2024

Conversation

sebastianertz
Copy link
Contributor

Introduce a new "digest" library which provides bindings for libmd operations. #112

md2(str);
md2_file(path);
md4(str);
md4_file(path);
md5(str);
md5_file(path);
sha1(str);
sha1_file(path);
sha256(str);
sha256_file(path);
sha384(str);
sha384_file(path);
sha512(str);
sha512_file(path);

@jow- jow- force-pushed the lib-digest branch 3 times, most recently from 3bd627c to 46d19ef Compare November 6, 2024 15:11
sebastianertz and others added 3 commits December 1, 2024 13:56
Signed-off-by: Sebastian Ertz <[email protected]>
This is needed for the upcoming digest library support.

Signed-off-by: Jo-Philipp Wich <[email protected]>
Introduce a new default enabled CMake option `DIGEST_SUPPORT_EXTENDED`
which, when turned off, disables all but the most common md5, sha1 and
sha256 alogirthms to reduce the library size.

Also prefer statically linking libmd if possible.

Signed-off-by: Jo-Philipp Wich <[email protected]>
@jow- jow- merged commit 60e7a88 into jow-:master Dec 1, 2024
2 checks passed
@jow-
Copy link
Owner

jow- commented Dec 1, 2024

Merged, thanks! Sorry for the long delay.

@sebastianertz sebastianertz deleted the lib-digest branch December 1, 2024 14:27
@jow- jow- mentioned this pull request Dec 6, 2024
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