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

finely configure number of array entries for cipher_descriptor, hash_descriptor, and prng_descriptor #522

Closed
metalalive opened this issue Nov 14, 2019 · 1 comment

Comments

@metalalive
Copy link

Hi, I am integrating this cryptography library to my application running on microcontroller-based embedded device. I found that the array cipher_descriptor, hash_descriptor, and prng_descriptor are declared with the same parameter TAB_SIZE, which indicates the number of entries that would be used in the array .

I am considering to declare these descriptors with different number of entries, (e.g. only 1 entry in prng_descriptor , and 2 entries in hash_descriptor) in order to save some memory space in my case,

I know that I can do this by simply forking this repository and modifying code by myself , but I still would like to ask if there is any plan from you to provide more parameters to finely configure these descriptors ? Thanks for reading.

@sjaeckel
Copy link
Member

Sorry for the delay.

I think we should first find out if we keep the registry as is or if we follow #515 and remove all registries. In case we keep it, this change would be nice IMO.

As @karel-m already pointed out, #515 and whatever follows in that direction would be a heavily breaking change, but I'm pretty sure it would improve the API's.

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

2 participants