in features/awses_message_encryption_utils.py [0:0]
def build_tests(keys):
"""Build all tests to define in manifest, building from current rules and provided keys manifest.
:param dict keys: Parsed keys manifest
"""
for algorithm in ALGORITHM_SUITES:
for frame_size in FRAME_SIZES:
for ec in ENCRYPTION_CONTEXTS:
for provider_set in _providers(keys):
yield (
str(uuid.uuid4()),
{
"plaintext": "small",
"algorithm": algorithm,
"frame-size": frame_size,
"encryption-context": ec,
"master-keys": provider_set,
},
)