trinx

package
v0.0.0-...-3a733ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrInxEnclave

type TrInxEnclave struct {
	// contains filtered or unexported fields
}

func NewTrInxEnclave

func NewTrInxEnclave(filepath string) *TrInxEnclave

func (*TrInxEnclave) CreateContinuingCounterCertificate

func (e *TrInxEnclave) CreateContinuingCounterCertificate(msg []byte, tc uint64, ctrId int) []byte

func (*TrInxEnclave) CreateIndependentCounterCertificate

func (e *TrInxEnclave) CreateIndependentCounterCertificate(msg []byte, tc uint64, ctrId int) []byte

func (*TrInxEnclave) CreateIndependentCounterCertificateVector

func (e *TrInxEnclave) CreateIndependentCounterCertificateVector(msg []byte, tc uint64, ctrId int) []byte

func (*TrInxEnclave) Destroy

func (e *TrInxEnclave) Destroy()

func (*TrInxEnclave) Init

func (e *TrInxEnclave) Init(key []byte, numCtrs int, vecLen int)

func (*TrInxEnclave) VerifyContinuingCounterCertificate

func (e *TrInxEnclave) VerifyContinuingCounterCertificate(msg, mac []byte, oldCtr, newCtr uint64, ctrId int) bool

func (*TrInxEnclave) VerifyIndependentCounterCertificate

func (e *TrInxEnclave) VerifyIndependentCounterCertificate(msg, mac []byte, tc uint64, ctrId int) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL