Skip to content

Commit

Permalink
Fix size limit to match 5116
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Oct 30, 2016
1 parent 6d21b4c commit 00091e7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions draft-ietf-httpbis-encryption-encoding.md
Expand Up @@ -221,7 +221,7 @@ rs:

: The "rs" or record size parameter contains an unsigned 32-bit integer in
network byte order that describes the record size in octets. Note that it is
therefore impossible to exceed the 2^36-1 limit on plaintext input to
therefore impossible to exceed the 2^36-31 limit on plaintext input to
AEAD_AES_128_GCM. Values smaller than 3 are invalid.

keyid:
Expand Down Expand Up @@ -446,9 +446,10 @@ of 16 octets {{AEBounds}}.

If rs is a multiple of 16 octets, this means 398 terabytes can be encrypted
safely, including padding. However, if the record size is not a multiple of 16
octets, the total amount of data that can be safely encrypted is reduced. The
worst case is a record size of 3 octets, for which at most 74 terabytes of
plaintext can be encrypted, of which at least two-thirds is padding.
octets, the total amount of data that can be safely encrypted is reduced
proportionally. The worst case is a record size of 3 octets, for which at most
74 terabytes of plaintext can be encrypted, of which at least two-thirds is
padding.


## Content Integrity
Expand Down

0 comments on commit 00091e7

Please sign in to comment.