Home
last modified time | relevance | path

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

/external/scapy/scapy/layers/tls/crypto/
Dcipher_aead.py95 self.pc_cls_mode(self._get_nonce()),
117 def _get_nonce(self): member in _AEADCipher
142 self._cipher.mode._initialization_vector = self._get_nonce()
150 res = self._cipher.encrypt(self._get_nonce(), P, A,
153 res = self._cipher.encrypt(self._get_nonce(), P, A)
190 self._cipher.mode._initialization_vector = self._get_nonce()
202 P = self._cipher.decrypt(self._get_nonce(), C + mac, A,
205 P = self._cipher.decrypt(self._get_nonce(), C + mac, A)
296 def _get_nonce(self, seq_num): member in _AEADCipher_TLS13
314 self._cipher.mode._initialization_vector = self._get_nonce(seq_num)
[all …]