CCF
Loading...
Searching...
No Matches
Namespaces | Functions
sha256_hash.cpp File Reference
#include "ccf/crypto/sha256_hash.h"
#include "ccf/ds/hex.h"

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Functions

void ccf::crypto::default_sha256 (const std::span< const uint8_t > &data, uint8_t *h)
 
std::ostream & ccf::crypto::operator<< (std::ostream &os, const ccf::crypto::Sha256Hash &h)
 
void ccf::crypto::to_json (nlohmann::json &j, const Sha256Hash &hash)
 
void ccf::crypto::from_json (const nlohmann::json &j, Sha256Hash &hash)
 
std::string ccf::crypto::schema_name (const Sha256Hash *)
 
void ccf::crypto::fill_json_schema (nlohmann::json &schema, const Sha256Hash *)
 
bool ccf::crypto::operator== (const Sha256Hash &lhs, const Sha256Hash &rhs)
 
bool ccf::crypto::operator!= (const Sha256Hash &lhs, const Sha256Hash &rhs)