Home
last modified time | relevance | path

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

/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py222 def register_cipher_adapter(self, cipher_cls, mode_cls, adapter): argument
223 if (cipher_cls, mode_cls) in self._cipher_registry:
225 cipher_cls, mode_cls)
227 self._cipher_registry[cipher_cls, mode_cls] = adapter
230 for mode_cls in [CBC, CTR, ECB, OFB, CFB, CFB8, GCM]:
233 mode_cls,
236 for mode_cls in [CBC, CTR, ECB, OFB, CFB]:
239 mode_cls,
242 for mode_cls in [CBC, CFB, CFB8, OFB]:
245 mode_cls,
[all …]