enarx-archive / sev

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

Add binary blob (de)serialization for attestation types #26

Closed connorkuehl closed 4 years ago

connorkuehl commented 4 years ago

The remote AMD SEV protocol attestation message types allow the payload types to be transmitted as a CBOR-encoded structure or a binary blob whose characteristics match that of a little-endian x86_64 machine.

This pull request enables support for the binary blob encoding for the remaining relevant types. A subsequent pull request will enable serde (in our case: CBOR)-encoding for these types to enable serde support.

Related: https://github.com/enarx/enarx/issues/906