CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ccf::crypto::ISha256Hash Class Referenceabstract

#include <hash_provider.h>

Inherited by ccf::crypto::ISha256OpenSSL.

Public Member Functions

 ISha256Hash ()
 
virtual ~ISha256Hash ()
 
virtual void update_hash (std::span< const uint8_t > data)=0
 
virtual Sha256Hash finalise ()=0
 
template<typename T >
void update (const T &t)
 
template<>
void update (const std::vector< uint8_t > &d)
 

Constructor & Destructor Documentation

◆ ISha256Hash()

ccf::crypto::ISha256Hash::ISha256Hash ( )
inline

◆ ~ISha256Hash()

virtual ccf::crypto::ISha256Hash::~ISha256Hash ( )
inlinevirtual

Member Function Documentation

◆ finalise()

virtual Sha256Hash ccf::crypto::ISha256Hash::finalise ( )
pure virtual

Implemented in ccf::crypto::ISha256OpenSSL.

◆ update() [1/2]

template<>
void ccf::crypto::ISha256Hash::update ( const std::vector< uint8_t > &  d)
inline

◆ update() [2/2]

template<typename T >
void ccf::crypto::ISha256Hash::update ( const T &  t)
inline

◆ update_hash()

virtual void ccf::crypto::ISha256Hash::update_hash ( std::span< const uint8_t >  data)
pure virtual

Implemented in ccf::crypto::ISha256OpenSSL.


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