Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <crypto/sha256.h>
#include <compat/cpuid.h>
#include <crypto/common.h>
#include <cassert>
#include <cstring>
Go to the source code of this file.
Namespaces | |
namespace | sha256d64_sse41 |
namespace | sha256d64_avx2 |
namespace | sha256d64_shani |
namespace | sha256_shani |
namespace | sha256 |
Internal SHA-256 implementation. | |
Functions | |
void | sha256d64_sse41::Transform_4way (uint8_t *out, const uint8_t *in) |
void | sha256d64_avx2::Transform_8way (uint8_t *out, const uint8_t *in) |
void | sha256d64_shani::Transform_2way (uint8_t *out, const uint8_t *in) |
void | sha256_shani::Transform (uint32_t *s, const uint8_t *chunk, size_t blocks) |
std::string | SHA256AutoDetect () |
Autodetect the best available SHA256 implementation. | |
void | SHA256D64 (uint8_t *out, const uint8_t *in, size_t blocks) |
Compute multiple double-SHA256's of 64-byte blobs. | |
std::string SHA256AutoDetect | ( | ) |
Autodetect the best available SHA256 implementation.
Returns the name of the implementation.
Definition at line 746 of file sha256.cpp.
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.