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 
9 #pragma once
10 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
33 #define EDHOC_CIPHER_SUITE_0_ENABLED
34 
42 #define EDHOC_AUTH_METHOD_0_ENABLED
43 #define EDHOC_AUTH_METHOD_1_ENABLED
44 #define EDHOC_AUTH_METHOD_2_ENABLED
45 #define EDHOC_AUTH_METHOD_3_ENABLED
54 #define EDHOC_ASYNC_API_ENABLED
55 
62 #define EDHOC_DEBUG_ENABLED
63 
71 #define EDHOC_AUTH_CERT_ENABLED
72 #if defined(EDHOC_AUTH_CERT_ENABLED)
73 #define EDHOC_AUTH_CBOR_CERT
74 #endif
83 #define EDHOC_AUTH_RPK_ENABLED
84 
90 #define EDHOC_COSE_HEADER_SIZE (5)
91 
98 #define EDHOC_CRED_SIZE (256)
99 
106 #define EDHOC_CRED_ID_SIZE (256)
107 
114 #define EDHOC_ADDITIONAL_DATA_SIZE (64)
115 
116 #ifdef __cplusplus
117 }
118 #endif