digests_t Struct Reference

#include <crypto.h>


Data Fields

char d [N_DIGEST_ALGORITHMS][DIGEST256_LEN]


Detailed Description

A set of all the digests we know how to compute, taken on a single string. Any digests that are shorter than 256 bits are right-padded with 0 bits.

Note that this representation wastes 12 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:

Generated on Tue May 25 00:31:11 2010 for tor by  doxygen 1.5.6