Searched refs:cbor (Results 1 – 21 of 21) sorted by relevance
/zcbor-3.6.0/tests/cases/ |
D | corner_cases.cddl | 35 ; Using .size and .cbor together with maps. 39 ? "opt_cbor" => bstr .size 5 .cbor (uint .size 4), 46 cborNumbers: bstr .cbor Numbers, 48 ?optCborStrings: bstr .cbor Strings, 169 encoded-cbor, 175 cbor-any, 181 ; Testing complex .cbor statements, including nested .cbor. 182 CBORBstr = bstr .cbor ([ 183 hello: bstr .cbor "Hello", 184 pi: bstr .cbor 3.1415, [all …]
|
D | manifest-moran4.cddl | 15 suit-authentication-wrapper => bstr .cbor SUIT_Authentication_Wrapper / nil, 16 suit-manifest => bstr .cbor SUIT_Manifest, 17 ?suit-dependency-resolution => bstr .cbor SUIT_Command_Sequence, 18 ?suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, 19 ?suit-install => bstr .cbor SUIT_Command_Sequence, 20 ?suit-text => bstr .cbor SUIT_Text_Map, 21 ?suit-coswid => bstr .cbor concise-software-identity 73 SUIT_Severable_Command_Sequence1 = SUIT_Digest / bstr .cbor SUIT_Command_Sequence 74 SUIT_Severable_Command_Sequence2 = SUIT_Digest / bstr .cbor SUIT_Command_Sequence 75 SUIT_Severable_Command_Sequence3 = SUIT_Digest / bstr .cbor SUIT_Command_Sequence [all …]
|
D | manifest20.cddl | 3 suit-authentication-wrapper => bstr .cbor SUIT_Authentication, 4 suit-manifest => bstr .cbor SUIT_Manifest, 11 bstr .cbor SUIT_Digest, 12 * bstr .cbor SUIT_Authentication_Block 27 ? suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, 28 ? suit-install => bstr .cbor SUIT_Command_Sequence, 29 ? suit-text => bstr .cbor SUIT_Text_Map, 41 suit-common => bstr .cbor SUIT_Common, 49 ? suit-validate => bstr .cbor SUIT_Command_Sequence, 50 ? suit-load => bstr .cbor SUIT_Command_Sequence, [all …]
|
D | manifest14.cddl | 5 ? suit-delegation => bstr .cbor SUIT_Delegation, 6 suit-authentication-wrapper => bstr .cbor SUIT_Authentication, 7 suit-manifest => bstr .cbor SUIT_Manifest, 19 SUIT_Delegation = [ + [ + bstr .cbor CWT ] ] 24 bstr .cbor SUIT_Digest, 25 * bstr .cbor SUIT_Authentication_Block 40 ? suit-dependency-resolution => bstr .cbor SUIT_Command_Sequence, 41 ? suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, 42 ? suit-install => bstr .cbor SUIT_Command_Sequence, 43 ? suit-text => bstr .cbor SUIT_Text_Map, [all …]
|
D | manifest16.cddl | 6 ;? suit-delegation => bstr .cbor SUIT_Delegation, 7 suit-authentication-wrapper => bstr .cbor SUIT_Authentication, 8 suit-manifest => bstr .cbor SUIT_Manifest, 20 bstr .cbor SUIT_Digest, 21 * bstr .cbor SUIT_Authentication_Block 36 ? suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, 37 ? suit-install => bstr .cbor SUIT_Command_Sequence, 38 ? suit-text => bstr .cbor SUIT_Text_Map, 50 suit-common => bstr .cbor SUIT_Common, 58 ? suit-validate => bstr .cbor SUIT_Command_Sequence, [all …]
|
D | manifest3.cddl | 15 ?suit-delegation => bstr, ;.cbor SUIT_Delegation, 17 => bstr .cbor SUIT_Authentication_Wrapper / nil, 19 ?suit-dependency-resolution => bstr .cbor SUIT_Command_Sequence, 20 ?suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, 21 ?suit-install => bstr .cbor SUIT_Command_Sequence, 22 ?suit-text => bstr .cbor SUIT_Text_Map, 23 ?suit-coswid => bstr .cbor concise-software-identity 35 $$SUIT_Manifest_Wrapped //= (suit-manifest => bstr .cbor SUIT_Manifest) 37 ?suit-manifest-encryption-info => bstr .cbor SUIT_Encryption_Wrapper, 76 ? suit-common => bstr .cbor SUIT_Common, [all …]
|
D | manifest9_simple.cddl | 16 ? suit-authentication-wrapper => bstr .cbor SUIT_Authentication, 17 suit-manifest => bstr .cbor SUIT_Manifest, 20 SUIT_Authentication = [ + bstr .cbor SUIT_Authentication_Block ] 26 protected: bstr .cbor header_map, 28 payload : bstr .cbor SUIT_Digest, 51 suit-common => bstr .cbor SUIT_Common, 53 ? suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, 54 ? suit-install => bstr .cbor SUIT_Command_Sequence, 55 ? suit-validate => bstr .cbor SUIT_Command_Sequence, 56 ? suit-load => bstr .cbor SUIT_Command_Sequence, [all …]
|
D | manifest2.cddl | 15 suit-authentication-wrapper => bstr .cbor SUIT_Authentication_Wrapper / nil, 17 ?suit-dependency-resolution => bstr .cbor SUIT_Command_Sequence, 18 ?suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, 19 ?suit-install => bstr .cbor SUIT_Command_Sequence, 20 ?suit-text => bstr .cbor SUIT_Text_Map, 21 ?suit-coswid => bstr .cbor concise-software-identity 34 $$SUIT_Manifest_Wrapped //= (suit-manifest => bstr .cbor SUIT_Manifest) 36 suit-manifest-encryption-info => bstr .cbor SUIT_Encryption_Wrapper, 75 ? suit-common => bstr .cbor SUIT_Common, 76 ? suit-dependency-resolution => SUIT_Digest / bstr .cbor SUIT_Command_Sequence, [all …]
|
D | manifest12.cddl | 17 ? suit-delegation => bstr .cbor SUIT_Delegation, 18 suit-authentication-wrapper => bstr .cbor SUIT_Authentication, 19 suit-manifest => bstr .cbor SUIT_Manifest, 22 *(suit-integrated-dependency-key => bstr .cbor SUIT_Envelope), 27 SUIT_Delegation = [ + [ + bstr .cbor CWT ] ] 32 bstr .cbor SUIT_Digest, 33 * bstr .cbor SUIT_Authentication_Block 67 protected: bstr .cbor header_map, 78 ? suit-dependency-resolution => bstr .cbor SUIT_Command_Sequence, 79 ? suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, [all …]
|
D | manifest9.cddl | 15 ? suit-delegation => bstr .cbor SUIT_Delegation, 16 ? suit-authentication-wrapper => bstr .cbor SUIT_Authentication, 17 suit-manifest => bstr .cbor SUIT_Manifest, 23 SUIT_Delegation = [ + [ + bstr .cbor CWT ] ] 27 SUIT_Authentication = [ + bstr .cbor SUIT_Authentication_Block ] 35 ? suit-dependency-resolution => bstr .cbor SUIT_Command_Sequence, 36 ? suit-payload-fetch => bstr .cbor SUIT_Command_Sequence, 37 ? suit-install => bstr .cbor SUIT_Command_Sequence, 38 ? suit-text => bstr .cbor SUIT_Text_Map, 39 ? suit-coswid => bstr .cbor concise-software-identity, [all …]
|
D | manifest-moran3.cddl | 16 manifest: bstr .cbor Manifest, 17 ? preInstallExt: bstr .cbor PreInstallationInfo, 18 ? installExt: bstr .cbor InstallationInfo, 19 ? postInstallExt: bstr .cbor PostInstallationInfo, 21 ? coswidExt: bstr .cbor concise-software-identity 73 empty_or_serialized_map = (bstr .cbor header_map) / (bstr .size 0)
|
D | map_bstr.cddl | 4 ["test3"] => bstr .cbor 1234,
|
D | yaml_compatibility.cddl | 8 "bstr_obj" => bstr .cbor Bstr_obj,
|
D | everything.cddl | 11 bstr_cbor: bstr .cbor uint /
|
D | cose.cddl | 16 empty_or_serialized_map = bstr .cbor header_map / bstr .size 0
|
/zcbor-3.6.0/tests/fuzz/ |
D | CMakeLists.txt | 36 --output ${PROJECT_BINARY_DIR}/fuzz_input/input0.cbor 37 --output-as cbor 62 --output ${PROJECT_BINARY_DIR}/fuzz_input/input${n}.cbor 63 --output-as cbor 89 --output ${PROJECT_BINARY_DIR}/fuzz_input/input${n}.cbor 90 --output-as cbor
|
/zcbor-3.6.0/zcbor/ |
D | prelude.cddl | 25 encoded-cbor = #6.24(bstr) 31 cbor-any = #6.55799(any)
|
D | zcbor.py | 234 self.cbor = None 358 or ((self.cbor.value + "_bstr") 359 if self.cbor and self.cbor.type in ["TSTR", "OTHER"] else None) 395 if self.cbor: 396 self.cbor.set_base_name(self.var_name().strip("_") + "_cbor") 403 if self.cbor: 404 self.cbor.set_base_names() 439 if self.cbor: 440 self.cbor.set_id_prefix(self.child_base_id()) 475 if self.cbor: [all …]
|
/zcbor-3.6.0/ |
D | README.md | 23 …rary can be used independently of the Python script. ([More information](#cbor-decodingencoding-li… 234 python3 <zcbor base>/zcbor/zcbor.py convert -c pet.cddl -t Pet -i mypet.yaml -o mypet.cbor 236 zcbor convert -c pet.cddl -t Pet -i mypet.yaml -o mypet.cbor 239 …gainst the Pet type in the CDDL description in pet.cddl, and writes binary CBOR data to mypet.cbor. 252 Which takes the json structure in mypet.json, converts any [yaml-compatible](#making-cbor-yaml-json… 305 …- `.cbor`/`.cborseq`: E.g. `Foo = bstr .cbor Bar` where Foo is a bstr whose contents must be CBOR … 347 …See the [CBOR tag documentation](https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml) for d… 431 Where a `bstr .cbor <Type>` is specified in the CDDL, AND the Type is an entry 529 [--input-as {yaml,json,cbor,cborhex}] -t ENTRY_TYPE 548 --input-as {yaml,json,cbor,cborhex} [all …]
|
D | RELEASE_NOTES.md | 140 * zcbor.py: Fix cbor bstrs so they properly check unambiguous values 142 * zcbor.py: Don't flag cbor bstrs as unambiguous 293 * Add support for more complex `.cbor` and `.cborseq` expressions. 364 * zcbor.py: Fix bugs in range checks in `bstr`s with `.cbor` statements. 410 * Improve decoding of cbor bstrs in DataTranslator
|
D | ARCHITECTURE.md | 167 …se entry types when there are `"BSTR"`s that are CBOR encoded, specified as `Foo = bstr .cbor Bar`.
|