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

#include <hash_provider.h>

Inherited by ccf::crypto::OpenSSLHashProvider.

Public Member Functions

virtual HashBytes Hash (const uint8_t *data, size_t size, MDType type) const =0
 
virtual ~HashProvider ()=default
 

Constructor & Destructor Documentation

◆ ~HashProvider()

virtual ccf::crypto::HashProvider::~HashProvider ( )
virtualdefault

Member Function Documentation

◆ Hash()

virtual HashBytes ccf::crypto::HashProvider::Hash ( const uint8_t *  data,
size_t  size,
MDType  type 
) const
pure virtual

Generic Hash function

Parameters
dataThe data to hash
sizeThe size of data
typeThe type of hash to compute

Implemented in ccf::crypto::OpenSSLHashProvider.


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