MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Keystream

Method Keystream

src/crypto/chacha20poly1305.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void 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
106void FSChaCha20Poly1305::NextPacket() noexcept
107{

Callers 2

ComputeTagFunction · 0.45
NextPacketMethod · 0.45

Calls 1

SeekMethod · 0.45

Tested by

no test coverage detected