STRUCT SEV_USER_DATA_PDH_CERT_EXPORT(9)
β¨ struct sev_user_data_pdh_cert_export(9) β¨
okay so bestie, this is a page straight out of the Kernel API Manual β like, the actual kernel docs, not a vibe. buckle up π«Ά
πΈ NAME πΈ
struct sev_user_data_pdh_cert_export β the params for the PDH_CERT_EXPORT command π
π¦ SYNOPSIS π¦
here's the whole struct, copied exactly, no cap:
struct sev_user_data_pdh_cert_export {
__u64 pdh_cert_address;
__u32 pdh_cert_len;
__u64 cert_chain_address;
__u32 cert_chain_len;
};
that's it. that's the struct. she's cute, she's compact, she's giving "i hold command parameters and i know it" β¨
π Members π
cert_chain_addressβ this one's the PDH certificate chain itself. the address. where the chain lives. iconic πcert_chain_lenβ and this is the length of that PDH certificate chain. how long it is. the way that a chain needs a length, honestly π
real talk: those are the only two members the page spells out, so those are the only two i'm spelling out. the other two fields are in the struct up there and i'm not out here inventing lore π
π SEE ALSO π
go read the kernel file itself, it's right here: ./include/uapi/linux/psp-sev.h
and then the whole friend group:
struct sev_user_data_status(9)struct sev_user_data_pek_csr(9)struct sev_user_data_get_id(9)struct sev_user_data_get_id2(9)struct sev_user_data_snp_status(9)struct sev_user_data_snp_config(9)struct sev_issue_cmd(9)
they're all linked, they all matter, go read them, iykyk πβ¨
and that's the page!! mwah π before you go β this one lives in ./include/uapi/linux and it's dated October 2026, and the header on top is struct sev_u..._cert_export(9) (yes it's truncated with the dots in the original, that's not me being lazy, that's literally the title π). slay, go export some certs, bye bestie π§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms