Home
last modified time | relevance | path

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

/external/scapy/scapy/layers/tls/crypto/
Dcipher_aead.py144 encryptor = self._cipher.encryptor()
145 encryptor.authenticate_additional_data(A)
146 res = encryptor.update(P) + encryptor.finalize()
147 res += encryptor.tag
315 encryptor = self._cipher.encryptor()
316 encryptor.authenticate_additional_data(A)
317 res = encryptor.update(P) + encryptor.finalize()
318 res += encryptor.tag
Dcipher_stream.py64 self.encryptor = self._cipher.encryptor()
77 self.encryptor = self._cipher.encryptor()
87 return self.encryptor.update(data)
98 c.encryptor.update(self._enc_updated_with)
Dcipher_block.py85 encryptor = self._cipher.encryptor()
86 tmp = encryptor.update(data) + encryptor.finalize()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.cpp167 CPDF_Encryptor encryptor(pCrypto, objnum, encoder.GetData(), in WriteStream() local
170 encryptor.GetSize()) { in WriteStream()
173 "Length", static_cast<int>(encryptor.GetSize())); in WriteStream()
182 if (encryptor.GetSize() > 0 && in WriteStream()
183 !m_Archive->WriteBlock(encryptor.GetData(), encryptor.GetSize())) { in WriteStream()
227 CPDF_Encryptor encryptor(GetCryptoHandler(), objnum, in WriteDirectObj() local
230 ByteString(encryptor.GetData(), encryptor.GetSize()), bHex); in WriteDirectObj()
238 CPDF_Encryptor encryptor(GetCryptoHandler(), objnum, encoder.GetData(), in WriteDirectObj() local
241 encryptor.GetSize()) { in WriteDirectObj()
244 "Length", static_cast<int>(encryptor.GetSize())); in WriteDirectObj()
[all …]
/external/scapy/scapy/contrib/
Dmacsec.py144 encryptor = Cipher(
148 ).encryptor()
149 encryptor.authenticate_additional_data(assoc)
150 ct = encryptor.update(pt) + encryptor.finalize()
151 hdr[MACsec].payload = Raw(assoc[hdrlen:assoclen] + ct + encryptor.tag)
/external/scapy/scapy/modules/krack/
Dcrypto.py21 encryptor = cipher.encryptor()
23 encryptor.update("\x00" * skip)
24 return encryptor.update(data)
/external/scapy/scapy/layers/
Dipsec.py344 encryptor = cipher.encryptor()
348 encryptor.authenticate_additional_data(aad)
349 data = encryptor.update(data) + encryptor.finalize()
350 data += encryptor.tag[:self.icv_size]
352 data = encryptor.update(data) + encryptor.finalize()
Ddot11.py327 ).encryptor()