## std::crypto::fri::helper
| Procedure | Description |
| ----------- | ------------- |
| generate_fri_parameters | Compute the number of FRI layers given log2 of the size of LDE domain. It also computes the
LDE domain generator and, from it, the trace generator and store these for later use.
Input: [...]
Output: [num_fri_layers, ...]
Cycles: 52
|
| load_fri_layer_commitments | Get FRI layer commitments and reseed with them in order to draw folding challenges i.e. alphas.
Input: [ptr_layer, num_layers, ...]
Output: [...]
Cycles: 21 + 83 * num_fri_layers
|
| load_and_verify_remainder | Load the remainder polynomial from the advice provider and check that its hash corresponds
to its commitment and reseed with the latter.
Load the remainder code word, i.e. the NTT of the remainder polynomial, and use its hash, together,
with the hash of the remainder polynomial in order to generate the Fiat-Shamir challenge `tau` for
the `verify_remainder_xx` procedure.
Input: [...]
Output: [...]
Cycles:
1- Remainder of size 32: 1633
2- Remainder of size 64: 3109
|