Skip to content

Make Algorithm implement the Eq, PartialEq and Hash#92

Merged
thomwiggers merged 1 commit intoopen-quantum-safe:mainfrom
mullvad:impl-eq-hash-for-algorithm
Oct 22, 2021
Merged

Make Algorithm implement the Eq, PartialEq and Hash#92
thomwiggers merged 1 commit intoopen-quantum-safe:mainfrom
mullvad:impl-eq-hash-for-algorithm

Conversation

@faern
Copy link
Copy Markdown
Contributor

@faern faern commented Oct 22, 2021

This would allow the algorithm enum to be used as keys in maps, and also be compared to each other in various ways. We need this for some code we are writing at the moment.

@thomwiggers
Copy link
Copy Markdown
Contributor

Sounds like a great idea.

@thomwiggers thomwiggers merged commit 95c0513 into open-quantum-safe:main Oct 22, 2021
@faern faern deleted the impl-eq-hash-for-algorithm branch October 26, 2021 20:58
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