mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-26 19:57:13 +09:00
06e089ef6a18ba1d461fe7dcfc82b72b8b16e43d
crypto_sign() doesn't just need the secret key. The public key has to follow. Which is why the test vectors are laid out in this order. But this can confuse static analysis, as well as people looking at the test in order to better understand how crypto_sign() works. So, just copy the sk and the pk into a dedicated buffer, for clarity.
See README.markdown
Languages
C
93%
Shell
1.8%
M4
1.5%
Zig
1.3%
Assembly
1.1%
Other
1.2%