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

Method SetKey

src/crypto/chacha20poly1305.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void AEADChaCha20Poly1305::SetKey(std::span<const std::byte> key) noexcept
22{
23 assert(key.size() == KEYLEN);
24 m_chacha20.SetKey(key);
25}
26
27namespace {
28

Callers 1

NextPacketMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected