48 crypto_pwhash_argon2id ((
unsigned char *) result,
52 (
unsigned char*) salt,
55 crypto_pwhash_argon2id_ALG_ARGON2ID13));
#define GNUNET_break(cond)
Use this for internal assertion violations that are not fatal (can be handled) but should not occur...
cryptographic primitives for GNUnet
static int result
Global testing status.
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).
Value for a salt for GNUNET_CRYPTO_pow_hash().
static struct GNUNET_CRYPTO_PowSalt salt
Salt for PoW calcualations.