Lines Matching refs:VirtIONSM
137 static bool handle_get_random(VirtIONSM *vnsm, struct iovec *request, in handle_get_random()
208 static bool handle_describe_nsm(VirtIONSM *vnsm, struct iovec *request, in handle_describe_nsm()
370 static bool handle_describe_pcr(VirtIONSM *vnsm, struct iovec *request, in handle_describe_pcr()
550 static bool handle_extend_pcr(VirtIONSM *vnsm, struct iovec *request, in handle_extend_pcr()
702 static bool handle_lock_pcr(VirtIONSM *vnsm, struct iovec *request, in handle_lock_pcr()
837 static bool handle_lock_pcrs(VirtIONSM *vnsm, struct iovec *request, in handle_lock_pcrs()
1155 static bool add_payload_to_cose(cbor_item_t *cose, VirtIONSM *vnsm, in add_payload_to_cose()
1346 static bool handle_attestation(VirtIONSM *vnsm, struct iovec *request, in handle_attestation()
1443 bool (*response_fn)(VirtIONSM *vnsm, struct iovec *request,
1505 static bool get_nsm_request_response(VirtIONSM *vnsm, struct iovec *req, in get_nsm_request_response()
1535 VirtIONSM *vnsm = VIRTIO_NSM(vdev); in handle_input()
1613 static bool extend_pcr(VirtIONSM *vnsm, int ind, uint8_t *data, uint16_t len) in extend_pcr()
1634 static void lock_pcr(VirtIONSM *vnsm, int ind) in lock_pcr()
1642 VirtIONSM *vnsm = VIRTIO_NSM(dev); in virtio_nsm_device_realize()
1685 VMSTATE_STRUCT_ARRAY(pcrs, VirtIONSM, NSM_MAX_PCRS, 1,
1702 DEFINE_PROP_STRING("module-id", VirtIONSM, module_id),
1723 .instance_size = sizeof(VirtIONSM),