mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add a size parameter
PiperOrigin-RevId: 403214414
This commit is contained in:
@@ -180,8 +180,12 @@ var (
|
||||
// to get quote.
|
||||
const SizeOfQuoteInputData = 64
|
||||
|
||||
// SignReport is a struct that gets signed quote from input data.
|
||||
// SignReport is a struct that gets signed quote from input data. The
|
||||
// serialized quote is copied to buf.
|
||||
// size is an input that specifies the size of buf. When returned, it's updated
|
||||
// to the size of quote.
|
||||
type SignReport struct {
|
||||
data [64]byte
|
||||
quote []byte
|
||||
data [64]byte
|
||||
size uint32
|
||||
buf []byte
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user