New RSA API #706
No reviewers
Labels
No labels
bug
duplicate
enhancement
feature
help wanted
improve API
invalid
needs documentation
not-planned
rtfm
stale
support
wishlist
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libtom/libtomcrypt!706
Loading…
Reference in a new issue
No description provided.
Delete branch "new-rsa-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Introduce the RSA API v2.
Follow-up of #699 which already contains some comments regarding the new API.
Checklist
I have committed my suggestions as separate commits.
The updated version with my changes not only passes all libtomcrypt tests, but also my perl CryptX test suite.
Thanks a lot for picking this up and working on it! Very much appreciated :)
For now just one question regarding your latest changes.
Why the switch back to the resolved index instead of using the hash name? I like the string-based "way of working" a bit better nowadays, even though it complicates the internal implementation a bit. (Which could certainly be improved by some nifty helpers.)
I still hope we get rid of the descriptors at one point, so I thought we could already future-proof the implementation, but maybe there's another reason I'm not aware of?
ad hash idx vs hash name - it's just that I didn't like those extra round-trips name>>idx>>name (I have no problem with reverting it)
hmm, I guess we should think in light of "how would resp. could it work if there was no registry" ... which will be "interesting" ...
In that context I just had a look at #515 again and I'm still in favor of merging that one, but now I'm not so sure anymore whether we should go forward and remove all registries, since as @levitte put it "[...] it does cut away the possibility for more complex systems, where there's a part that needs to be able to find implementations by name [...]", which we currently see here.
Therefore let's keep this as it is now and we will see how it evolves.