All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
edhoc_config.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Inria
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
21 #ifndef EDHOC_CONFIG_H
22 #define EDHOC_CONFIG_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
34 #define EDHOC_CIPHER_SUITE_0_ENABLED
35 
43 #define EDHOC_AUTH_METHOD_0_ENABLED
44 #define EDHOC_AUTH_METHOD_1_ENABLED
45 #define EDHOC_AUTH_METHOD_2_ENABLED
46 #define EDHOC_AUTH_METHOD_3_ENABLED
55 #define EDHOC_ASYNC_API_ENABLED
56 
63 #define EDHOC_DEBUG_ENABLED
64 
72 #define EDHOC_AUTH_CERT_ENABLED
73 #if defined(EDHOC_AUTH_CERT_ENABLED)
74 #define EDHOC_AUTH_CBOR_CERT
75 #endif
84 #define EDHOC_AUTH_RPK_ENABLED
85 
91 #define EDHOC_COSE_HEADER_SIZE (5)
92 
99 #define EDHOC_CRED_SIZE (256)
100 
107 #define EDHOC_CRED_ID_SIZE (256)
108 
115 #define EDHOC_ADDITIONAL_DATA_SIZE (64)
116 
117 #ifdef __cplusplus
118 }
119 #endif
120 
121 #endif /* EDHOC_CONFIG_H */