Debian Codegraph @

lib/internal.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2016 - 2022, Stephan Mueller <[email protected]>
3 *
4 * License: see COPYING file in root directory
5 *
6 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
7 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
8 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
9 * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
10 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
11 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
12 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
13 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
14 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
15 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
16 * USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
17 * DAMAGE.
18 */
19
20 #ifndef INTERNAL_H
21 #define INTERNAL_Hcxx . . $ `lib/internal.h:21:9`!
22
23 #define _GNU_SOURCEcxx . . $ `lib/internal.h:23:9`!
24 #include <unistd.h>
25 #include <sys/syscall.h>
26 #include <linux/aio_abi.h>
27 #include <stdint.h>
28 #include <fcntl.h>
29 #include <sys/uio.h>
30 #include <errno.h>
31 #include <sys/socket.h>
32 #include <sys/types.h>
33 #include <string.h>
34 #include <stdlib.h>
35 #include <limits.h>
36 #include <stdio.h>
37
38 #include <linux/if_alg.h>
39
40 #include "atomic.h"cxx . . $ `<file>/lib/atomic.h`/
41 #include "kcapi.h"cxx . . $ `<file>/lib/kcapi.h`/
42
43 #ifdef __cplusplus
44 extern "C"
45 {
46 #endif
47
48 /* remove once in if_alg.h */
49 #ifndef ALG_SET_AEAD_ASSOCLENcxx . . $ `<external>/7256700519741588701/if_alg.h:52:9`!
50 #define ALG_SET_AEAD_ASSOCLEN 4
51 #endif
52 #ifndef ALG_SET_AEAD_AUTHSIZEcxx . . $ `<external>/7256700519741588701/if_alg.h:53:9`!
53 #define ALG_SET_AEAD_AUTHSIZE 5
54 #endif
55 #ifndef ALG_SET_DRBG_ENTROPYcxx . . $ `<external>/7256700519741588701/if_alg.h:54:9`!
56 #define ALG_SET_DRBG_ENTROPY 6
57 #endif
58 #ifndef ALG_SET_PUBKEY
59 #define ALG_SET_PUBKEYcxx . . $ `lib/internal.h:59:9`! 7
60 #endif
61 #ifndef ALG_SET_DH_PARAMETERS
62 #define ALG_SET_DH_PARAMETERScxx . . $ `lib/internal.h:62:9`! 8
63 #endif
64 #ifndef ALG_SET_ECDH_CURVE
65 #define ALG_SET_ECDH_CURVEcxx . . $ `lib/internal.h:65:9`! 9
66 #endif
67
68
69 #ifndef ALG_OP_SIGN
70 #define ALG_OP_SIGNcxx . . $ `lib/internal.h:70:9`! 2
71 #endif
72 #ifndef ALG_OP_VERIFY
73 #define ALG_OP_VERIFYcxx . . $ `lib/internal.h:73:9`! 3
74 #endif
75
76 #ifndef ALG_OP_KEYGEN
77 #define ALG_OP_KEYGENcxx . . $ `lib/internal.h:77:9`! 4
78 #endif
79 #ifndef ALG_OP_SSGEN
80 #define ALG_OP_SSGENcxx . . $ `lib/internal.h:80:9`! 5
81 #endif
82
83 /* remove once in socket.h */
84 #ifndef AF_ALGcxx . . $ `<external>/8962547315054503424/socket.h:134:9`!
85 #define AF_ALG 38
86 #endif
87 #ifndef SOL_ALGcxx . . $ `<external>/8962547315054503424/socket.h:167:9`!
88 #define SOL_ALG 279
89 #endif
90
91 /* make sure that is equal to include/crypto/if_alg.h */
92 #ifndef ALG_MAX_PAGES
93 #define ALG_MAX_PAGEScxx . . $ `lib/internal.h:93:9`! 16
94 #endif
95
96 /************************************************************
97 * Declarations for opaque data structures
98 ************************************************************/
99
100 /* Boolean variable */
101 enumcxx . . $ $anonymous_type_6fa54976fc9d2516_0# { falsecxx . . $ false., truecxx . . $ true. };
102 typedef _Bool boolcxx . . $ bool#;
103
104 enum kcapi_cipher_typecxx . . $ kcapi_cipher_type# {
105 KCAPI_CIPHER_SKCIPHERcxx . . $ KCAPI_CIPHER_SKCIPHER.,
106 KCAPI_CIPHER_AEADcxx . . $ KCAPI_CIPHER_AEAD.,
107 KCAPI_CIPHER_KDFcxx . . $ KCAPI_CIPHER_KDF.,
108 KCAPI_CIPHER_RNGcxx . . $ KCAPI_CIPHER_RNG.,
109 KCAPI_CIPHER_MDcxx . . $ KCAPI_CIPHER_MD.,
110 KCAPI_CIPHER_KPPcxx . . $ KCAPI_CIPHER_KPP.,
111 KCAPI_CIPHER_AKCIPHERcxx . . $ KCAPI_CIPHER_AKCIPHER.,
112 };
113
114 /**
115 * Information obtained for different ciphers during handle init time
116 * using the NETLINK_CRYPTO interface.
117 * @blocksize block size of cipher (hash, symmetric, AEAD)
118 * @ivsize size of IV of cipher (symmetric, AEAD)
119 * @hash_digestsize size of message digest (hash)
120 * @blk_min_keysize minimum key size (symmetric)
121 * @blk_max_keysize maximum key size (symmetric)
122 * @aead_maxauthsize maximum authentication tag size (AEAD)
123 * @rng_seedsize seed size (RNG)
124 */
125 struct kcapi_cipher_infocxx . . $ kcapi_cipher_info# {
126 enum kcapi_cipher_typecxx . . $ kcapi_cipher_type# cipher_typecxx . . $ kcapi_cipher_info#cipher_type.;
127 /* generic */
128 uint32_tcxx . . $ uint32_t# blocksizecxx . . $ kcapi_cipher_info#blocksize.;
129 uint32_tcxx . . $ uint32_t# ivsizecxx . . $ kcapi_cipher_info#ivsize.;
130 /* hash */
131 uint32_tcxx . . $ uint32_t# hash_digestsizecxx . . $ kcapi_cipher_info#hash_digestsize.;
132 /* blkcipher */
133 uint32_tcxx . . $ uint32_t# blk_min_keysizecxx . . $ kcapi_cipher_info#blk_min_keysize.;
134 uint32_tcxx . . $ uint32_t# blk_max_keysizecxx . . $ kcapi_cipher_info#blk_max_keysize.;
135 /* aead */
136 uint32_tcxx . . $ uint32_t# aead_maxauthsizecxx . . $ kcapi_cipher_info#aead_maxauthsize.;
137 /* rng */
138 uint32_tcxx . . $ uint32_t# rng_seedsizecxx . . $ kcapi_cipher_info#rng_seedsize.;
139 };
140
141 /**
142 * Common data required for symmetric and AEAD ciphers
143 * @iv: IV with length of kcapi_cipher_info->ivsize - input
144 */
145 struct kcapi_cipher_datacxx . . $ kcapi_cipher_data# {
146 const uint8_tcxx . . $ uint8_t# *ivcxx . . $ kcapi_cipher_data#iv.;
147 };
148
149 /**
150 * AEAD data
151 * @datalen: Length of plaintext / ciphertext data - input
152 * @data: Pointer to plaintext / ciphertext data - input / output (the length is
153 * calculated with: kcapi_skcipher_data->inlen -
154 * kcapi_aead_data->taglen - kcapi_aead_data->assoclen)
155 * @assoclen: Length of associated data - input
156 * @assoc: Pointer to associated data - input
157 * @taglen: Length of authentication tag - input
158 * @tag: Authentication tag - input for decryption, output for encryption
159 * @retlen: internal data -- number plaintext / ciphertext bytes returned by
160 * the read system call
161 */
162 struct kcapi_aead_datacxx . . $ kcapi_aead_data# {
163 size_tcxx . . $ size_t# datalencxx . . $ kcapi_aead_data#datalen.;
164 size_tcxx . . $ size_t# assoclencxx . . $ kcapi_aead_data#assoclen.;
165 size_tcxx . . $ size_t# taglencxx . . $ kcapi_aead_data#taglen.;
166 uint8_tcxx . . $ uint8_t# *datacxx . . $ kcapi_aead_data#data.;
167 uint8_tcxx . . $ uint8_t# *assoccxx . . $ kcapi_aead_data#assoc.;
168 uint8_tcxx . . $ uint8_t# *tagcxx . . $ kcapi_aead_data#tag.;
169 };
170
171 /*
172 * This value sets the maximum number of concurrent AIO operations we support.
173 * This value can be changed as needed. However, note that the memory
174 * consumption of one cipher handle increases proportionally to this value. This
175 * means that during the _init API call processing, memory corresponding with
176 * this number must be allocated regardless whether it is used later on or not.
177 *
178 * If the caller supplies more IOVECs to be processed in parallel than this
179 * value, the libkcapi code below segments the the provided input data
180 * into IOVEC chunks of KCAPI_AIO_CONCURRENT size. Thus, the calling user
181 * will not see any difference when this value changes other than the
182 * performance impact during _init (the larger the value, the slower the
183 * _init processing) and later on during the cipher operations (the larger
184 * the value, the more parallel cipher operations are supported).
185 */
186 #define KCAPI_AIO_CONCURRENTcxx . . $ `lib/internal.h:186:9`! 64
187
188 /**
189 * AIO related data structure to hold all information for AIO
190 * @skcipher_aio_disable: AIO support for symmetric ciphers not present
191 * @efd: event file descriptor
192 * @aio_ctx: AIO context to use for AIO syscalls
193 * @iocb_ret: return code of each iocb request - set to AIO_OUTSTANDING until
194 * a return code is obtained
195 * @cio: Active concurrent IOCBs
196 */
197 #define AIO_OUTSTANDINGcxx . . $ `lib/internal.h:197:9`! ((__s64)-(1<<13))
198 struct kcapi_aiocxx . . $ kcapi_aio# {
199 boolcxx . . $ bool# disablecxx . . $ kcapi_aio#disable.;
200 int efdcxx . . $ kcapi_aio#efd.;
201 aio_context_tcxx . . $ aio_context_t# aio_ctxcxx . . $ kcapi_aio#aio_ctx.;
202 __s64cxx . . $ __s64# *iocb_retcxx . . $ kcapi_aio#iocb_ret.;
203 struct iocbcxx . . $ iocb# *ciocxx . . $ kcapi_aio#cio.;
204 struct iocbcxx . . $ iocb# **cioppcxx . . $ kcapi_aio#ciopp.;
205 };
206
207 struct kcapi_flagscxx . . $ kcapi_flags# {
208 /*
209 * A flag to distinguish the new AEAD interface introduced with 4.9.0 to
210 * only require a tag if it is required as input or output.
211 *
212 * Also, kernels before 4.9.0 misbehave when no data is sent for hashing.
213 */
214 boolcxx . . $ bool# ge_v4_9cxx . . $ kcapi_flags#ge_v4_9.;
215
216 /* AF_ALG interfaces changed to process more pages concurrently. */
217 uint32_tcxx . . $ uint32_t# alg_max_pagescxx . . $ kcapi_flags#alg_max_pages.;
218 };
219
220 struct kcapi_syscxx . . $ kcapi_sys# {
221 unsigned long kernel_majcxx . . $ kcapi_sys#kernel_maj., kernel_minorcxx . . $ kcapi_sys#kernel_minor., kernel_patchlevelcxx . . $ kcapi_sys#kernel_patchlevel.;
222 };
223
224 /**
225 * Kernel crypto API TFM representation - The entries are static after
226 * initialization.
227 * @tfmfd: Socket descriptor for AF_ALG
228 * @sysinfo: System information
229 * @info: properties of ciphers
230 * @refcnt: reference counter of data structure
231 */
232 struct kcapi_handle_tfmcxx . . $ kcapi_handle_tfm# {
233 int tfmfdcxx . . $ kcapi_handle_tfm#tfmfd.;
234 struct kcapi_syscxx . . $ kcapi_sys# sysinfocxx . . $ kcapi_handle_tfm#sysinfo.;
235 struct kcapi_cipher_infocxx . . $ kcapi_cipher_info# infocxx . . $ kcapi_handle_tfm#info.;
236 atomic_tcxx . . $ atomic_t# refcntcxx . . $ kcapi_handle_tfm#refcnt.;
237 };
238
239 /**
240 * Cipher handle
241 * @tfm: kernel crypto API TFM
242 * @opfd: FD to open kernel crypto API TFM
243 * @pipes: vmplice/splice pipe pair
244 * @pagesize: Page size of the system
245 * @pipesize: Maximum amount of data that the pipe can handle
246 * @processed_sg: number of scatter/gather entries sent to the kernel
247 * @ciper: Common data for all ciphers
248 * @aead: AEAD cipher specific data
249 * @aio: AIO information
250 */
251 struct kcapi_handlecxx . . $ kcapi_handle# {
252 struct kcapi_handle_tfmcxx . . $ kcapi_handle_tfm# *tfmcxx . . $ kcapi_handle#tfm.;
253 int pipescxx . . $ kcapi_handle#pipes.[2];
254 int opfdcxx . . $ kcapi_handle#opfd.;
255 unsigned int pagesizecxx . . $ kcapi_handle#pagesize.;
256 unsigned int pipesizecxx . . $ kcapi_handle#pipesize.;
257 size_tcxx . . $ size_t# processed_sgcxx . . $ kcapi_handle#processed_sg.;
258 struct kcapi_cipher_datacxx . . $ kcapi_cipher_data# ciphercxx . . $ kcapi_handle#cipher.;
259 struct kcapi_aead_datacxx . . $ kcapi_aead_data# aeadcxx . . $ kcapi_handle#aead.;
260 struct kcapi_aiocxx . . $ kcapi_aio# aiocxx . . $ kcapi_handle#aio.;
261 struct kcapi_flagscxx . . $ kcapi_flags# flagscxx . . $ kcapi_handle#flags.;
262 };
263
264 /************************************************************
265 * Declarations for internal functions
266 ************************************************************/
267
268 extern enum kcapi_verbositycxx . . $ kcapi_verbosity# kcapi_verbosity_levelcxx . . $ kcapi_verbosity_level.;
269 void kcapi_dologcxx . . $ kcapi_dolog(5f46d8f16dd28dce).(enum kcapi_verbositycxx . . $ kcapi_verbosity# severity, const char *fmt, ...);
270
271 static inline int *_kcapi_get_opfdcxx . . $ _kcapi_get_opfd(f39930546eae134b).(struct kcapi_handlecxx . . $ kcapi_handle# *handle)
272 {
273 return &handle->opfdcxx . . $ kcapi_handle#opfd.;
274 }
275
276 ssize_tcxx . . $ ssize_t# _kcapi_common_send_metacxx . . $ _kcapi_common_send_meta(f4e40828a4f4c91f).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
277 struct ioveccxx . . $ iovec# *iov, size_tcxx . . $ size_t# iovlen,
278 uint32_tcxx . . $ uint32_t# enc, uint32_tcxx . . $ uint32_t# flags);
279 ssize_tcxx . . $ ssize_t# _kcapi_common_vmsplice_iovcxx . . $ _kcapi_common_vmsplice_iov(367dd066ce527de7).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
280 struct ioveccxx . . $ iovec# *iov, size_tcxx . . $ size_t# iovlen,
281 uint32_tcxx . . $ uint32_t# flags);
282 ssize_tcxx . . $ ssize_t# _kcapi_common_send_datacxx . . $ _kcapi_common_send_data(367dd066ce527de7).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
283 struct ioveccxx . . $ iovec# *iov, size_tcxx . . $ size_t# iovlen,
284 uint32_tcxx . . $ uint32_t# flags);
285 ssize_tcxx . . $ ssize_t# _kcapi_common_recv_datacxx . . $ _kcapi_common_recv_data(8a8f5b62e036cb66).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
286 struct ioveccxx . . $ iovec# *iov, size_tcxx . . $ size_t# iovlen);
287 ssize_tcxx . . $ ssize_t# _kcapi_common_read_datacxx . . $ _kcapi_common_read_data(e37e70272ed35378).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
288 uint8_tcxx . . $ uint8_t# *out, size_tcxx . . $ size_t# outlen);
289 int _kcapi_common_acceptcxx . . $ _kcapi_common_accept(cad780c06c088da8).(struct kcapi_handlecxx . . $ kcapi_handle# *handle);
290 int _kcapi_common_closecxx . . $ _kcapi_common_close(cad780c06c088da8).(struct kcapi_handlecxx . . $ kcapi_handle# *handle);
291 ssize_tcxx . . $ ssize_t# _kcapi_common_vmsplice_chunkcxx . . $ _kcapi_common_vmsplice_chunk(1f8f8f1822879a).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
292 const uint8_tcxx . . $ uint8_t# *in, size_tcxx . . $ size_t# inlen,
293 uint32_tcxx . . $ uint32_t# flags);
294 int _kcapi_handle_initcxx . . $ _kcapi_handle_init(db986b7fadb21840).(struct kcapi_handlecxx . . $ kcapi_handle# **caller, const char *type,
295 const char *ciphername, uint32_tcxx . . $ uint32_t# flags);
296 void _kcapi_handle_destroycxx . . $ _kcapi_handle_destroy(aba29416d24fdd59).(struct kcapi_handlecxx . . $ kcapi_handle# *handle);
297 int _kcapi_common_setkeycxx . . $ _kcapi_common_setkey(4d0e261613a805ee).(struct kcapi_handlecxx . . $ kcapi_handle# *handle, const uint8_tcxx . . $ uint8_t# *key,
298 uint32_tcxx . . $ uint32_t# keylen);
299 int _kcapi_common_setentropycxx . . $ _kcapi_common_setentropy(4d0e261613a805ee).(struct kcapi_handlecxx . . $ kcapi_handle# *handle, const uint8_tcxx . . $ uint8_t# *ent,
300 uint32_tcxx . . $ uint32_t# entlen);
301 ssize_tcxx . . $ ssize_t# _kcapi_cipher_cryptcxx . . $ _kcapi_cipher_crypt(8a744cecfacfebd9).(struct kcapi_handlecxx . . $ kcapi_handle# *handle, const uint8_tcxx . . $ uint8_t# *in,
302 size_tcxx . . $ size_t# inlen, uint8_tcxx . . $ uint8_t# *out, size_tcxx . . $ size_t# outlen,
303 int access, unsigned int enc);
304 ssize_tcxx . . $ ssize_t# _kcapi_cipher_crypt_chunkcxx . . $ _kcapi_cipher_crypt_chunk(8a744cecfacfebd9).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
305 const uint8_tcxx . . $ uint8_t# *in, size_tcxx . . $ size_t# inlen,
306 uint8_tcxx . . $ uint8_t# *out, size_tcxx . . $ size_t# outlen,
307 int access, unsigned int enc);
308 ssize_tcxx . . $ ssize_t# _kcapi_cipher_crypt_aiocxx . . $ _kcapi_cipher_crypt_aio(2eaa747523f18d63).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
309 struct ioveccxx . . $ iovec# *iniov, struct ioveccxx . . $ iovec# *outiov,
310 size_tcxx . . $ size_t# iovlen, int access, unsigned int enc);
311 int _kcapi_aio_send_iovcxx . . $ _kcapi_aio_send_iov(b8e608a74ce2f87d).(struct kcapi_handlecxx . . $ kcapi_handle# *handle, struct ioveccxx . . $ iovec# *iov,
312 size_tcxx . . $ size_t# iovlen, int access, unsigned int enc);
313
314 int _kcapi_aio_read_iovcxx . . $ _kcapi_aio_read_iov(b78c7fa11dfbc2b0).(struct kcapi_handlecxx . . $ kcapi_handle# *handle,
315 struct ioveccxx . . $ iovec# *iov, size_tcxx . . $ size_t# iovlen);
316 int32_tcxx . . $ int32_t# _kcapi_aio_read_allcxx . . $ _kcapi_aio_read_all(98d83b17fa6c06b3).(struct kcapi_handlecxx . . $ kcapi_handle# *handle, size_tcxx . . $ size_t# toread,
317 struct timespeccxx . . $ timespec# *timeout);
318
319 /************************************************************
320 * Declarations for system calls
321 ************************************************************/
322
323 static inline int io_setupcxx . . $ io_setup(f49cb1bdefccbb4a).(unsigned n, aio_context_tcxx . . $ aio_context_t# *ctx)
324 {
325 return (int)syscallcxx . . $ syscall(523f12be2d96faea).(__NR_io_setupcxx . . $ `<external>/1941951872834623984/unistd_64.h:210:9`!, n, ctx);
326 }
327
328 static inline int io_destroycxx . . $ io_destroy(15f694ef3c96d230).(aio_context_tcxx . . $ aio_context_t# ctx)
329 {
330 return (int)syscallcxx . . $ syscall(523f12be2d96faea).(__NR_io_destroycxx . . $ `<external>/1941951872834623984/unistd_64.h:211:9`!, ctx);
331 }
332
333 static inline int io_submitcxx . . $ io_submit(a5040d84332d5fe0).(aio_context_tcxx . . $ aio_context_t# ctx, long n, struct iocbcxx . . $ iocb# **iocb)
334 {
335 return (int)syscallcxx . . $ syscall(523f12be2d96faea).(__NR_io_submitcxx . . $ `<external>/1941951872834623984/unistd_64.h:213:9`!, ctx, n, iocb);
336 }
337
338 static inline int io_geteventscxx . . $ io_getevents(4689c31347438dbe).(__attribute__((unused)) aio_context_tcxx . . $ aio_context_t# ctx,
339 __attribute__((unused)) long min,
340 __attribute__((unused)) long max,
341 __attribute__((unused)) struct io_eventcxx . . $ io_event# *events,
342 __attribute__((unused)) struct timespeccxx . . $ timespec# *timeout)
343 {
344 #ifdef __NR_io_geteventscxx . . $ `<external>/1941951872834623984/unistd_64.h:212:9`!
345 return (int)syscallcxx . . $ syscall(523f12be2d96faea).(__NR_io_geteventscxx . . $ `<external>/1941951872834623984/unistd_64.h:212:9`!, ctx, min, max, events, timeout);
346 #else
347 return -ENOSYS;
348 #endif
349 }
350
351 /************************************************************
352 * Auxiliary macros
353 ************************************************************/
354
355 #if __GNUC__cxx . . $ `<built-in>:8:9`! >= 10
356 # define IMPL_SYMVER(name, version) \
357 __attribute__((__symver__("kcapi_" #name "@@LIBKCAPI_" version)))
358
359 # define ORIG_SYMVER(name, version) \
360 __attribute__((__symver__("kcapi_" #name "@LIBKCAPI_" version)))
361
362 #else
363 # define IMPL_SYMVERcxx . . $ `lib/internal.h:363:10`!(name, version) \
364 __asm__(".symver impl_" #name ",kcapi_" #name "@@LIBKCAPI_" version);
365
366 # define ORIG_SYMVERcxx . . $ `lib/internal.h:366:10`!(name, version) \
367 __asm__(".symver orig_" #name ",kcapi_" #name "@LIBKCAPI_" version);
368 #endif
369
370 #ifdef __cplusplus
371 }
372 #endif
373
374 #endif /* INTERNAL_H */