Skip to content

Conversation

@cacama-valvata
Copy link
Contributor

  • added convergence steps,
  • implemented proper broadcasting where appropriate,
  • removed hardcoded values for e.g. initializing arrays,
  • removed hardcoded model and sbox definition,
  • now uses configurable models,
  • generalized variable names towards model positions,
  • in-lined various functions into LRA() classes,
  • removed self.samples_range option (prefer container.slab),
  • added option for bias bit to all algos,
  • added normalize option to lra.py,
  • added new classes to model_values to support these changes:
    • MultiModel to calculate against several models at once,
    • Sbox (e.g. instead of SboxWeight),
    • ModelBits to use unpacked model output,
    • Added __len__ method to ModelValue which abstracts multi_model
  • dos2unix lra.py to match rest of project

added convergence steps,
implemented proper broadcasting where appropriate,
removed hardcoded values for e.g. initializing arrays,
removed hardcoded model and sbox definition,
now uses configurable models,
generalized variable names towards model positions,
in-lined various functions into LRA() classes,
removed self.samples_range option (prefer container.slab),
added option for bias bit to all algos,
added normalize option to lra.py,

added new classes to model_values to support these changes:
  MultiModel to calculate against several models at once,
  Sbox (e.g. instead of SboxWeight),
  ModelBits to use unpacked model output,
  Added __len__ method to ModelValue which abstracts multi_model
@decryptofy decryptofy merged commit 5d3aa08 into decryptofy:main Nov 8, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants