/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include namespace Aws { namespace Utils { namespace Crypto { Sha256HMAC::Sha256HMAC() : m_hmacImpl(CreateSha256HMACImplementation()) { } Sha256HMAC::~Sha256HMAC() { } HashResult Sha256HMAC::Calculate(const Aws::Utils::ByteBuffer& toSign, const Aws::Utils::ByteBuffer& secret) { return m_hmacImpl->Calculate(toSign, secret); } } // namespace Crypto } // namespace Utils } // namespace Aws