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_INFO_TYPES_H__ 8 #define OSCORE_INFO_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 oscore_info { 29 struct zcbor_string oscore_info_id; 30 union { 31 struct zcbor_string oscore_info_id_context_bstr; 32 }; 33 enum { 34 oscore_info_id_context_bstr_c, 35 oscore_info_id_context_nil_c, 36 } oscore_info_id_context_choice; 37 union { 38 int32_t oscore_info_alg_aead_int; 39 struct zcbor_string oscore_info_alg_aead_tstr; 40 }; 41 enum { 42 oscore_info_alg_aead_int_c, 43 oscore_info_alg_aead_tstr_c, 44 } oscore_info_alg_aead_choice; 45 struct zcbor_string oscore_info_type; 46 uint32_t oscore_info_L; 47 }; 48 49 #ifdef __cplusplus 50 } 51 #endif 52 53 #endif /* OSCORE_INFO_TYPES_H__ */ 54