Home
last modified time | relevance | path

Searched refs:pkcs_os2ip (Results 1 – 8 of 8) sorted by relevance

/external/scapy/scapy/layers/tls/
Dkeyexchange.py21 from scapy.layers.tls.crypto.pkcs1 import pkcs_i2osp, pkcs_os2ip
257 if pkcs_os2ip(p.load[:2]) not in _tls_hash_sig:
263 if pkcs_os2ip(p.load[:2]) not in _tls_hash_sig:
320 p = pkcs_os2ip(self.dh_p)
321 g = pkcs_os2ip(self.dh_g)
341 p = pkcs_os2ip(self.dh_p)
342 g = pkcs_os2ip(self.dh_g)
345 y = pkcs_os2ip(self.dh_Ys)
752 y = pkcs_os2ip(self.dh_Yc)
Dcert.py50 from scapy.layers.tls.crypto.pkcs1 import (pkcs_os2ip, pkcs_i2osp, _get_hash,
283 m = pkcs_os2ip(m)
285 e = pkcs_os2ip(e)
Dkeyexchange_tls13.py19 from scapy.layers.tls.crypto.pkcs1 import pkcs_i2osp, pkcs_os2ip
/external/scapy/scapy/layers/tls/crypto/
Dpkcs1.py34 def pkcs_os2ip(s): function
171 s = pkcs_os2ip(S)
216 m = pkcs_os2ip(EM)
Dcipher_aead.py19 from scapy.layers.tls.crypto.pkcs1 import pkcs_i2osp, pkcs_os2ip
86 nonce_explicit = pkcs_os2ip(nonce_explicit)
112 val = pkcs_os2ip(val)
185 self.nonce_explicit = pkcs_os2ip(nonce_explicit_str)
/external/scapy/test/
Dcert.uts13 pkcs_os2ip(b'\x00\x00\xff\xff') == 0xffff and pkcs_os2ip(b'\xff\xff\xff\xff\xff') == 0xffffffffff
Dtls13.uts54 privnum = EllipticCurvePrivateNumbers(pkcs_os2ip(secp256r1_client_privkey), pubnum)
Dtls.uts573 nonce_explicit=pkcs_os2ip(t.n[4:]))
581 nonce_explicit=pkcs_os2ip(t.n[4:]))
639 nonce_explicit=pkcs_os2ip(t.n[4:]))