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