MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / decrypt_file_init

Function decrypt_file_init

tinyemu/fs_wget.c:344–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342};
343
344DecryptFileState *decrypt_file_init(AES_KEY *aes_state,
345 DecryptFileCB *write_cb,
346 void *opaque)
347{
348 DecryptFileState *s;
349 s = mallocz(sizeof(*s));
350 s->write_cb = write_cb;
351 s->opaque = opaque;
352 s->aes_state = aes_state;
353 return s;
354}
355
356int decrypt_file(DecryptFileState *s, const uint8_t *data,
357 size_t size)

Callers 2

fs_open_wgetFunction · 0.85
fs_wget_file2Function · 0.85

Calls 1

malloczFunction · 0.85

Tested by

no test coverage detected