This PR improves the signature compression/decompression for the levels I and II short.
It customizes the array size of the tinybn library for the needs of the sizes of the permutations.
I successfully tested it with the ./testvectors.py script on the stm32f4discovery board.
I got errors running ./testvectors.py script with -pmps2-an386 (qemu emulator) but I got the same error trying to run testvectors for dilithium2.
I then think that the problem is somewhere outside of my PR. Please give a look into this.
Would be nice if you can merge this before running all the benchmarks... Thanks
This PR improves the signature compression/decompression for the levels I and II short. It customizes the array size of the tinybn library for the needs of the sizes of the permutations.
I successfully tested it with the
./testvectors.py
script on thestm32f4discovery
board. I got errors running./testvectors.py
script with-pmps2-an386
(qemu emulator) but I got the same error trying to run testvectors fordilithium2
. I then think that the problem is somewhere outside of my PR. Please give a look into this.Would be nice if you can merge this before running all the benchmarks... Thanks