Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ Seek
Method
Seek
src/crypto/chacha20.cpp:68–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
void ChaCha20::Seek(uint64_t pos)
69
{
70
input[12] = pos;
71
input[13] = pos >> 32;
72
}
73
74
void ChaCha20::Keystream(unsigned char* c, size_t bytes)
75
{
Callers
14
Cursor
Method · 0.45
LoadBlockIndexGuts
Method · 0.45
Upgrade
Method · 0.45
Crypt
Method · 0.45
GetLength
Method · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
TestChaCha20
Function · 0.45
TestChaCha20Poly1305AEAD
Function · 0.45
FUZZ_TARGET
Function · 0.45
FUZZ_TARGET
Function · 0.45
CopyHeightIndexToHashIndex
Function · 0.45
CopyHeightIndexToHashIndex
Function · 0.45
Calls
no outgoing calls
Tested by
5
BOOST_AUTO_TEST_CASE
Function · 0.36
TestChaCha20
Function · 0.36
TestChaCha20Poly1305AEAD
Function · 0.36
FUZZ_TARGET
Function · 0.36
FUZZ_TARGET
Function · 0.36