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 crypto_secretstream_xchacha20poly1305 API #54

Open
dspearson opened this issue May 12, 2019 · 3 comments
Open

Add crypto_secretstream_xchacha20poly1305 API #54

dspearson opened this issue May 12, 2019 · 3 comments

Comments

@dspearson
Copy link
Contributor

I'm looking to use the secretstream API as documented here. Is there any intention to support this?

@dspearson
Copy link
Contributor Author

It looks like this new API uses structs, namely crypto_secretstream_xchacha20poly1305_state. My experience with jnr-ffi isn't solid enough to know how to approach this unfortunately.

@dspearson
Copy link
Contributor Author

I did attempt to add bindings, but hit a roadblock:

More than one matching method found: crypto_secretstream_xchacha20poly1305_init_push

My lack of knowledge of jnr-ffi probably renders further work on this useless.

@dspearson dspearson changed the title secretstream API Add crypto_secretstream_xchacha20poly1305 API May 15, 2019
@dspearson
Copy link
Contributor Author

While working on implementing the kx bindings, I also hit this same issue. It appears to be related to the use of call!, as using the method directly on the sodium object worked in the kx case.

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