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
16
16
bool "Produce canonical CBOR"
17
17
help
18
18
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.
20
25
21
26
config ZCBOR_STOP_ON_ERROR
22
27
bool "Stop on error when processing (Must also be enabled in state var)"
@@ -28,7 +33,7 @@ config ZCBOR_STOP_ON_ERROR
28
33
has already happened.
29
34
30
35
config ZCBOR_VERBOSE
31
- bool "Make zcbor code print messages"
36
+ bool "Make zcbor code print messages via printf "
32
37
33
38
config ZCBOR_ASSERT
34
39
def_bool ASSERT
You can’t perform that action at this time.
0 commit comments