Lines Matching refs:nested_map

140     cbor_item_t *root, *nested_map;  in handle_get_random()  local
150 if (!qemu_cbor_add_map_to_map(root, "GetRandom", 1, &nested_map)) { in handle_get_random()
156 if (!qemu_cbor_add_bytestring_to_map(nested_map, "random", rnd, in handle_get_random()
211 cbor_item_t *root, *nested_map; in handle_describe_nsm() local
222 if (!qemu_cbor_add_map_to_map(root, "DescribeNSM", 7, &nested_map)) { in handle_describe_nsm()
226 if (!qemu_cbor_add_string_to_map(nested_map, "digest", vnsm->digest)) { in handle_describe_nsm()
230 if (!qemu_cbor_add_uint8_to_map(nested_map, "max_pcrs", vnsm->max_pcrs)) { in handle_describe_nsm()
234 if (!qemu_cbor_add_string_to_map(nested_map, "module_id", in handle_describe_nsm()
244 if (!qemu_cbor_add_uint8_array_to_map(nested_map, "locked_pcrs", in handle_describe_nsm()
249 if (!qemu_cbor_add_uint8_to_map(nested_map, "version_major", in handle_describe_nsm()
254 if (!qemu_cbor_add_uint8_to_map(nested_map, "version_minor", in handle_describe_nsm()
259 if (!qemu_cbor_add_uint8_to_map(nested_map, "version_patch", in handle_describe_nsm()
374 cbor_item_t *nested_map; in handle_describe_pcr() local
402 if (!qemu_cbor_add_map_to_map(root, "DescribePCR", 2, &nested_map)) { in handle_describe_pcr()
406 if (!qemu_cbor_add_bytestring_to_map(nested_map, "data", pcr->data, in handle_describe_pcr()
411 if (!qemu_cbor_add_bool_to_map(nested_map, "lock", pcr->locked)) { in handle_describe_pcr()
554 cbor_item_t *nested_map; in handle_extend_pcr() local
598 if (!qemu_cbor_add_map_to_map(root, "ExtendPCR", 1, &nested_map)) { in handle_extend_pcr()
602 if (!qemu_cbor_add_bytestring_to_map(nested_map, "data", pcr->data, in handle_extend_pcr()
1159 cbor_item_t *nested_map; in add_payload_to_cose() local
1192 if (!qemu_cbor_add_map_to_map(root, "pcrs", locked_cnt, &nested_map)) { in add_payload_to_cose()
1198 nested_map, ind[i], in add_payload_to_cose()
1351 cbor_item_t *nested_map; in handle_attestation() local
1398 if (!qemu_cbor_add_map_to_map(root, "Attestation", 1, &nested_map)) { in handle_attestation()
1401 if (!qemu_cbor_add_bytestring_to_map(nested_map, "document", buf, len)) { in handle_attestation()