Expand description
Module for maximum distance separable matrix operations.
Structsยง
MDSMatrices
holds the MDS matrix as well as transition matrix which is also calledpre_sparse_mds
and sparse matrices that enables us to reduce number of multiplications in apply MDS stepMDSMatrix
is applied toState
to achive linear layer of PoseidonSparseMDSMatrix
are in[row], [hat | identity]
form and used in linear layer of partial rounds instead of the original MDS