EncryptedStream.h
Go to the documentation of this file.
EncryptedStream()=default
uint8_t header[crypto_secretstream_xchacha20poly1305_HEADERBYTES]
Definition: EncryptedStream.h:44
Definition: BasicStream.h:23
A write-only stream to parse and apply firmware unencrypted upgrade files generated by otatool...
Definition: BasicStream.h:44
uint16_t chunkSizeMinusOne
Definition: EncryptedStream.h:45
size_t write(const uint8_t *data, size_t size) override
Process an arbitrarily sized chunk of an encrypted OTA upgrade file.