Menu

#3948 Ascon tests fail for stm8 with --max-allocs-per-node 100

open
nobody
stm8 (3)
STM8
5
2026-03-22
2026-03-21
No

The regression tests support/regression/asconaead128.c.in and support/regression/asconhash256.c.in fail for make test-stm8 when using --max-allocs-per-node 100:

   Failure: asconaead128_op_decrypt_impl_ref
   Failure: asconaead128_op_encrypt_impl_ref
   Failure: asconhash256_impl_ref

Discussion

  • Philipp Klaus Krause

     
  • Philipp Klaus Krause

    For asconhash256_impl_ref, the bug can be reproduced on my Debian GNU/Linux testing on amd64 system using --max-allocs-per-node 904, but not --max-allocs-per-node 905.

    For asconaead128_op_encrypt_impl_ref it happens between 1754 and 1755, for asconaead128_op_decrypt_impl_ref somewhere between 1700 and 1740.

    For all this Ascon stuff, however I still see a huge diff in the generated asm, due to the excessive use of inlining.

     

    Last edit: Philipp Klaus Krause 2026-03-24

Log in to post a comment.

MongoDB Logo MongoDB