tor  master
Data Fields
common_digests_t Struct Reference

#include <crypto_digest.h>

Data Fields

char d [N_COMMON_DIGEST_ALGORITHMS][DIGEST256_LEN]
 

Detailed Description

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.


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