-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_DTLSDecrypt
chrisd1100 edited this page Mar 26, 2023
·
1 revision
Decrypt data with the current DTLS context.
bool MTY_DTLSDecrypt(
MTY_DTLS * ctx,
const void * in,
size_t inSize,
void * out,
size_t outSize,
size_t * read
);
ctx
(MTY_DTLS *
)
An MTY_DTLS
context.
in
(const void *
)
Input DTLS message.
inSize
(size_t
)
Size in bytes of in
.
out
(void *
)
Output decrypted plain text.
outSize
(size_t
)
Size in bytes of out
.
read
(size_t *
)
Set to the number of bytes written to out
.
bool
Returns true
on success, false
on failure. Call MTY_GetLog
for details.