Tor
0.4.7.0-alpha-dev
|
#include <crypto_digest.h>
Data Fields | |
char | d [N_COMMON_DIGEST_ALGORITHMS][DIGEST256_LEN] |
A set of all the digests we commonly compute, taken on a single string. Any digests that are shorter than 512 bits are right-padded with 0 bits.
Note that this representation wastes 44 bytes for the SHA1 case, so don't use it for anything where we need to allocate a whole bunch at once.
Definition at line 87 of file crypto_digest.h.
char d[N_COMMON_DIGEST_ALGORITHMS][DIGEST256_LEN] |
An array of digest outputs, one for each "common" digest algorithm.
Definition at line 89 of file crypto_digest.h.
Referenced by connection_or_compute_authenticate_cell_body(), and crypto_common_digests().