vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h in rbnacl-libsodium-1.0.11 vs vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h in rbnacl-libsodium-1.0.13

- old
+ new

@@ -37,10 +37,11 @@ typedef struct crypto_auth_hmacsha512_state { crypto_hash_sha512_state ictx; crypto_hash_sha512_state octx; } crypto_auth_hmacsha512_state; + SODIUM_EXPORT size_t crypto_auth_hmacsha512_statebytes(void); SODIUM_EXPORT int crypto_auth_hmacsha512_init(crypto_auth_hmacsha512_state *state, @@ -53,9 +54,12 @@ unsigned long long inlen); SODIUM_EXPORT int crypto_auth_hmacsha512_final(crypto_auth_hmacsha512_state *state, unsigned char *out); + +SODIUM_EXPORT +void crypto_auth_hmacsha512_keygen(unsigned char k[crypto_auth_hmacsha512_KEYBYTES]); #ifdef __cplusplus } #endif