|
Tor 0.4.9.9
|
#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. This used to support 512-bit digests but now we allow only 256-bit at most (see tickets 17795 and 41267).
Note that this representation wastes 12 bytes for the SHA1 case.
Definition at line 85 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 87 of file crypto_digest.h.
Referenced by channel_tls_process_authenticate_cell(), channel_tls_process_certs_cell(), connection_or_compute_authenticate_cell_body(), crypto_common_digests(), generate_ed_link_cert(), networkstatus_add_detached_signatures(), networkstatus_check_document_signature(), networkstatus_get_detached_signatures(), networkstatus_parse_detached_signatures(), networkstatus_parse_vote_from_string(), or_handshake_certs_ed25519_ok(), and should_make_new_ed_keys().