constellation/internal/attestation/azure/BUILD.bazel
Daniel Weiße e350ca0f57
attestation: add Azure TDX attestation (#2827)
* Implement Azure TDX attestation primitives
* Add default measurements and claims for Azure TDX
* Enable Constellation on Azure TDX

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2024-01-24 15:10:15 +01:00

28 lines
795 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "azure",
srcs = ["azure.go"],
importpath = "github.com/edgelesssys/constellation/v2/internal/attestation/azure",
visibility = ["//:__subpackages__"],
deps = [
"@com_github_google_go_tpm//legacy/tpm2",
"@com_github_google_go_tpm_tools//client",
],
)
go_test(
name = "azure_test",
srcs = ["azure_test.go"],
embed = [":azure"],
deps = [
"//internal/attestation/simulator",
"//internal/attestation/snp",
"@com_github_google_go_tpm//legacy/tpm2",
"@com_github_google_go_tpm_tools//client",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)