Skip to content

[Distinguishers] MemoryError not well catched

The Memory errors are nto catched in the same way in the different distinguishers.

  • CPA: error not catched, useless test (I guess)
  • DPA: first test useless, second seems good
  • Not catched for other distinguishers

I think that the correct test is this one: https://gitlab.com/eshard/scared/-/blob/master/scared/distinguishers/dpa.py#L32

Or do nothing, as the MemoryError is raised by numpy.