aboutsummaryrefslogtreecommitdiff
path: root/internal/cryptocore/nonce.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-05-26 09:08:52 +0200
committerJakob Unterwurzacher2021-05-26 13:17:56 +0200
commitb4794bedecbddfd90c2a018825a798d2989a2838 (patch)
tree300b323cb4a0de7603f4e62722143ae66f47d38c /internal/cryptocore/nonce.go
parentbebd7ed81f9dd99113672ed9e22456d3fdbc24f6 (diff)
contentenc: fix CipherSizeToPlainSize non-monoticity
For an illegal cipherSize, pretend we have an additional 1-byte block. See code comment for details.
Diffstat (limited to 'internal/cryptocore/nonce.go')
0 files changed, 0 insertions, 0 deletions