CCF
Loading...
Searching...
No Matches
Namespaces | Functions
hash.cpp File Reference
#include "crypto/openssl/hash.h"
#include "ccf/crypto/openssl_init.h"
#include <limits>
#include <openssl/evp.h>
#include <openssl/sha.h>
#include <stdexcept>

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 
namespace  ccf::crypto::OpenSSL
 

Functions

std::vector< uint8_t > ccf::crypto::OpenSSL::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)
 
void ccf::crypto::openssl_sha256_init ()
 
void ccf::crypto::openssl_sha256_shutdown ()
 
void ccf::crypto::openssl_sha256 (const std::span< const uint8_t > &data, uint8_t *h)