codecryptanalysis / mccl

modular code cryptanalysis library
MIT License
8 stars 3 forks source link

MMT/BJMM #12

Closed FloydZ closed 5 months ago

FloydZ commented 7 months ago

This PR adds a very simple implementation of the MMT/BJMM algorithm. Additionally the following small changes were done:

Note the following optimization strategies are missing:

Also note that I need a custom "hashmap" implementation for the baselist L1, because I need a special hashing on the first l1 bits but still save the whole l bits. This hashmap should to be replaced with std::unordered_multimap or something else, but when I tried I got weird errors. So there is still something todo.