Home
last modified time | relevance | path

Searched refs:nonce_explicit (Results 1 – 2 of 2) sorted by relevance

/external/scapy/scapy/layers/tls/crypto/
Dcipher_aead.py68 def __init__(self, key=None, fixed_iv=None, nonce_explicit=None): argument
81 if nonce_explicit is None:
83 nonce_explicit = 0
85 if isinstance(nonce_explicit, str):
86 nonce_explicit = pkcs_os2ip(nonce_explicit)
91 super(_AEADCipher, self).__setattr__("nonce_explicit", nonce_explicit)
119 pkcs_i2osp(self.nonce_explicit, self.nonce_explicit_len))
125 ne = self.nonce_explicit + 1
126 self.nonce_explicit = ne % 2**(self.nonce_explicit_len*8)
155 nonce_explicit = pkcs_i2osp(self.nonce_explicit,
[all …]
/external/scapy/test/
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:]))