CCF
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ccf::crypto::ISha256OpenSSL Class Reference

#include <hash.h>

Inherits ccf::crypto::ISha256Hash.

Public Member Functions

 ISha256OpenSSL ()
 
 ~ISha256OpenSSL ()
 
virtual void update_hash (std::span< const uint8_t > data)
 
virtual Sha256Hash finalise ()
 
- Public Member Functions inherited from ccf::crypto::ISha256Hash
 ISha256Hash ()
 
virtual ~ISha256Hash ()
 
template<typename T >
void update (const T &t)
 
template<>
void update (const std::vector< uint8_t > &d)
 

Protected Attributes

EVP_MD_CTX * ctx = nullptr
 

Constructor & Destructor Documentation

◆ ISha256OpenSSL()

ccf::crypto::ISha256OpenSSL::ISha256OpenSSL ( )

◆ ~ISha256OpenSSL()

ccf::crypto::ISha256OpenSSL::~ISha256OpenSSL ( )

Member Function Documentation

◆ finalise()

Sha256Hash ccf::crypto::ISha256OpenSSL::finalise ( )
virtual

◆ update_hash()

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

Member Data Documentation

◆ ctx

EVP_MD_CTX* ccf::crypto::ISha256OpenSSL::ctx = nullptr
protected

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