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 EDHOC_DECODE_PLAINTEXT_H__ 8 #define EDHOC_DECODE_PLAINTEXT_H__ 9 10 #include <stdint.h> 11 #include <stdbool.h> 12 #include <stddef.h> 13 #include <string.h> 14 #include "zcbor_decode.h" 15 #include "cbor/edhoc_decode_plaintext_types.h" 16 17 #if DEFAULT_MAX_QTY != 3 18 #error "The type file was generated with a different default_max_qty than this file" 19 #endif 20 21 22 bool cbor_decode_plaintext( 23 const uint8_t *payload, size_t payload_len, 24 struct plaintext *result, 25 size_t *payload_len_out); 26 27 28 #endif /* EDHOC_DECODE_PLAINTEXT_H__ */ 29