Tor 0.4.9.0-alpha-dev
|
Definitions for common sizes of cryptographic digests. More...
Go to the source code of this file.
Macros | |
#define | DIGEST_LEN 20 |
#define | DIGEST256_LEN 32 |
#define | DIGEST512_LEN 64 |
Definitions for common sizes of cryptographic digests.
Tor uses digests throughout its codebase, even in parts that don't actually calculate the digests.
Definition in file digest_sizes.h.
#define DIGEST256_LEN 32 |
Length of the output of our second (improved) message digests. (For now this is just sha256, but it could be any other 256-bit digest.)
Definition at line 23 of file digest_sizes.h.
#define DIGEST512_LEN 64 |
Length of the output of our 64-bit optimized message digests (SHA512).
Definition at line 25 of file digest_sizes.h.
#define DIGEST_LEN 20 |
Length of the output of our message digest.
Definition at line 20 of file digest_sizes.h.