Skip to content

Commit

Permalink
api: align golang api with python (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruoyu-y authored Nov 6, 2024
1 parent 5b2707e commit 560dec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/golang/evidence_api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (t CC_Type) String() string {
type EvidenceAPI interface {
GetDefaultAlgorithm() (TCG_ALG, error)

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

GetMeasurementCount() (int, error)
Expand Down

0 comments on commit 560dec0

Please sign in to comment.