|
Embedded SDK
Embedded SDK
|
ML-KEM polynomial matrix operations (FIPS 203). More...

Go to the source code of this file.
Functions | |
| void | MLKEM_POLYMAT_gen_matrix (polymat *a, const uint8_t *seed, int32_t transposed, uint8_t k) |
| Generates a matrix of polynomials from a seed using rejection sampling. | |
| void | MLKEM_POLYMAT_gen_matrix_row (polyvec *row, const uint8_t *seed, int32_t transposed, uint8_t i, uint8_t k) |
ML-KEM polynomial matrix operations (FIPS 203).
Implements matrix generation from a seed using rejection sampling.
Definition in file cx_mlkem_polymat.c.
| void MLKEM_POLYMAT_gen_matrix | ( | polymat * | a, |
| const uint8_t * | seed, | ||
| int32_t | transposed, | ||
| uint8_t | k | ||
| ) |
Generates a matrix of polynomials from a seed using rejection sampling.
| [out] | a | Output polynomial matrix. |
| [in] | seed | Seed of MLKEM_SYMBYTES bytes. |
| [in] | transposed | If non-zero, generate the transposed matrix. |
| [in] | k | Dimension of the matrix (k x k). |
Definition at line 27 of file cx_mlkem_polymat.c.
| void MLKEM_POLYMAT_gen_matrix_row | ( | polyvec * | row, |
| const uint8_t * | seed, | ||
| int32_t | transposed, | ||
| uint8_t | i, | ||
| uint8_t | k | ||
| ) |
Definition at line 41 of file cx_mlkem_polymat.c.