Unsafe method which converts from a Block128x8 to a mutable u8 array
(&mut self)
| 87 | impl AesRngState { |
| 88 | /// Unsafe method which converts from a Block128x8 to a mutable u8 array |
| 89 | fn as_mut_bytes(&mut self) -> &mut [u8] { |
| 90 | #[allow(unsafe_code)] |
| 91 | unsafe { |
| 92 | slice::from_raw_parts_mut(&mut self.blocks as *mut Block128x8 as *mut u8, STATE_SIZE) |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | /// Initialize state |
| 97 | fn init() -> Self { |
no outgoing calls
no test coverage detected