mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
e20291d78e5118ef594f651cc60843e191476438
The function crypto_generichash_statebytes exists to dynamically determine the size of a crypto_generichash_state struct. This is useful when using libsodium from a language which can't use sizeof on C types. However, no equivalent existed for the crypto_generichash_blake2b_state struct for users who want to explicitly use the blake2b algorithm. The function crypt_generichash_blake2b_statebytes is added to fill this gap.
See README.markdown
Languages
C
93%
Shell
1.8%
M4
1.5%
Zig
1.3%
Assembly
1.1%
Other
1.2%