14 lines
298 B
C
14 lines
298 B
C
#ifndef DECRYPT_LAYER_H
|
|||
|
|
#define DECRYPT_LAYER_H
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Decrypt the embedded payload using XOR + AES-256-CBC.
|
||
|
|
* Caller must HeapFree() the returned buffer.
|
||
|
|
* Returns NULL on failure.
|
||
|
|
*/
|
||
|
|
uint8_t *decrypt_payload(uint32_t *out_len);
|
||
|
|
|
||
|
|
#endif /* DECRYPT_LAYER_H */
|