AWS IoT Device SDK C++ v2 1.44.1
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
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

namespace  Aws
namespace  Aws::Crt
namespace  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
bool AWS_CRT_CPP_API Aws::Crt::Crypto::ComputeSHA512 (Allocator *allocator, const ByteCursor &input, ByteBuf &output, size_t truncateTo=0) noexcept
bool AWS_CRT_CPP_API Aws::Crt::Crypto::ComputeSHA512 (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::SHA512_DIGEST_SIZE = AWS_SHA512_LEN
static const size_t Aws::Crt::Crypto::MD5_DIGEST_SIZE = AWS_MD5_LEN