Skip to content

Conversation

@codahale
Copy link
Contributor

@codahale codahale commented Sep 27, 2023

Add a CmovEq impl for slices.

@tarcieri
Copy link
Member

tarcieri commented Oct 3, 2023

I think you should be able to implement this generically as something like:

impl CmovEq for [T]
where
    T: CmovEq
{
   ...
}

@codahale codahale changed the title cmov: add ct_eq for slice comparison cmov: add CmovEq for slices Oct 3, 2023
@codahale
Copy link
Contributor Author

codahale commented Oct 3, 2023

That’s a better idea. Done.

@tarcieri tarcieri merged commit c19c5cc into RustCrypto:master Oct 3, 2023
@tarcieri tarcieri mentioned this pull request Oct 14, 2023
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