Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <cstdint>
#include <cstdlib>
#include <string>
Go to the source code of this file.
Classes | |
class | CSHA256 |
A hasher class for SHA-256. More... | |
Functions | |
std::string | SHA256AutoDetect () |
Autodetect the best available SHA256 implementation. More... | |
void | SHA256D64 (uint8_t *output, const uint8_t *input, size_t blocks) |
Compute multiple double-SHA256's of 64-byte blobs. More... | |
std::string SHA256AutoDetect | ( | ) |
Autodetect the best available SHA256 implementation.
Returns the name of the implementation.
Definition at line 746 of file sha256.cpp.
void SHA256D64 | ( | uint8_t * | output, |
const uint8_t * | input, | ||
size_t | blocks | ||
) |
Compute multiple double-SHA256's of 64-byte blobs.
output: pointer to a blocks*32 byte output buffer input: pointer to a blocks*64 byte input buffer blocks: the number of hashes to compute.
Definition at line 866 of file sha256.cpp.