Tor  0.4.7.0-alpha-dev
Data Fields
sr_srv_t Struct Reference

#include <shared_random.h>

Data Fields

uint64_t num_reveals
 
uint8_t value [DIGEST256_LEN]
 

Detailed Description

A shared random value (SRV).

Definition at line 62 of file shared_random.h.

Field Documentation

◆ num_reveals

uint64_t num_reveals

The number of reveal values used to derive this SRV.

Definition at line 64 of file shared_random.h.

Referenced by disk_state_put_srv_line(), and srv_to_ns_string().

◆ value

uint8_t value[DIGEST256_LEN]

The actual value. This is the stored result of SHA3-256.

Definition at line 66 of file shared_random.h.

Referenced by compare_srv_(), compare_srvs_(), generate_srv(), and sr_srv_encode().


The documentation for this struct was generated from the following file: