49 crypto_pwhash_argon2id ((
unsigned char *)
result,
53 (
unsigned char*)
salt,
56 crypto_pwhash_argon2id_ALG_ARGON2ID13));
static int result
Global testing status.
static struct GNUNET_CRYPTO_PowSalt salt
Salt for PoW calculations.
void GNUNET_CRYPTO_pow_hash(const struct GNUNET_CRYPTO_PowSalt *salt, const void *buf, size_t buf_len, struct GNUNET_HashCode *result)
Calculate the 'proof-of-work' hash (an expensive hash).
#define GNUNET_break(cond)
Use this for internal assertion violations that are not fatal (can be handled) but should not occur.
Value for a salt for GNUNET_CRYPTO_pow_hash().