muquit/libsodium-jna

singing does not pass message length

ozzi- opened this issue · 0 comments

ozzi- commented

Hi there
It seems that the message length is not passed when calling sodium().crypto_sign_open.

https://github.com/muquit/libsodium-jna/blob/master/src/main/java/com/muquit/libsodiumjna/SodiumLibrary.java#L312

Whats the reason for this? Passing null will yield in libsodium checking the length itself?

Cheers