Skip to content

Anemoi hash r1cs numstatecolumns#102

Merged
dtebbs merged 5 commits intoanemoi-hash-r1csfrom
anemoi-hash-r1cs-numstatecolumns
Jan 23, 2023
Merged

Anemoi hash r1cs numstatecolumns#102
dtebbs merged 5 commits intoanemoi-hash-r1csfrom
anemoi-hash-r1cs-numstatecolumns

Conversation

@vesselinux
Copy link
Collaborator

@vesselinux vesselinux commented Jan 12, 2023

Rebase anemoi-hash-r1cs-numstatecolumns onto base branch anemoi-hash-r1cs. See PR #79 [FROZEN] which was automatically closed after deleting branch anemoi-hash-r1cs-parametrization . This branch implements specialised implementations of multiplication by the MDS matrix for valid values of NumStateColumns_L. In contrast, the method used in the base branch is a single function for all matrix sizes (1,2,3,4) with static assert check on the dimensions (https://github.com/clearmatics/libsnark/blob/anemoi-hash-r1cs/libsnark/gadgetlib1/gadgets/hashes/anemoi/anemoi_components.tcc#L326). See the last bullet in #77 and #65 (comment) .

@vesselinux vesselinux force-pushed the anemoi-hash-r1cs-numstatecolumns branch from 52e2596 to d9f917c Compare January 12, 2023 12:20
@vesselinux vesselinux requested a review from dtebbs January 12, 2023 12:45
vesselinux pushed a commit that referenced this pull request Jan 16, 2023
…for different number of columns using class specialization (#102 (comment))
@vesselinux vesselinux requested a review from dtebbs January 16, 2023 11:58
vesselinux pushed a commit that referenced this pull request Jan 17, 2023
…ter from all anemoi_permutation_mds::permutation_mds functions (#102 (comment))
@dtebbs
Copy link
Contributor

dtebbs commented Jan 17, 2023

Addresses #105

Vesselin Velichkov added 4 commits January 17, 2023 20:45
@vesselinux vesselinux force-pushed the anemoi-hash-r1cs-numstatecolumns branch from 5eb8ac5 to 85bb953 Compare January 17, 2023 21:17
…_mds::permutation_mds after rebase onto anemoi-hash-r1cs
@vesselinux
Copy link
Collaborator Author

vesselinux commented Jan 17, 2023

@vesselinux vesselinux requested a review from dtebbs January 17, 2023 22:50
@dtebbs dtebbs merged commit eefd98d into anemoi-hash-r1cs Jan 23, 2023
@dtebbs dtebbs deleted the anemoi-hash-r1cs-numstatecolumns branch January 23, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants