| 97 | } |
| 98 | |
| 99 | void AEADChaCha20Poly1305::Keystream(Nonce96 nonce, std::span<std::byte> keystream) noexcept |
| 100 | { |
| 101 | // Skip the first output block, as it's used for generating the poly1305 key. |
| 102 | m_chacha20.Seek(nonce, 1); |
| 103 | m_chacha20.Keystream(keystream); |
| 104 | } |
| 105 | |
| 106 | void FSChaCha20Poly1305::NextPacket() noexcept |
| 107 | { |
no test coverage detected