1 krisbash 1.1 #include "palcommon.h"
2
3
4 _Success_(return == 0)
5 int EncryptData(
6 _In_bytecount_(inbufferLength) const void *inbuffer,
7 PAL_Uint32 inbufferLength,
8 _Out_writes_bytes_to_opt_(outbufferLength, *outbufferLengthNeeded) void *outbuffer,
9 PAL_Uint32 outbufferLength,
10 _When_(return == -2, _Out_) _When_(return == 0, _Out_) PAL_Uint32 *outbufferLengthNeeded);
11
12 _Success_(return == 0)
13 int DecryptData(
14 _In_bytecount_(inbufferLength) const void *inbuffer,
15 PAL_Uint32 inbufferLength,
16 _Out_writes_bytes_to_opt_(outbufferLength, *outbufferLengthNeeded) void *outbuffer,
17 PAL_Uint32 outbufferLength,
18 _When_(return == -2, _Out_) _When_(return == 0, _Out_) PAL_Uint32 *outbufferLengthNeeded);
|