nn::crypto::RsaContext::Decrypt Member Functionnn::Result Decrypt( size_t * pDecrptLength, void * pDest, size_t destSize, const void * pSrc, size_t srcLength = SIZE_STRING_LENGTH );
| Name | Description | |
|---|---|---|
out |
pDecrptLength |
The length of decrypted data. |
| out | pDest |
The address of the buffer storing decrypted data. |
| in | destSize |
The size of the buffer storing decrypted data. |
| in | pSrc |
The address of the buffer storing data to be decrypted. |
| in | srcLength |
The length of the data to be decrypted. (This parameter may be omitted and, if it is, the length is measured within the function.) |
Decrypts using RSA.
This writes the decrypted data followed by some junk data (not to exceed the buffer size). All data beyond pDecryptLength bytes is unnecessary and should be deleted by the application.
CONFIDENTIAL