Tor  0.4.7.0-alpha-dev
Data Fields
crypto_fast_rng_t::cbuf_t Struct Reference

Data Fields

uint8_t seed [SEED_LEN]
 
uint8_t bytes [BUFLEN]
 

Detailed Description

Definition at line 111 of file crypto_rand_fast.c.

Field Documentation

◆ bytes

uint8_t bytes[BUFLEN]

Bytes that we are yielding to the user. The next byte to be yielded is at bytes[BUFLEN-bytes_left]; all other bytes in this array are set to zero.

Definition at line 120 of file crypto_rand_fast.c.

◆ seed

uint8_t seed[SEED_LEN]

The seed (key and IV) that we will use the next time that we refill cbuf_t.

Definition at line 114 of file crypto_rand_fast.c.

Referenced by crypto_fast_rng_add_entopy(), and crypto_fast_rng_new_from_seed().


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