Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: hmacsha256.c
- Revision:
- 19:2e0811512ceb
- Parent:
- 0:fa2de1b79154
--- a/hmacsha256.c Fri Jan 13 18:41:15 2017 -0800 +++ b/hmacsha256.c Sat Jan 28 09:35:22 2017 -0800 @@ -1,15 +1,10 @@ // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. -#include <stdlib.h> -#ifdef _CRTDBG_MAP_ALLOC -#include <crtdbg.h> -#endif -#include "azure_c_shared_utility/gballoc.h" - +#include <stddef.h> #include "azure_c_shared_utility/hmacsha256.h" #include "azure_c_shared_utility/hmac.h" -#include "azure_c_shared_utility/strings.h" +#include "azure_c_shared_utility/buffer_.h" HMACSHA256_RESULT HMACSHA256_ComputeHash(const unsigned char* key, size_t keyLen, const unsigned char* payload, size_t payloadLen, BUFFER_HANDLE hash) {