libhydrogen icon indicating copy to clipboard operation
libhydrogen copied to clipboard

Libhydrogen API hydro_kx_kk_2 getting failed in AIX

Open AshishDurgapal opened this issue 2 years ago • 2 comments

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.

AshishDurgapal avatar Sep 01 '22 15:09 AshishDurgapal

Maybe an endianness issue.

Do you have a code snippet that reproduces this?

jedisct1 avatar Nov 08 '22 14:11 jedisct1

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

AshishDurgapal avatar Nov 14 '22 03:11 AshishDurgapal