Searched defs:snp_dev (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/virt/coco/sev-guest/ |
D | sev-guest.c | 71 static bool is_vmpck_empty(struct snp_guest_dev *snp_dev) in is_vmpck_empty() 98 static void snp_disable_vmpck(struct snp_guest_dev *snp_dev) in snp_disable_vmpck() 106 static inline u64 __snp_get_msg_seqno(struct snp_guest_dev *snp_dev) in __snp_get_msg_seqno() 119 static u64 snp_get_msg_seqno(struct snp_guest_dev *snp_dev) in snp_get_msg_seqno() 139 static void snp_inc_msg_seqno(struct snp_guest_dev *snp_dev) in snp_inc_msg_seqno() 155 static struct snp_guest_crypto *init_crypto(struct snp_guest_dev *snp_dev, u8 *key, size_t keylen) in init_crypto() 249 static int __enc_payload(struct snp_guest_dev *snp_dev, struct snp_guest_msg *msg, in __enc_payload() 261 static int dec_payload(struct snp_guest_dev *snp_dev, struct snp_guest_msg *msg, in dec_payload() 274 static int verify_and_dec_payload(struct snp_guest_dev *snp_dev, void *payload, u32 sz) in verify_and_dec_payload() 308 static int enc_payload(struct snp_guest_dev *snp_dev, u64 seqno, int version, u8 type, in enc_payload() [all …]
|