Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
void AEADChaCha20Poly1305::SetKey(std::span<const std::byte> key) noexcept
22
{
23
assert(key.size() == KEYLEN);
24
m_chacha20.SetKey(key);
25
}
26
27
namespace {
28
Callers
1
NextPacket
Method · 0.45
Calls
1
size
Method · 0.45
Tested by
no test coverage detected