| 49 | } |
| 50 | |
| 51 | void ChaCha20Aligned::Seek(Nonce96 nonce, uint32_t block_counter) noexcept |
| 52 | { |
| 53 | input[8] = block_counter; |
| 54 | input[9] = nonce.first; |
| 55 | input[10] = nonce.second; |
| 56 | input[11] = nonce.second >> 32; |
| 57 | } |
| 58 | |
| 59 | inline void ChaCha20Aligned::Keystream(std::span<std::byte> output) noexcept |
| 60 | { |
no outgoing calls