(a: &[Self; N], b: &[Self; N], choice: Choice)
| 67 | { |
| 68 | #[inline] |
| 69 | fn ct_select_array(a: &[Self; N], b: &[Self; N], choice: Choice) -> [Self; N] { |
| 70 | let mut ret = a.clone(); |
| 71 | ret.ct_assign(b, choice); |
| 72 | ret |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | /// Marker trait which enables a blanket impl of [`CtSelect`] for types which also impl |