Home
last modified time | relevance | path

Searched refs:ZCBOR_BOOL_TO_SIMPLE (Results 1 – 3 of 3) sorted by relevance

/mcuboot-latest/boot/zcbor/include/
Dzcbor_common.h243 #define ZCBOR_BOOL_TO_SIMPLE ((uint8_t)20) ///! In CBOR, false/true have the values 20/21 macro
/mcuboot-latest/boot/zcbor/src/
Dzcbor_encode.c499 return zcbor_simple_put(state, (!!input + ZCBOR_BOOL_TO_SIMPLE));
Dzcbor_decode.c1124 value -= ZCBOR_BOOL_TO_SIMPLE;
1138 return zcbor_simple_expect(state, (uint8_t)(!!expected) + ZCBOR_BOOL_TO_SIMPLE);