MCPcopy Create free account
hub / github.com/RustCrypto/utils / ct_select

Method ct_select

ctutils/src/traits/ct_select.rs:59–61  ·  view source on GitHub ↗
(&self, other: &Self, choice: Choice)

Source from the content-addressed store, hash-verified

57{
58 #[inline]
59 fn ct_select(&self, other: &Self, choice: Choice) -> Self {
60 T::ct_select_array(self, other, choice)
61 }
62}
63
64impl<T, const N: usize> CtSelectArray<N> for T

Callers 1

ct_swapMethod · 0.45

Calls 2

cloneMethod · 0.45
ct_assignMethod · 0.45

Tested by

no test coverage detected