Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BTCGPU/BTCGPU
/ 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
1
TestChaCha20
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestChaCha20
Function · 0.64