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 support for libsodium 1.0.19 #138

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

uio-torjus
Copy link

The PR adds support for libsodium 1.0.19.

Also adds new features from 1.0.19

  • AEAD AEGIS256/128L
  • SHA256/512 HKDF

Added keysize argument to the AEAD class to support AEGIS128L having smaller keysize than the rest. It must be set if using AEGIS128L, optional for all others.

If the new features are not wanted, let me know, and I'll remove the commits adding the new features, keeping only the one that updates SONAMES.

To avoid breaking changes to the base AEAD class, you will need to
specify keysize when using AEGIS128L, as it has a different size.

You can also use AEAD_AEGIS128L to avoid setting keysize.

Calling Use<Algorithim> will verify that key is expected size, and
raise error if not.
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.

1 participant