Hi, I'm Manuel, and I'm doing an internship at an IT-security company right now. My job is to port SCA script from MATLAB to python and I decided to build on lascar. I already wrote and will continue to write code that extends lascar in the next weeks. If you want, most of the code could actually become a part of lascar.
This is the first time I'm contributing to an open source project, so I don't really know how the organization process, etc works.
I hope this is the right place to discuss ideas...? Or should I simply create pull requests?
Hello Manuel, great to hear ! We welcome all contributions, and we don't require a particular process for now... So you can go ahead :) If you need to discuss ideas you can do it here or in a private message
If you do multiple CPAs to guess an entire key, you can give this algorithm the estimated probabilities for each guess and each byte, together with the solution and you will get the rank of the real key in the space of all possible keys. Then I plot the logarithm of the rank (i.e bits of security) against the number of traces used in the analysis.
However I think the implementation is not 'beautiful' enough, and some parts of the code are not where they should be
That sounds nice, you can indeed make a PR with this and we can have a look to see if we can improve on anything