File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,12 @@ config ZCBOR_CANONICAL
1616 bool "Produce canonical CBOR"
1717 help
1818 Enabling this will prevent zcbor from creating lists and maps with
19- indefinite-length arrays (it will still decode them properly).
19+ indefinite-length arrays.
20+ Enabling this also enables the state->constant_state->enforce_canonical
21+ flag in all zcbor states. This flag controls validation of canonical
22+ data when decoding. If you only want canonical encoding, please set
23+ the enforce_canonical flag to false in all new state structs after
24+ initialization.
2025
2126config ZCBOR_STOP_ON_ERROR
2227 bool "Stop on error when processing (Must also be enabled in state var)"
@@ -28,7 +33,7 @@ config ZCBOR_STOP_ON_ERROR
2833 has already happened.
2934
3035config ZCBOR_VERBOSE
31- bool "Make zcbor code print messages"
36+ bool "Make zcbor code print messages via printf "
3237
3338config ZCBOR_ASSERT
3439 def_bool ASSERT
You can’t perform that action at this time.
0 commit comments