1 /* 2 * Generated using zcbor version 0.3.99 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 <string.h> 14 #include "zcbor_encode.h" 15 16 /** Which value for --default-max-qty this file was created with. 17 * 18 * The define is used in the other generated file to do a build-time 19 * compatibility check. 20 * 21 * See `zcbor --help` for more information about --default-max-qty 22 */ 23 #define DEFAULT_MAX_QTY 3 24 25 struct oscore_info { 26 struct zcbor_string _oscore_info_id; 27 union { 28 struct zcbor_string _oscore_info_id_context_bstr; 29 }; 30 enum { 31 _oscore_info_id_context_bstr, 32 _oscore_info_id_context_nil, 33 } _oscore_info_id_context_choice; 34 union { 35 int32_t _oscore_info_alg_aead_int; 36 struct zcbor_string _oscore_info_alg_aead_tstr; 37 }; 38 enum { 39 _oscore_info_alg_aead_int, 40 _oscore_info_alg_aead_tstr, 41 } _oscore_info_alg_aead_choice; 42 struct zcbor_string _oscore_info_type; 43 uint32_t _oscore_info_L; 44 }; 45 46 47 #endif /* OSCORE_INFO_TYPES_H__ */ 48