MCPcopy 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
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 7

CryptMethod · 0.80
GetLengthMethod · 0.80
TestChaCha20Function · 0.80
TestChaCha20Poly1305AEADFunction · 0.80
FUZZ_TARGETFunction · 0.80
FUZZ_TARGETFunction · 0.80
CHACHA20Function · 0.80

Calls

no outgoing calls

Tested by 4

TestChaCha20Function · 0.64
TestChaCha20Poly1305AEADFunction · 0.64
FUZZ_TARGETFunction · 0.64
FUZZ_TARGETFunction · 0.64