1 /*
2  * Generated using zcbor version 0.8.0
3  * https://github.com/NordicSemiconductor/zcbor
4  * Generated with a --default-max-qty of 3
5  */
6 
7 #ifndef OSCORE_AAD_ARRAY_TYPES_H__
8 #define OSCORE_AAD_ARRAY_TYPES_H__
9 
10 #include <stdint.h>
11 #include <stdbool.h>
12 #include <stddef.h>
13 #include <zcbor_common.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /** Which value for --default-max-qty this file was created with.
20  *
21  *  The define is used in the other generated file to do a build-time
22  *  compatibility check.
23  *
24  *  See `zcbor --help` for more information about --default-max-qty
25  */
26 #define DEFAULT_MAX_QTY 3
27 
28 struct aad_array {
29 	uint32_t aad_array_oscore_version;
30 	union {
31 		int32_t aad_array_algorithms_alg_aead_int;
32 		struct zcbor_string aad_array_algorithms_alg_aead_tstr;
33 	};
34 	enum {
35 		aad_array_algorithms_alg_aead_int_c,
36 		aad_array_algorithms_alg_aead_tstr_c,
37 	} aad_array_algorithms_alg_aead_choice;
38 	struct zcbor_string aad_array_request_kid;
39 	struct zcbor_string aad_array_request_piv;
40 	struct zcbor_string aad_array_options;
41 };
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* OSCORE_AAD_ARRAY_TYPES_H__ */
48