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

Libhydrogen API hydro_kx_kk_2 getting failed in AIX #135

Open
AshishDurgapal opened this issue Sep 1, 2022 · 2 comments
Open

Libhydrogen API hydro_kx_kk_2 getting failed in AIX #135

AshishDurgapal opened this issue Sep 1, 2022 · 2 comments

Comments

@AshishDurgapal
Copy link

We have static keys sender private key, sender public key and recipient public key but when we send the packet1 from client to server, then server failed to decrypt the packet using API( hydro_kx_kk_2 ) in AIX platform.

However, same keys are working fine in linux, windows, MAC and android, so could you please let me know why we are not able to decrypt the packet over AIX only.

one more observation, We have generated the static key pairs using API hydro_kx_keygen but keys generated in AIX is not working with linux and vice-a-versa.

@jedisct1
Copy link
Owner

jedisct1 commented Nov 8, 2022

Maybe an endianness issue.

Do you have a code snippet that reproduces this?

@AshishDurgapal
Copy link
Author

Correct.
The issue was due to endianness and we have fixed the issue by using flag .
Thanks @jedisct1 for your time.

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