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

DES encryption type conflicts in the source #4

Open
maxieds opened this issue Jun 12, 2020 · 0 comments
Open

DES encryption type conflicts in the source #4

maxieds opened this issue Jun 12, 2020 · 0 comments

Comments

@maxieds
Copy link

maxieds commented Jun 12, 2020

Hello.

I am using the library in a somewhat unconventional way. Note that I have not tried compiling with the stock Makefile utils that come bundled with the library. Basically I only need a few of the crypto methods, so I am extracting these couple of directories into my source, and compiling them with my project's own standalone Makefile.

This seems to work well, with the exception of a caveat I just ran into trying to compile this way: In the des/des.*{c,h} files, there is a discrepancy in a few of the functions with the way the key buffers are typed: sometimes it's void *key, others it's uint8_t *key. This caused avr-gcc to issue me an error, so I thought to pass it on to the developers.

Overall, the library seems to be very neatly coded and minimal enough that other crypto overhead can be built on top of it. Thanks.

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

No branches or pull requests

1 participant