Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ SetIV
Method
SetIV
src/crypto/chacha20.cpp:62–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
}
61
62
void ChaCha20::SetIV(uint64_t iv)
63
{
64
input[14] = iv;
65
input[15] = iv >> 32;
66
}
67
68
void ChaCha20::Seek(uint64_t pos)
69
{
Callers
7
Crypt
Method · 0.80
GetLength
Method · 0.80
TestChaCha20
Function · 0.80
TestChaCha20Poly1305AEAD
Function · 0.80
FUZZ_TARGET
Function · 0.80
FUZZ_TARGET
Function · 0.80
CHACHA20
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestChaCha20
Function · 0.64
TestChaCha20Poly1305AEAD
Function · 0.64
FUZZ_TARGET
Function · 0.64
FUZZ_TARGET
Function · 0.64