1 /* 2 * Generated using zcbor version 0.8.99 3 * https://github.com/NordicSemiconductor/zcbor 4 * Generated with a --default-max-qty of 3 5 */ 6 7 #ifndef OSCORE_INFO_H__ 8 #define OSCORE_INFO_H__ 9 10 #include <stdint.h> 11 #include <stdbool.h> 12 #include <stddef.h> 13 #include <string.h> 14 #include "cbor/oscore_info_types.h" 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 #if DEFAULT_MAX_QTY != 3 21 #error "The type file was generated with a different default_max_qty than this file" 22 #endif 23 24 25 int cbor_encode_oscore_info( 26 uint8_t *payload, size_t payload_len, 27 const struct oscore_info *input, 28 size_t *payload_len_out); 29 30 31 #ifdef __cplusplus 32 } 33 #endif 34 35 #endif /* OSCORE_INFO_H__ */ 36