Open danielweck opened 7 years ago
See Decrypt()
where bool
full
is false
(partial byte range request):
https://github.com/readium/readium-lcp-client/blob/feature/lsd/src/lcp-client-lib/AesGcmSymmetricAlgorithm.cpp#L125
More specifically, see CryptoPP IsRandomAccess
.
https://github.com/weidai11/cryptopp/issues
Pipelining: https://www.cryptopp.com/wiki/Pipelining
GCM is similar to CTR mode, which means that the IV can be computed at any random offset by incrementing the counter. https://www.cryptopp.com/wiki/CTR_Mode#Seeking
Original Pull Request: https://github.com/readium/readium-lcp-client/pull/21#issuecomment-270337169