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