* Connection to the service.
*/
struct GNUNET_CLIENT_Connection *client;
-
+
/**
* Our configuration.
*/
*/
struct GNUNET_REVOCATION_Handle
{
-
+
/**
* Connection to the service.
*/
struct GNUNET_CLIENT_Connection *client;
-
+
/**
* Our configuration.
*/
rrm = (const struct RevocationResponseMessage *) msg;
h->func (h->func_cls, ntohl (rrm->is_valid));
GNUNET_REVOCATION_revoke_cancel (h);
-
+
}
struct GNUNET_REVOCATION_Handle *h;
unsigned long long matching_bits;
- if ( (GNUNET_OK ==
+ if ( (GNUNET_OK ==
GNUNET_CONFIGURATION_get_value_number (cfg,
"REVOCATION",
"WORKBITS",
size_t buf_len,
struct GNUNET_HashCode *result)
{
- GNUNET_break (0 ==
+ GNUNET_break (0 ==
gcry_kdf_derive (buf, buf_len,
GCRY_KDF_SCRYPT,
1 /* subalgo */,
- "gnunet-revocation-proof-of-work",
+ "gnunet-revocation-proof-of-work",
strlen ("gnunet-revocation-proof-of-work"),
2 /* iterations; keep cost of individual op small */,
sizeof (struct GNUNET_HashCode), result));