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

Remove `poly_[inv]ntt -> [inv]ntt()` indirection and unnecessary reduction #162

Closed hanno-becker closed 6 days ago

hanno-becker commented 6 days ago

This PR removes the indirection poly_[inv]ntt() -> [inv]ntt() and instead defines [inv]NTT as operating on poly directly.

It also removes an unnecessary double Barrett reduction at the end of the AArch64 NTT.