Searched refs:bytes_hex (Results 1 - 8 of 8) sorted by relevance

/external/scapy/scapy/
H A Dcompat.py117 def bytes_hex(x): function
H A Dpton_ntop.py104 address = ":".join(bytes_hex(addr[idx:idx + 2]).decode().lstrip('0') or '0'
H A Dfields.py658 return bytes_hex(x).decode()
668 return bytes_hex(x[:self.length_from(pkt)]).decode()
678 return bytes_hex(x[:self.length_from(pkt)]).decode()
/external/scapy/scapy/layers/tls/crypto/
H A Dpkcs1.py41 return int(bytes_hex(s), 16)
/external/scapy/scapy/contrib/
H A Ddiameter.py32 from scapy.compat import chb, orb, raw, bytes_hex namespace
214 return bytes_hex(x)
259 return bytes_hex(x)
H A Dhttp2.py2089 H2_CLIENT_CONNECTION_PREFACE = bytes_hex('505249202a20485454502f322e300d0a0d0a534d0d0a0d0a')
/external/python/cpython3/Objects/
H A Dbytesobject.c2423 bytes_hex(PyBytesObject *self) function
2454 {"hex", (PyCFunction)bytes_hex, METH_NOARGS, hex__doc__},
/external/scapy/scapy/layers/tls/
H A Dhandshake.py262 p = p[:cipherstart] + bytes_hex(s) + p[cipherstart+2:]

Completed in 192 milliseconds