oa::crypto::ntt
Module published by the oa::crypto module.
MdRust public API
Public Types
Public Functions
Function Documentation
Compute a natural-order forward cyclic NTT, preserving field representation. Records staged GPU work with two reusable private buffers. It performs no tensor host reads, waits or per-stage host initialization. Errors Rejects dtype, shape, ownership, address limits, allocation or recording failures.
Compute a natural-order inverse cyclic NTT, preserving field representation. Records staged GPU work with two reusable private buffers. It performs no tensor host reads, waits or per-stage host initialization. Errors Rejects dtype, shape, ownership, address limits, allocation or recording failures.
Multiply pointwise in the configured prime field, preserving representation. Errors Rejects dtype, shape, ownership, address limits, allocation or recording failures.
Prepare forward/inverse Montgomery twiddles on the supplied Engine. Errors Rejects allocation, queried workgroup limits, ABI or recording failures.