Skip to content

Rescue#6

Draft
Al-Kindi-0 wants to merge 4 commits into
feature1from
feature3
Draft

Rescue#6
Al-Kindi-0 wants to merge 4 commits into
feature1from
feature3

Conversation

@Al-Kindi-0

Copy link
Copy Markdown
Owner

Rescue optimization

@Al-Kindi-0 Al-Kindi-0 requested a review from bobbinth June 30, 2022 16:25
@Al-Kindi-0 Al-Kindi-0 changed the title Feature3 Rescue Jun 30, 2022

@bobbinth bobbinth left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a couple of small comments inline.

];

assert_eq!(expected, state);
assert_eq!(expected[0], state[0]);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we assert equality only for the first elements of the state?

// MDS
// ================================================================================================
/// Rescue MDS matrix
/// Computed using algorithm 4 from <https://eprint.iacr.org/2020/1143.pdf>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would probably be good to add a very brief explanation (1 - 2 sentences) about this MDS matrix.

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