Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: [P1619-2] Question: Should we only allow one data unit size within a key scope?



I still think changing the standard is not necessary, as argued before.

Does anyone know a real life application of random access data storage, where the block size varies? Its description would help us understanding the requirements. The controller still has to be able to read/write blocks, without knowing anything about the rest.

Variable block-lengths equally concern P1619 and P1619.2.

With the proposed new paragraph we have to define "metadata", and tell, what is not metadata. It would be better just to require that the encryption module must be able to "securely" determine the length of blocks, meaning that an adversary cannot set or change this information.

With the new text the source of associated data cannot be only the position of the data block within the key scope. It has to depend on the size of the current block, too, but leaving the details to the implementer is dangerous: his choice can be insecure (e.g. simply adding the block length to the block offset).

Laszlo

Inactive hide details for David McGrew <mcgrew@xxxxxxxxx>David McGrew <mcgrew@xxxxxxxxx>


          David McGrew <mcgrew@xxxxxxxxx>
          No Phone Info Available

          11/11/2009 10:20 AM
          Please respond to
          David McGrew <mcgrew@xxxxxxxxx>


To

P1619-2@xxxxxxxxxxxxxxxxx

cc


Subject

Re: [P1619-2] Question: Should we only allow one data unit size within a key scope?

Hi Matt,

On Oct 25, 2009, at 2:27 PM, Matt Ball wrote:


looks good to me. Here is a short possible addition:

An implementation should keep the size of the data units the same within a key scope. If an implementation allows variable-length data units within a key scope, then the implementation's design should be such that it is able to unambiguously determine the length of each data unit without using metadata that is potentially under the control of an adversary, and the associated data for two data units with distinct lengths must be distinct.

David

GIF image