Expand description
Module for maximum distance separable matrix operations.
Structsยง
- MDSMatrices
MDSMatricesholds the MDS matrix as well as transition matrix which is also calledpre_sparse_mdsand sparse matrices that enables us to reduce number of multiplications in apply MDS step- MDSMatrix
MDSMatrixis applied toStateto achive linear layer of Poseidon- SparseMDS
Matrix SparseMDSMatrixare in[row], [hat | identity]form and used in linear layer of partial rounds instead of the original MDS