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.
Fork of azure_c_shared_utility by
hmacsha256.h
00001 // Copyright (c) Microsoft. All rights reserved. 00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 00003 00004 #ifndef HMACSHA256_H 00005 #define HMACSHA256_H 00006 00007 #include "azure_c_shared_utility/macro_utils.h" 00008 #include "azure_c_shared_utility/buffer_.h" 00009 #include "azure_c_shared_utility/umock_c_prod.h" 00010 00011 #ifdef __cplusplus 00012 extern "C" { 00013 #endif 00014 00015 #define HMACSHA256_RESULT_VALUES \ 00016 HMACSHA256_OK, \ 00017 HMACSHA256_INVALID_ARG, \ 00018 HMACSHA256_ERROR 00019 00020 DEFINE_ENUM(HMACSHA256_RESULT, HMACSHA256_RESULT_VALUES) 00021 00022 MOCKABLE_FUNCTION(, HMACSHA256_RESULT, HMACSHA256_ComputeHash, const unsigned char*, key, size_t, keyLen, const unsigned char*, payload, size_t, payloadLen, BUFFER_HANDLE, hash); 00023 00024 #ifdef __cplusplus 00025 } 00026 #endif 00027 00028 #endif /* HMACSHA256_H */
Generated on Tue Jul 12 2022 19:14:38 by
