mupq / pqm4

Post-quantum crypto library for the ARM Cortex-M4
284 stars 72 forks source link

Add AIMer #323

Closed mkannwischer closed 8 months ago

mkannwischer commented 8 months ago

🪣 Resolves https://github.com/mupq/pqm4/issues/261

This adds the AIMer implementations from the NIST submission package.

There were a huge number of dynamic memory allocations that I eliminated and replaced by stack allocations. Unfortunatly that means that some parameter sets use a loooooot of stack - often more than the 8 MiB default stack on Linux. I excluded the parameter sets that exceed the 4 MiB available on the mps2-an386:

On nucleo-l4r5zi (640KB RAM), we can run