Closed J08nY closed 5 months ago
This does not seem to be the correct way to compute the correlation trace: https://github.com/J08nY/pyecsca/blob/adaa5cd6a98fc6610226b9f8048e1e41a4050138/pyecsca/sca/attack/CPA.py#L61-L73
Investigate and fix.
Ah, the traces are transposed beforehand:
https://github.com/J08nY/pyecsca/blob/abc889d4fd8f5c104f3367a788e3c766138b25fd/pyecsca/sca/attack/CPA.py#L40
So it all makes sense.
This does not seem to be the correct way to compute the correlation trace: https://github.com/J08nY/pyecsca/blob/adaa5cd6a98fc6610226b9f8048e1e41a4050138/pyecsca/sca/attack/CPA.py#L61-L73
Investigate and fix.