Function
iter
(a: &mut [T; 25], b: &mut [T; 5], x: u64)
Source from the content-addressed store, hash-verified
| 57 | |
| 58 | #[inline(always)] |
| 59 | fn iter<T>(a: &mut [T; 25], b: &mut [T; 5], x: u64) |
| 60 | where |
| 61 | T: BitXorAssign |
| 62 | + BitXor<Output = T> |
| 63 | + Shl<u32, Output = T> |
| 64 | + Shr<u32, Output = T> |
| 65 | + BitOr<Output = T> |
| 66 | + Not<Output = T> |
| 67 | + BitAnd<Output = T> |
| 68 | + BitXorAssign<u64> |
| 69 | + Default |
| 70 | + Copy, |
| 71 | { |
| 72 | theta(a, b); |
| 73 | rho_pi(a, b); |
| 74 | chi(a); |
| 75 | iota(a, x); |
| 76 | } |
| 77 | |
| 78 | #[inline(always)] |
| 79 | fn theta_<T>(a: &mut [T; 25], b: &[T; 5], m: usize, n: usize, o: usize) |