Searched refs:snp_dev (Results 1 – 1 of 1) sorted by relevance
71 static bool is_vmpck_empty(struct snp_guest_dev *snp_dev) in is_vmpck_empty() argument75 if (snp_dev->vmpck) in is_vmpck_empty()76 return !memcmp(snp_dev->vmpck, zero_key, VMPCK_KEY_LEN); in is_vmpck_empty()98 static void snp_disable_vmpck(struct snp_guest_dev *snp_dev) in snp_disable_vmpck() argument100 dev_alert(snp_dev->dev, "Disabling vmpck_id %d to prevent IV reuse.\n", in snp_disable_vmpck()102 memzero_explicit(snp_dev->vmpck, VMPCK_KEY_LEN); in snp_disable_vmpck()103 snp_dev->vmpck = NULL; in snp_disable_vmpck()106 static inline u64 __snp_get_msg_seqno(struct snp_guest_dev *snp_dev) in __snp_get_msg_seqno() argument113 count = *snp_dev->os_area_msg_seqno; in __snp_get_msg_seqno()119 static u64 snp_get_msg_seqno(struct snp_guest_dev *snp_dev) in snp_get_msg_seqno() argument[all …]