Skip to content
Snippets Groups Projects
Commit 7f4cae18 authored by tholenst's avatar tholenst Committed by Copybara-Service
Browse files

Remove the function getEncryptedSegments() from the StreamSegmentEncrypter,...

Remove the function getEncryptedSegments() from the StreamSegmentEncrypter, and add overflow protection in AesGcmHkdfStreaming. Also, use a new specialized function putAsUnsignedInt to make sure that negative numbers are treated correctly -- the implementation is trivial, but the fact that it works requires some deep knowledge, so I'd rather just add a test.

PiperOrigin-RevId: 263127232
parent 630487ad
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment