MCPcopy 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
62void ChaCha20::SetIV(uint64_t iv)
63{
64 input[14] = iv;
65 input[15] = iv >> 32;
66}
67
68void ChaCha20::Seek(uint64_t pos)
69{

Callers 1

TestChaCha20Function · 0.80

Calls

no outgoing calls

Tested by 1

TestChaCha20Function · 0.64