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

Method ct_assign

ctutils/src/traits/ct_assign.rs:57–59  ·  view source on GitHub ↗
(&mut self, src: &[T], choice: Choice)

Source from the content-addressed store, hash-verified

55
56impl<T: CtAssignSlice> CtAssign for [T] {
57 fn ct_assign(&mut self, src: &[T], choice: Choice) {
58 T::ct_assign_slice(self, src, choice);
59 }
60}
61
62/// Impl `CtAssign` using the `cmov::Cmov` trait

Callers 3

ct_assign_sliceMethod · 0.45
ct_select_arrayMethod · 0.45
ct_selectMethod · 0.45

Calls 1

ct_selectFunction · 0.50

Tested by

no test coverage detected