1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/************************************************************************/
/* RIOT-specific parameters */
/************************************************************************/
/*
* SETTING FOR TINYDTLS OVER RIOT
* In standard installation of TinyDTLS they are at dtls_config.h
* Only those used by the main library (not test/ or test* files) are here.
*
* WARNING: Dynamic memory is not working very well over RIOT.
*/
/* RIOT supports <assert.h> header file. */
/* RIOT supports <inttypes.h> header file. */
/* RIOT does NOT implement the member sin6_len */
/* RIOT supports the <sys/time.h> header file. */
/* RIOT supports the <time.h> header file. */
/* RIOT supports Sockets */
/* TODO NOTE: This should be enable by WITH_RIOT_SOCKETS */
/* RIOT has partial support for the `vprintf' function. */
/* DANGER Removing bring issues with dtls_debug.h and dtls_debug.c */
/*
* INFORMATION ABOUT TINYDTLS
* NOTE: This is used mostly by dtls_debug
*/
/* Define to the address where bug reports for this package should be sent. */
/* Define to the full name of this package. */
/* Define to the full name and version of this package. */
/* Define to the one symbol short name of this package. */
/* Define to the home page for this package. */
/* Define to the version of this package. */
/*
* PERFORMANCE AND RESOURCES AVALIABLE TO THE MOTES FOR DTLS SESSIONS
*
* They are used with peer.c, crypto.c and hmac.c
*
* NOTE: Those numbers are not strictly the minimum. You can adjust at will.
* Example: iotlab-m3 were tested with two Peers sessions.
*
* WARNING: Dynamic memory is not working very well over RIOT.
Therefore, adapting static memory could improve the performance
for RIOT nodes.
*/
/** The maximum number of DTLS context at the same time. */
/** The maximum number DTLS peers (i.e. sessions). */
/** The maximum number of concurrent DTLS handshakes. */
/** The maximum number of concurrently used cipher keys */
/* TODO: Adapt this to RIOT (currently is only for Contiki) */
/** The maximum number of hash functions that can be used in parallel. */
/** do not use uthash's hash tables (the tables uses malloc/free) */
/* The 802.15.4 ACK can provoke very fast re-transmissions with a value
* higher than one. This is a temporary bad behavior for the RIOT MAC
*/
/*
* INFORMATION SHA2/ LIBRARY VARIABLES
*
* TODO: Clarify the way RIOT identifies BYTE_ORDER
*/
/*
* RIOT supports the <inttypes.h> header file.
* NOTE: uintXX_t definitions with the ANSI C headers instead of custom typedef
*/
/* RIOT "supports" memset()/memcpy() BUT not bzero()/mcopy(). */
/*
* NOTE Gcc is who define if we are big endian or little endian.
* Because RIOT has __BYTE_ORDER__ and BYTE_ORDER it is not clear which one
* should take preference here. Or, if the #define inside of sha2/sha2.h
* should be removed at all.
*/
/* _RIOT_BOARDS_H_ */