#include <Hash.h>
BYO_CRYPTO: Base class for custom hash implementations.
If using BYO_CRYPTO, you must define concrete implementations for the required hash algorithms and set their creation callbacks via functions like ApiHandle.SetBYOCryptoNewMD5Callback().
◆ ~ByoHash()
Aws::Crt::Crypto::ByoHash::~ByoHash |
( |
| ) |
|
|
virtual |
◆ ByoHash()
◆ DigestInternal()
virtual bool Aws::Crt::Crypto::ByoHash::DigestInternal |
( |
ByteBuf & |
output, |
|
|
size_t |
truncateTo = 0 |
|
) |
| |
|
protectedpure virtualnoexcept |
Complete the hash computation and write the final digest to output. This cannot be called more than once. If truncate_to is something other than 0, the output must be truncated to that number of bytes. Raise an AWS error and return false to indicate failure.
◆ UpdateInternal()
virtual bool Aws::Crt::Crypto::ByoHash::UpdateInternal |
( |
const ByteCursor & |
toHash | ) |
|
|
protectedpure virtualnoexcept |
Update the running hash with to_hash. This can be called multiple times. Raise an AWS error and return false to indicate failure.
The documentation for this class was generated from the following files:
- crt/aws-crt-cpp/include/aws/crt/crypto/Hash.h
- crt/aws-crt-cpp/source/crypto/Hash.cpp