MCPcopy
hub / github.com/AsahiLinux/m1n1 / GetInfo

Method GetInfo

proxyclient/hv/trace_smc.py:51–55  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

49
50 @msg(SMC_GET_KEY_INFO, DIR.TX, SMCGetKeyInfo)
51 def GetInfo(self, msg):
52 key = msg.KEY.to_bytes(4, byteorder="big").decode("ascii")
53 self.state.rb[msg.ID] = msg.TYPE, key, None
54 self.log(f"[{msg.ID:x}] >KInfo: <{key}>")
55 return True
56
57 @msg(SMC_GET_KEY_BY_INDEX, DIR.TX, SMCGetKeyByIndex)
58 def GetKeyByIndex(self, msg):

Callers

nothing calls this directly

Calls 3

decodeMethod · 0.80
to_bytesMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected