Searched refs:bytes_hex (Results 1 – 11 of 11) sorted by relevance
/external/scapy/scapy/ |
D | pton_ntop.py | 104 address = ":".join(bytes_hex(addr[idx:idx + 2]).decode().lstrip('0') or '0'
|
D | compat.py | 117 def bytes_hex(x): function
|
D | fields.py | 658 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/ |
D | pkcs1.py | 41 return int(bytes_hex(s), 16)
|
/external/scapy/scapy/contrib/ |
D | diameter.py | 32 from scapy.compat import chb, orb, raw, bytes_hex 214 return bytes_hex(x) 259 return bytes_hex(x)
|
D | http2.py | 2089 H2_CLIENT_CONNECTION_PREFACE = bytes_hex('505249202a20485454502f322e300d0a0d0a534d0d0a0d0a')
|
D | http2.uts | 1063 assert(expect_exception(AssertionError, 'h2.H2Frame(bytes_hex("0000240400000000000001075bcd15000200…
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 2431 bytes_hex(PyBytesObject *self) in bytes_hex() function 2462 {"hex", (PyCFunction)bytes_hex, METH_NOARGS, hex__doc__},
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 2438 bytes_hex(PyBytesObject *self) in bytes_hex() function 2469 {"hex", (PyCFunction)bytes_hex, METH_NOARGS, hex__doc__},
|
/external/scapy/scapy/layers/tls/ |
D | handshake.py | 262 p = p[:cipherstart] + bytes_hex(s) + p[cipherstart+2:]
|
/external/scapy/test/ |
D | regression.uts | 59 bytes_hex(get_if_raw_addr(conf.iface)) 6739 assert(bytes_hex(p[NTPAuthenticator].dgst) == b'ad79f3a1e5fcd032d26a1e27c3c1b60e') 6886 assert(bytes_hex(p.authenticator.dgst) == b'3dc23bc7edb9555339d68908c8afa612') 6901 assert(bytes_hex(p.authenticator.dgst) == b'97280249dba07338ed722860db4a580a') 6916 assert(bytes_hex(p.authenticator.dgst) == b'aff10cb4c9946dfc4d90094aa170944a') 6934 assert(bytes_hex(p.authenticator.dgst) == b'807a80fbafc470679853a8e57865811c') 6950 assert(bytes_hex(p.authenticator.dgst) == b'eaa7aca81b6a9cdb58e1530d36fbefa4') 6966 assert(bytes_hex(p.authenticator.dgst) == b'bfa6d85ff96d1e326c293caceec2a539') 6982 assert(bytes_hex(p.authenticator.dgst) == b'c9fb8abe3c605ffa36d218c3b7648923') 6998 assert(bytes_hex(p.authenticator.dgst) == b'32c2ba59c533fe28f550e5a0860295d9') [all …]
|