22#ifndef LLVM_SUPPORT_SHA256_H
23#define LLVM_SUPPORT_SHA256_H
51 LLVM_ABI std::array<uint8_t, 32>
final();
65 enum { BLOCK_LENGTH = 64 };
66 enum { HASH_LENGTH = 32 };
85 void final(std::array<
uint32_t, HASH_LENGTH / 4> &HashResult);
static void pad(raw_fd_ostream &OS)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
LLVM_ABI void init()
Reinitialize the internal state.
uint32_t State[HASH_LENGTH/4]
static LLVM_ABI std::array< uint8_t, 32 > hash(ArrayRef< uint8_t > Data)
Returns a raw 256-bit SHA256 hash for the given data.
union llvm::SHA256::@107052163344123117275370062332227007065142304261::@243062157356327264273052105121363310106131102316 Buffer
LLVM_ABI void update(ArrayRef< uint8_t > Data)
Digest more data.
LLVM_ABI std::array< uint8_t, 32 > result()
Return the current raw 256-bits SHA256 for the digested data since the last call to init().
uint32_t L[BLOCK_LENGTH/4]
StringRef - Represent a constant reference to a string, i.e.
This is an optimization pass for GlobalISel generic memory operations.
FunctionAddr VTableAddr uintptr_t uintptr_t Data