Module |
|
Header |
/Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
Include |
#include "PlatformCryptoTypes.h" |
EPlatformCryptoResult Finalize
(
const TArrayView< uint8 > OutPlaintext,
int32 & OutPlaintextBytesWritten
)
Finalizes decryption of data previously passed in Update. If data was not aligned to blocksize, this will write the final chunk of data including any padding.
Success if input was valid and the final block was decrypted successfully, or Failure otherwise
Parameter |
Description |
---|---|
OutPlaintext |
The final decrypted block. May not be written to if there was nothing left to write. Must be at least GetCipherBlockSize in size or the call will fail |
OutPlaintextBytesWritten |
The amount of data that was written. This can be from 0 to blocksize - 1 |