AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
Classes | Namespaces | Typedefs | Functions | Variables
Hash.h File Reference
#include <aws/crt/Exports.h>
#include <aws/crt/Types.h>
#include <aws/cal/hash.h>

Go to the source code of this file.

Classes

class  Aws::Crt::Crypto::Hash
 
class  Aws::Crt::Crypto::ByoHash
 

Namespaces

 Aws
 
 Aws::Crt
 
 Aws::Crt::Crypto
 

Typedefs

using Aws::Crt::Crypto::CreateHashCallback = std::function< std::shared_ptr< ByoHash >(size_t digestSize, Allocator *)>
 

Functions

bool AWS_CRT_CPP_API Aws::Crt::Crypto::ComputeSHA256 (Allocator *allocator, const ByteCursor &input, ByteBuf &output, size_t truncateTo=0) noexcept
 
bool AWS_CRT_CPP_API Aws::Crt::Crypto::ComputeSHA256 (const ByteCursor &input, ByteBuf &output, size_t truncateTo=0) noexcept
 
bool AWS_CRT_CPP_API Aws::Crt::Crypto::ComputeMD5 (Allocator *allocator, const ByteCursor &input, ByteBuf &output, size_t truncateTo=0) noexcept
 
bool AWS_CRT_CPP_API Aws::Crt::Crypto::ComputeMD5 (const ByteCursor &input, ByteBuf &output, size_t truncateTo=0) noexcept
 
bool AWS_CRT_CPP_API Aws::Crt::Crypto::ComputeSHA1 (Allocator *allocator, const ByteCursor &input, ByteBuf &output, size_t truncateTo=0) noexcept
 
bool AWS_CRT_CPP_API Aws::Crt::Crypto::ComputeSHA1 (const ByteCursor &input, ByteBuf &output, size_t truncateTo=0) noexcept
 

Variables

static const size_t Aws::Crt::Crypto::SHA1_DIGEST_SIZE = AWS_SHA1_LEN
 
static const size_t Aws::Crt::Crypto::SHA256_DIGEST_SIZE = AWS_SHA256_LEN
 
static const size_t Aws::Crt::Crypto::MD5_DIGEST_SIZE = AWS_MD5_LEN