Home
last modified time | relevance | path

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

/openbmc/qemu/hw/virtio/
H A Dvirtio-nsm.c140 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()
[all …]
H A Dcbor-helpers.c103 cbor_item_t **nested_map) in qemu_cbor_add_map_to_map() argument
119 *nested_map = value_cbor; in qemu_cbor_add_map_to_map()
/openbmc/qemu/include/hw/virtio/
H A Dcbor-helpers.h27 cbor_item_t **nested_map);