LLVM: llvm::BLAKE3 Class Reference (original) (raw)

A class that wraps the BLAKE3 algorithm. More...

#include "[llvm/Support/BLAKE3.h](BLAKE3%5F8h%5Fsource.html)"

Public Member Functions
BLAKE3 ()
void init ()
Reinitialize the internal state.
void update (ArrayRef< uint8_t > Data)
Digest more data.
void update (StringRef Str)
Digest more data.
template<size_t NumBytes = LLVM_BLAKE3_OUT_LEN>
void final (BLAKE3Result< NumBytes > &Result)
Finalize the hasher and put the result in Result.
template<size_t NumBytes = LLVM_BLAKE3_OUT_LEN>
BLAKE3Result< NumBytes > final ()
Finalize the hasher and return an output of any length, given in bytes.
template<size_t NumBytes = LLVM_BLAKE3_OUT_LEN>
BLAKE3Result< NumBytes > result ()
Return the current output for the digested data since the last call to init().

A class that wraps the BLAKE3 algorithm.

Definition at line 38 of file BLAKE3.h.

llvm::BLAKE3::BLAKE3 ( ) inline

final() [1/2]

template<size_t NumBytes = LLVM_BLAKE3_OUT_LEN>

final() [2/2]

template<size_t NumBytes = LLVM_BLAKE3_OUT_LEN>

void llvm::BLAKE3::final ( BLAKE3Result< NumBytes > & Result) inline

Finalize the hasher and put the result in Result.

This doesn't modify the hasher itself, and it's possible to finalize again after adding more input.

Definition at line 59 of file BLAKE3.h.

References llvm_blake3_hasher_finalize().

hash()

template<size_t NumBytes = LLVM_BLAKE3_OUT_LEN>

init()

void llvm::BLAKE3::init ( ) inline

result()

template<size_t NumBytes = LLVM_BLAKE3_OUT_LEN>

update() [1/2]

update() [2/2]

void llvm::BLAKE3::update ( StringRef Str) inline

The documentation for this class was generated from the following file: