Documentation ¶
Index ¶
- type TrInxEnclave
- func (e *TrInxEnclave) CreateContinuingCounterCertificate(msg []byte, tc uint64, ctrId int) []byte
- func (e *TrInxEnclave) CreateIndependentCounterCertificate(msg []byte, tc uint64, ctrId int) []byte
- func (e *TrInxEnclave) CreateIndependentCounterCertificateVector(msg []byte, tc uint64, ctrId int) []byte
- func (e *TrInxEnclave) Destroy()
- func (e *TrInxEnclave) Init(key []byte, numCtrs int, vecLen int)
- func (e *TrInxEnclave) VerifyContinuingCounterCertificate(msg, mac []byte, oldCtr, newCtr uint64, ctrId int) bool
- func (e *TrInxEnclave) VerifyIndependentCounterCertificate(msg, mac []byte, tc uint64, ctrId int) bool
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) 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
Click to show internal directories.
Click to hide internal directories.