MCPcopy Index your code
hub / github.com/secdev/scapy / debug_repr

Method debug_repr

scapy/layers/tls/session.py:172–178  ·  view source on GitHub ↗
(self, name, secret)

Source from the content-addressed store, hash-verified

170 self.prf = PRF(ciphersuite.hash_alg.name, tls_version)
171
172 def debug_repr(self, name, secret):
173 if conf.debug_tls and secret:
174 log_runtime.debug("TLS: %s %s %s: %s",
175 self.connection_end,
176 self.row,
177 name,
178 repr_hex(secret))
179
180 def derive_keys(self,
181 client_random=b"",

Callers 2

derive_keysMethod · 0.95
sslv2_derive_keysMethod · 0.95

Calls 2

repr_hexFunction · 0.90
debugMethod · 0.80

Tested by

no test coverage detected