Home
last modified time | relevance | path

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

/openbmc/linux/drivers/virt/coco/sev-guest/
H A Dsev-guest.c80 if (snp_dev->vmpck) in is_vmpck_empty()
108 snp_dev->vmpck = NULL; in snp_disable_vmpck()
451 memcpy(snp_dev->request, &snp_dev->secret_request, in handle_guest_request()
776 if (!snp_dev) in sev_guest_probe()
780 snp_dev->vmpck = get_vmpck(vmpck_id, layout, &snp_dev->os_area_msg_seqno); in sev_guest_probe()
793 snp_dev->dev = dev; in sev_guest_probe()
810 snp_dev->crypto = init_crypto(snp_dev, snp_dev->vmpck, VMPCK_KEY_LEN); in sev_guest_probe()
811 if (!snp_dev->crypto) in sev_guest_probe()
820 snp_dev->input.req_gpa = __pa(snp_dev->request); in sev_guest_probe()
821 snp_dev->input.resp_gpa = __pa(snp_dev->response); in sev_guest_probe()
[all …]