Skip to content
Snippets Groups Projects
  • paulavidas's avatar
    Fix ciphertext segment size validation. · 9cdfccc3
    paulavidas authored
    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
    9cdfccc3