Skip to content
Snippets Groups Projects
  1. Oct 05, 2011
  2. Oct 04, 2011
  3. Oct 03, 2011
  4. Sep 30, 2011
  5. Sep 29, 2011
  6. Sep 28, 2011
  7. Sep 27, 2011
  8. Sep 23, 2011
  9. Sep 22, 2011
  10. Sep 21, 2011
  11. Sep 20, 2011
  12. Sep 19, 2011
  13. Sep 13, 2011
  14. Sep 12, 2011
  15. Sep 07, 2011
  16. Aug 19, 2011
  17. Aug 18, 2011
    • akwizgran's avatar
      Frame the encrypted data independently of inter-packet boundaries and · 2411e200
      akwizgran authored
      authenticate each frame before parsing its contents. Each connection
      starts with a tag, followed by any number of frames, each starting
      with the frame number (32 bits) and payload length (16 bits), and
      ending with a MAC (256 bits).
      
      Tags have the following format: 32 bits reserved, 16 bits for the
      transport ID, 32 bits for the connection number, 32 bits (set to zero
      in the tag) for the frame number, and 16 bits (set to zero in the tag)
      for the block number. The tag is encrypted with the tag key in
      ECB mode.
      
      Frame numbers for each connection must start from zero and must be
      contiguous and strictly increasing. Each frame is encrypted with the
      frame key in CTR mode, using the plaintext tag with the appropriate
      frame number to initialise the counter.
      
      The maximum frame size is 64 KiB, including header and footer. The
      maximum amount of data that can be sent over a connection is 2^32
      frames - roughly 2^48 bytes, or 8 terabytes, with the maximum frame
      size of 64 KiB. If that isn't sufficient we can add another 16 bits to
      the frame counter.
      2411e200
    • akwizgran's avatar
      Changed maximum packet and message sizes in preparation for new · 4dd303d9
      akwizgran authored
      transport format.
      4dd303d9
Loading