SigV4 v1.3.0
SigV4 Library for AWS Authentication
 
Loading...
Searching...
No Matches
sigv4_config_defaults.h
Go to the documentation of this file.
1/*
2 * SigV4 Library v1.3.0
3 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4 *
5 * SPDX-License-Identifier: MIT
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy of
8 * this software and associated documentation files (the "Software"), to deal in
9 * the Software without restriction, including without limitation the rights to
10 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
11 * the Software, and to permit persons to whom the Software is furnished to do so,
12 * subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included in all
15 * copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
19 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 */
24
36#ifndef SIGV4_CONFIG_DEFAULTS_H_
37#define SIGV4_CONFIG_DEFAULTS_H_
38
39/* *INDENT-OFF* */
40#ifdef __cplusplus
41 extern "C" {
42#endif
43/* *INDENT-ON* */
44
45/* The macro definition for SIGV4_DO_NOT_USE_CUSTOM_CONFIG is for Doxygen
46 * documentation only. */
47
62#ifdef DOXYGEN
63 #define SIGV4_DO_NOT_USE_CUSTOM_CONFIG
64#endif
65
76#ifndef SIGV4_PROCESSING_BUFFER_LENGTH
77 #define SIGV4_PROCESSING_BUFFER_LENGTH 1024U
78#endif
79
90#ifndef SIGV4_MAX_HTTP_HEADER_COUNT
91 #define SIGV4_MAX_HTTP_HEADER_COUNT 100U
92#endif
93
104#ifndef SIGV4_MAX_QUERY_PAIR_COUNT
105 #define SIGV4_MAX_QUERY_PAIR_COUNT 100U
106#endif
107
117#ifndef SIGV4_WORST_CASE_SORT_STACK_SIZE
118 #define SIGV4_WORST_CASE_SORT_STACK_SIZE 14U
119#endif
120
130#ifndef SIGV4_HASH_MAX_BLOCK_LENGTH
131 #define SIGV4_HASH_MAX_BLOCK_LENGTH 64U
132#endif
133
145#ifndef SIGV4_HASH_MAX_DIGEST_LENGTH
146 #define SIGV4_HASH_MAX_DIGEST_LENGTH 32U
147#endif
148
159#ifndef SIGV4_USE_CANONICAL_SUPPORT
160 #define SIGV4_USE_CANONICAL_SUPPORT 1
161#endif
162
181#ifndef LogError
182 #define LogError( message )
183#endif
184
203#ifndef LogWarn
204 #define LogWarn( message )
205#endif
206
225#ifndef LogInfo
226 #define LogInfo( message )
227#endif
228
247#ifndef LogDebug
248 #define LogDebug( message )
249#endif
250
251/* *INDENT-OFF* */
252#ifdef __cplusplus
253 }
254#endif
255/* *INDENT-ON* */
256
257#endif /* ifndef SIGV4_CONFIG_DEFAULTS_H_ */