source: azure_iot_hub_f767zi/trunk/azure_iot_sdk/c-utility/inc/azure_c_shared_utility/hmac.h@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 606 bytes
Line 
1// Copyright (c) Microsoft. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4#ifndef HMAC_H
5#define HMAC_H
6
7#ifdef __cplusplus
8#include <cstdint>
9#else
10#include <stdint.h>
11#endif
12
13#include "azure_c_shared_utility/sha.h"
14#include "umock_c/umock_c_prod.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20 MOCKABLE_FUNCTION(, int, hmac, SHAversion, whichSha, const unsigned char *, text, int, text_len,
21 const unsigned char *, key, int, key_len,
22 uint8_t, digest[USHAMaxHashSize]);
23
24#ifdef __cplusplus
25}
26#endif
27
28#endif /* HMAC_H */
Note: See TracBrowser for help on using the repository browser.