Module |
|
Header |
/Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
Include |
#include "PlatformCryptoTypes.h" |
EPlatformCryptoResult Update
(
const TArrayView< const uint8 > Ciphertext,
const TArrayView< uint8 > OutPlaintext,
int32 & OutPlaintextBytesWritten
)
Decrypt one or more blocks of data. OutPlaintext must be at least size of the result of GetUpdateBufferSizeBytes, or it will fail. If Ciphertext is less than the size of a block, OutPlaintext may or may not be modified until more data is provided in a future call to Update.
Success if all input was valid and was decrypted successfully, or Failure otherwise
Parameter |
Description |
---|---|
Ciphertext |
The Data to be decrypted and placed into OutPlaintext |
OutPlaintext |
The decrypted output of Ciphertext. May not be written to if Ciphertext is less than block size. Must be at least GetUpdateBufferSizeBytes in size or the call will fail |
OutPlaintextBytesWritten |
The amount of data that was written. This can be from 0 to (size of Ciphertext + blocksize - 1). |