Sounds like the padding problem Paul fixed months ago: https://wiki.cryptech.is/changeset/b35b87ea14016760786319a23b87792f1e1041de/sw/stm32#file1 You might want to update the ARM firmware before testing FPGA upload.