Searched refs:mode_factory (Results 1 – 2 of 2) sorted by relevance
/external/python/cryptography/tests/hazmat/primitives/ |
D | utils.py | 45 param_loader, path, file_names, cipher_factory, mode_factory argument 51 encrypt_test(backend, cipher_factory, mode_factory, params) 56 def encrypt_test(backend, cipher_factory, mode_factory, params): argument 58 cipher_factory(**params), mode_factory(**params) 64 cipher_factory(**params), mode_factory(**params), backend=backend 77 param_loader, path, file_names, cipher_factory, mode_factory argument 83 aead_test(backend, cipher_factory, mode_factory, params) 88 def aead_test(backend, cipher_factory, mode_factory, params): argument 89 if mode_factory is GCM and len(params["iv"]) < 16: 94 mode_factory is GCM [all …]
|
/external/python/bumble/apps/ |
D | bench.py | 819 mode_factory, argument 828 self.mode_factory = mode_factory 875 mode = self.mode_factory(self.device) 940 def __init__(self, transport, classic, role_factory, mode_factory): argument 945 self.mode_factory = mode_factory 964 self.mode = self.mode_factory(self.device) 1171 mode_factory = create_mode_factory(ctx, 'gatt-client') 1180 mode_factory, 1193 mode_factory = create_mode_factory(ctx, 'gatt-server') 1196 Peripheral(transport, ctx.obj['classic'], role_factory, mode_factory).run()
|