HashContext.h
Go to the documentation of this file.
HashContext & update(const FSTR::ObjectBase &obj)
Data from flash object.
Definition: HashContext.h:70
HashContext & update(const ByteArray< size_ > &array)
Data in ByteArray.
Definition: HashContext.h:94
State getState()
Get intermediate hash state.
Definition: HashContext.h:117
HashContext(EngineArgs &&... engineArgs)
Definition: HashContext.h:33
Hash getHash()
Finalise and return the final hash value.
Definition: HashContext.h:104
Hash calculate(Ts &&... args)
Calculate hash on some data.
Definition: HashContext.h:52
HashContext & reset(EngineArgs &&... engineArgs)
Reset the context for a new calculation.
Definition: HashContext.h:41
HashContext & update(const void *data, size_t size)
Pointer to data + size.
Definition: HashContext.h:87
void setState(const State &state)
Restore intermediate hash state.
Definition: HashContext.h:133
HashContext & update(const Blob &blob)
Data from Blob.
Definition: HashContext.h:64
size_t read(size_t offset, void *buffer, size_t count) const
Read contents of a String into RAM.
Definition: Blake2s.h:19
std::array< uint8_t, size_ > ByteArray
Class template for fixed byte array.
Definition: ByteArray.h:24
Definition: HashContext.h:28