enarx-archive / sev

Library for AMD SEV
Apache License 2.0
20 stars 15 forks source link

Bring necessary support for sevctl session #101

Closed tylerfanelli closed 2 years ago

tylerfanelli commented 2 years ago

sevctl session can expect either a certificate chain or pre-made PDH certificate to create launch buffers from.

Also, Policy::From<u32> was initially incorrect, the matching for a u32 was done in reverse for the two fields.