Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
azure_c_shared_utility/hmac.h@2:20b88da3e604, 2016-05-09 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Mon May 09 14:37:45 2016 -0700
- Revision:
- 2:20b88da3e604
- Parent:
- 0:fa2de1b79154
- Child:
- 33:810f9cff537a
1.0.6
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Azure.IoT Build | 0:fa2de1b79154 | 1 | // Copyright (c) Microsoft. All rights reserved. |
Azure.IoT Build | 0:fa2de1b79154 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
Azure.IoT Build | 0:fa2de1b79154 | 3 | |
Azure.IoT Build | 0:fa2de1b79154 | 4 | #ifndef HMAC_H |
Azure.IoT Build | 0:fa2de1b79154 | 5 | #define HMAC_H |
Azure.IoT Build | 0:fa2de1b79154 | 6 | |
Azure.IoT Build | 0:fa2de1b79154 | 7 | #ifdef __cplusplus |
Azure.IoT Build | 0:fa2de1b79154 | 8 | extern "C" { |
Azure.IoT Build | 0:fa2de1b79154 | 9 | #endif |
Azure.IoT Build | 0:fa2de1b79154 | 10 | |
Azure.IoT Build | 0:fa2de1b79154 | 11 | #include "azure_c_shared_utility/sha.h" |
AzureIoTClient | 2:20b88da3e604 | 12 | #include "azure_c_shared_utility/umock_c_prod.h" |
Azure.IoT Build | 0:fa2de1b79154 | 13 | |
AzureIoTClient | 2:20b88da3e604 | 14 | MOCKABLE_FUNCTION(, int, hmac, SHAversion, whichSha, const unsigned char *, text, int, text_len, |
AzureIoTClient | 2:20b88da3e604 | 15 | const unsigned char *, key, int, key_len, |
AzureIoTClient | 2:20b88da3e604 | 16 | uint8_t, digest[USHAMaxHashSize]); |
Azure.IoT Build | 0:fa2de1b79154 | 17 | |
Azure.IoT Build | 0:fa2de1b79154 | 18 | #ifdef __cplusplus |
Azure.IoT Build | 0:fa2de1b79154 | 19 | } |
Azure.IoT Build | 0:fa2de1b79154 | 20 | #endif |
Azure.IoT Build | 0:fa2de1b79154 | 21 | |
Azure.IoT Build | 0:fa2de1b79154 | 22 | #endif /* HMAC_H */ |