Last change
on this file since 389 was 389, checked in by coas-nagasima, 5 years ago |
ビルドが通るよう更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
839 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 HMACSHA256_H
|
---|
5 | #define HMACSHA256_H
|
---|
6 |
|
---|
7 | #include "azure_c_shared_utility/macro_utils.h"
|
---|
8 | #include "azure_c_shared_utility/buffer_.h"
|
---|
9 | #include "azure_c_shared_utility/umock_c_prod.h"
|
---|
10 |
|
---|
11 | #ifdef __cplusplus
|
---|
12 | extern "C" {
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | #define HMACSHA256_RESULT_VALUES \
|
---|
16 | HMACSHA256_OK, \
|
---|
17 | HMACSHA256_INVALID_ARG, \
|
---|
18 | HMACSHA256_ERROR
|
---|
19 |
|
---|
20 | MU_DEFINE_ENUM(HMACSHA256_RESULT, HMACSHA256_RESULT_VALUES)
|
---|
21 |
|
---|
22 | MOCKABLE_FUNCTION(, HMACSHA256_RESULT, HMACSHA256_ComputeHash, const unsigned char*, key, size_t, keyLen, const unsigned char*, payload, size_t, payloadLen, BUFFER_HANDLE, hash);
|
---|
23 |
|
---|
24 | #ifdef __cplusplus
|
---|
25 | }
|
---|
26 | #endif
|
---|
27 |
|
---|
28 | #endif /* HMACSHA256_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.