Aapo Talvensaari <[email protected]> writes: > sometimes return longer dst than what was requested. See: > > https://github.com/bungle/lua-resty-nettle/blob/master/lib/resty/nettle/pbkdf2.lua#L21 > > I had to put ":sub(1, len)" to overcome that.
How does ffi_str work? You're aware that the output is binary data, with no NUL-termination? If it is a bug in nettle, it would help if you could provide a minimal C program that let's me reproduce the problem. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
