Skip to content

Commit

Permalink
v0.23.15: feat: add 48-byte default permutation config objects
Browse files Browse the repository at this point in the history
  • Loading branch information
rmlibre committed Aug 18, 2024
1 parent 1285288 commit 99750a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Minor Changes
^^^^^^^^^^^^^

- fix: capture ``KeyError`` & raise ``AttributeError`` instead [#8]
- feat: add 48-byte default permutation config objects
- build: use dynamic table to specify the package readme
- build: specify the coverage htmlcov directory
- build: remove 'command_line' so coverage can run specific files
Expand Down
2 changes: 1 addition & 1 deletion aiootp/_permutations/affine_permutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class AffinePermutation(FrozenInstance):
_configs = ConfigMap(
mapping={
config_id: AffinePermutationConfig(size=config_id)
for config_id in [*range(1, 33), 64, 128, 192, 256]
for config_id in [*range(1, 33), 48, 64, 128, 192, 256]
},
config_type=AffinePermutationConfig,
)
Expand Down
2 changes: 1 addition & 1 deletion aiootp/_permutations/affine_xor_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AffineXORChain(FrozenInstance):
permutation_type=AffinePermutation,
permutation_config_id=config_id,
)
for config_id in [*range(1, 33), 64, 128, 192, 256]
for config_id in [*range(1, 33), 48, 64, 128, 192, 256]
},
config_type=AffineXORChainConfig,
)
Expand Down
2 changes: 1 addition & 1 deletion aiootp/_permutations/fast_affine_xor_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class FastAffineXORChain(AffineXORChain):
permutation_config_id=config_id,
key_types=AffineXORChainConfig._FAST_CHAIN_KEY_TYPES,
)
for config_id in [*range(1, 33), 64, 128, 192, 256]
for config_id in [*range(1, 33), 48, 64, 128, 192, 256]
},
config_type=AffineXORChainConfig,
)
Expand Down

0 comments on commit 99750a4

Please sign in to comment.