#include <cassert>#include <boost/cstdint.hpp>#include "libtorrent/peer_id.hpp"#include "libtorrent/config.hpp"Go to the source code of this file.
Namespaces | |
| namespace | libtorrent |
Classes | |
| struct | SHA1_CTX |
| class | libtorrent::adler32_crc |
| class | libtorrent::hasher |
Functions | |
| TORRENT_EXPORT void | SHA1Init (SHA1_CTX *context) |
| TORRENT_EXPORT void | SHA1Update (SHA1_CTX *context, boost::uint8_t const *data, boost::uint32_t len) |
| TORRENT_EXPORT void | SHA1Final (SHA1_CTX *context, boost::uint8_t *digest) |
| unsigned long | adler32 (unsigned long adler, const char *data, unsigned int len) |
| unsigned long adler32 | ( | unsigned long | adler, | |
| const char * | data, | |||
| unsigned int | len | |||
| ) |
| TORRENT_EXPORT void SHA1Final | ( | SHA1_CTX * | context, | |
| boost::uint8_t * | digest | |||
| ) |
Referenced by libtorrent::hasher::final().
| void SHA1Init | ( | SHA1_CTX * | context | ) |
Definition at line 162 of file sha1.cpp.
References SHA1_CTX::count, and SHA1_CTX::state.
Referenced by libtorrent::hasher::hasher(), and libtorrent::hasher::reset().
| TORRENT_EXPORT void SHA1Update | ( | SHA1_CTX * | context, | |
| boost::uint8_t const * | data, | |||
| boost::uint32_t | len | |||
| ) |
Referenced by libtorrent::hasher::hasher(), SHA1Final(), and libtorrent::hasher::update().
1.5.6