Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/virt/coco/sev-guest/
Dsev-guest.c55 struct snp_guest_msg *request, *response;
61 struct snp_guest_msg secret_request, secret_response;
224 static int enc_dec_message(struct snp_guest_crypto *crypto, struct snp_guest_msg *msg, in enc_dec_message()
266 static int __enc_payload(struct snp_guest_dev *snp_dev, struct snp_guest_msg *msg, in __enc_payload()
278 static int dec_payload(struct snp_guest_dev *snp_dev, struct snp_guest_msg *msg, in dec_payload()
294 struct snp_guest_msg *resp_msg = &snp_dev->secret_response; in verify_and_dec_payload()
295 struct snp_guest_msg *req_msg = &snp_dev->secret_request; in verify_and_dec_payload()
329 struct snp_guest_msg *msg = &snp_dev->secret_request; in enc_payload()
453 memset(snp_dev->response, 0, sizeof(struct snp_guest_msg)); in handle_guest_request()
1095 BUILD_BUG_ON(sizeof(struct snp_guest_msg) > PAGE_SIZE); in sev_guest_probe()
[all …]
/linux-6.12.1/arch/x86/include/asm/
Dsev.h165 struct snp_guest_msg { struct