Searched refs:cipher_cls (Results 1 – 2 of 2) sorted by relevance
98 self._cipher = self.cipher_cls(key)235 cipher_cls = AESCCM variable in Cipher_AES_128_CCM282 self._cipher = self.cipher_cls(key)373 cipher_cls = ChaCha20Poly1305 variable in Cipher_CHACHA20_POLY1305_TLS13405 cipher_cls = AESCCM variable in Cipher_AES_128_CCM_TLS13
222 def register_cipher_adapter(self, cipher_cls, mode_cls, adapter): argument223 if (cipher_cls, mode_cls) in self._cipher_registry:225 cipher_cls, mode_cls)227 self._cipher_registry[cipher_cls, mode_cls] = adapter265 for cipher_cls, mode_cls in itertools.product(270 cipher_cls,