Skip to content

Commit

Permalink
common/golang: reorg sdk (#106)
Browse files Browse the repository at this point in the history
Signed-off-by: Xing, Haokun <haokun.xin@intel.com>
  • Loading branch information
HaokunX-intel authored Mar 1, 2024
1 parent 7359759 commit 2eb19c4
Show file tree
Hide file tree
Showing 23 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ venv/
dist/
*.egg-info/

!common/golang/go.mod
!common/golang/cctrusted_base/go.mod
1 change: 1 addition & 0 deletions common/golang/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Golang SDK
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (t CC_Type) String() string {
type CCTrustedAPI interface {
GetDefaultAlgorithm() TCG_ALG

GetCCReport(nonce, userData string) (Report, error)
GetCCReport(nonce, userData string, extraArgs any) (Report, error)
DumpCCReport(reportBytes []byte) error

GetMeasurementCount() (int, error)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2eb19c4

Please sign in to comment.