mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-20 13:04:36 -04:00
image: reimplement and adapt measurement generation in Go
This commit is contained in:
parent
8e706d6de3
commit
f6d9f91877
31 changed files with 1343 additions and 286 deletions
22
image/measured-boot/extract/BUILD.bazel
Normal file
22
image/measured-boot/extract/BUILD.bazel
Normal file
|
@ -0,0 +1,22 @@
|
|||
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
load("//bazel/go:go_test.bzl", "go_test")
|
||||
|
||||
go_library(
|
||||
name = "extract",
|
||||
srcs = ["extract.go"],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/image/measured-boot/extract",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = ["//image/measured-boot/pesection"],
|
||||
)
|
||||
|
||||
go_test(
|
||||
name = "extract_test",
|
||||
srcs = ["extract_test.go"],
|
||||
embed = [":extract"],
|
||||
deps = [
|
||||
"//image/measured-boot/fixtures",
|
||||
"//image/measured-boot/pesection",
|
||||
"@com_github_stretchr_testify//assert",
|
||||
"@org_uber_go_goleak//:goleak",
|
||||
],
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue