CCF
Loading...
Searching...
No Matches
Namespaces | Functions
hash.cpp File Reference
#include "crypto/openssl/hash.h"
#include "ccf/crypto/hkdf.h"
#include "ccf/crypto/sha256.h"

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Functions

void ccf::crypto::default_sha256 (const std::span< const uint8_t > &data, uint8_t *h)
 
std::vector< uint8_t > ccf::crypto::sha256 (const std::vector< uint8_t > &data)
 
HashBytes ccf::crypto::sha256 (const std::span< uint8_t const > &data)
 
HashBytes ccf::crypto::sha256 (const uint8_t *data, size_t len)
 
std::shared_ptr< HashProviderccf::crypto::make_hash_provider ()
 
std::shared_ptr< ISha256Hashccf::crypto::make_incremental_sha256 ()
 
std::vector< uint8_t > ccf::crypto::hkdf (MDType md_type, size_t length, const std::span< const uint8_t > &ikm, const std::span< const uint8_t > &salt={}, const std::span< const uint8_t > &info={})