MCPcopy Create free account
hub / github.com/ElementsProject/elements / ECRYPT_ivsetup

Function ECRYPT_ivsetup

src/test/fuzz/crypto_diff_fuzz_chacha20.cpp:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void ECRYPT_ivsetup(ECRYPT_ctx* x, const u8* iv)
120{
121 x->input[12] = 0;
122 x->input[13] = 0;
123 x->input[14] = U8TO32_LITTLE(iv + 0);
124 x->input[15] = U8TO32_LITTLE(iv + 4);
125}
126
127void ECRYPT_encrypt_bytes(ECRYPT_ctx* x, const u8* m, u8* c, u32 bytes)
128{

Callers 1

FUZZ_TARGETFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected