MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / reply_rtmrs

Function reply_rtmrs

sdk/js/src/index.ts:160–169  ·  view source on GitHub ↗
(event_log: EventLog[])

Source from the content-addressed store, hash-verified

158}
159
160function reply_rtmrs(event_log: EventLog[]): Record<number, string> {
161 const rtmrs: Array<string> = []
162 for (let idx = 0; idx < 4; idx++) {
163 const history = event_log
164 .filter(event => event.imr === idx)
165 .map(event => event.digest)
166 rtmrs[idx] = replay_rtmr(history)
167 }
168 return rtmrs
169}
170
171export interface TlsKeyOptions {
172 path?: string;

Callers 2

getQuoteMethod · 0.85
tdxQuoteMethod · 0.85

Calls 1

replay_rtmrFunction · 0.70

Tested by

no test coverage detected