Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/virt/coco/sev-guest/
Dsev-guest.c46 struct snp_guest_msg *request, *response;
198 static int enc_dec_message(struct snp_guest_crypto *crypto, struct snp_guest_msg *msg, in enc_dec_message()
240 static int __enc_payload(struct snp_guest_dev *snp_dev, struct snp_guest_msg *msg, in __enc_payload()
252 static int dec_payload(struct snp_guest_dev *snp_dev, struct snp_guest_msg *msg, in dec_payload()
268 struct snp_guest_msg *resp = snp_dev->response; in verify_and_dec_payload()
269 struct snp_guest_msg *req = snp_dev->request; in verify_and_dec_payload()
299 struct snp_guest_msg *req = snp_dev->request; in enc_payload()
336 memset(snp_dev->response, 0, sizeof(struct snp_guest_msg)); in handle_guest_request()
727 snp_dev->request = alloc_shared_pages(dev, sizeof(struct snp_guest_msg)); in sev_guest_probe()
731 snp_dev->response = alloc_shared_pages(dev, sizeof(struct snp_guest_msg)); in sev_guest_probe()
[all …]
Dsev-guest.h58 struct snp_guest_msg { struct