pq-code-package / mlkem-c-aarch64

ML-KEM implementation optimized for aarch64
https://pq-code-package.github.io/mlkem-c-aarch64/dev/bench
Apache License 2.0
9 stars 6 forks source link

Add asm for rejection sampling #182

Open hanno-becker opened 15 hours ago

hanno-becker commented 15 hours ago

Add AArch64 assembly implementation for rejection sampling by Duc Tri Nguyen (@cothan)

hanno-becker commented 7 hours ago

The code makes the assumption that the output buffer has length < KYBER_N. This is true for all call-sites, but still should be documented. For a larger buffer, the stack will overflow I think.