load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "snp",
    srcs = [
        "issuer.go",
        "snp.go",
        "validator.go",
    ],
    importpath = "github.com/edgelesssys/constellation/v2/internal/attestation/gcp/snp",
    visibility = ["//:__subpackages__"],
    deps = [
        "//internal/attestation",
        "//internal/attestation/gcp",
        "//internal/attestation/snp",
        "//internal/attestation/variant",
        "//internal/attestation/vtpm",
        "//internal/config",
        "@com_github_google_go_sev_guest//abi",
        "@com_github_google_go_sev_guest//kds",
        "@com_github_google_go_sev_guest//proto/sevsnp",
        "@com_github_google_go_sev_guest//validate",
        "@com_github_google_go_sev_guest//verify",
        "@com_github_google_go_sev_guest//verify/trust",
        "@com_github_google_go_tpm_tools//client",
        "@com_github_google_go_tpm_tools//proto/attest",
    ],
)