Skip to content
Snippets Groups Projects
Commit 9cdfccc3 authored by paulavidas's avatar paulavidas Committed by Copybara-Service
Browse files

Fix ciphertext segment size validation.

We changed the segment size validation in all Tink streaming keys such that the first block always needs to have room for at least 1 byte of ciphertext. Previously it was not consistent. The decision whether to allow empty ciphertexts in the first segment is somewhat arbitrary, but it should be consistent everywhere.

PiperOrigin-RevId: 262315914
parent c101e379
No related branches found
No related tags found
No related merge requests found
Showing
with 33 additions and 14 deletions
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