Add TDX bazel files

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-03-20 11:15:57 +01:00 committed by Malte Poll
parent bda999d54e
commit c478df36fa
10 changed files with 30 additions and 23 deletions

View file

@ -127,7 +127,7 @@ func main() {
// Use TDX if available
openDevice := vtpm.OpenVTPM
if attestVariant.OID().Equal(oid.QEMUTDX{}.OID()) {
if attestVariant.OID().Equal(variant.QEMUTDX{}.OID()) {
openDevice = func() (io.ReadWriteCloser, error) {
return tdx.Open()
}